Re: [xml] xmllint with external DTD



On Mon, Aug 20, 2001 at 02:07:15PM +0200, Henke, Markus wrote:
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">
[...]
So, what's wrong here? It's some kind of distressing, but i can't see the
problem.
Maybe someone can open my eyes?!

  xmllint -valid ../tstorxml/data/Test.xml

  I bet the problem comes from computing the URI-Reference to Test.dtd
due to the use of a Windows style path.
  Also it's --valid not --validate ... strange

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/




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