[xml] xmllint with external DTD



Hello,

i'm trying to test the validity of a XML document with the xmllint tool:

xmllint -validate ..\tstorxml\data\Test.xml

The following errormessage is generated:

============================================================================
=====
..\tstorxml\data\Test.xml:3: error: failed to load external entity
"Test.dtd"
<!DOCTYPE ORPC SYSTEM "Test.dtd">
                                ^
..\tstorxml\data\Test.xml:4: validity error: Validation failed: no DTD found
!
<ORPC>
     ^

<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!-- Comment -->
<!DOCTYPE ORPC SYSTEM "Test.dtd">
<ORPC>
  Some content before child element
  <ORPC_Call id="c1">
    <ORPC_Request>
      <RPCPriceReq someAttributes="will_placed_here"/>
    </ORPC_Request>
  </ORPC_Call>
  Some content beyond child element
  <foo bar="EMPTY_ELEMENT"/>
</ORPC>
============================================================================
=====

The DTD (Test.dtd) is present in the same directory as the parsed document
(Test.xml).
The document is valid against it's DTD (i've tested that with another tool),
so i don't provide the content of that DTD. Hope that's OK!?

So, what's wrong here? It's some kind of distressing, but i can't see the
problem.
Maybe someone can open my eyes?!

Many thanx in advance!



Mit freundlichen Gruessen - Kind regards
Markus Henke



________________________Addressed by:________________________
 ORDAT GmbH & Co. KG  -  Serversysteme/Neue Technologien 
 Dipl.-Inf. (FH) Markus Henke   Fon: +49 (641) 7941-0
 Rathenaustr. 1                 Fax: +49 (641) 7941-132
 35394 Gießen                   mailto:markus henke ordat com
 See:                           http://www.ordat.com
_____________________________________________________________

 <<Markus Henke.vcf>> 

Attachment: Markus Henke.vcf
Description: Binary data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]