RE: [xml] xmllint with external DTD

-----Original Message-----
From: Daniel Veillard [mailto:veillard redhat com]
Sent: Monday, August 20, 2001 2:20 PM
To: Henke, Markus
Cc: 'xml gnome org'
Subject: Re: [xml] xmllint with external DTD

On Mon, Aug 20, 2001 at 02:07:15PM +0200, Henke, Markus wrote:

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
So, what's wrong here? It's some kind of distressing, but i 
can't see the
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.

Yep. That's it. Many thanks!
Exact that kind of obvious things that i usually ignore...  8)

  Also it's --valid not --validate ... strange

Uups. Just a typo!


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml Gnome XML XSLT toolkit | Rpmfind RPM search engine

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