Re: [xml] xmllint with external DTD
- From: Daniel Veillard <veillard redhat com>
- To: "Henke, Markus" <Markus_Henke ordat com>
- Cc: "'xml gnome org'" <xml gnome org>
- Subject: Re: [xml] xmllint with external DTD
- Date: Mon, 20 Aug 2001 08:19:32 -0400
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]