Re: [xml] xmllint Questions



On Thu, Jan 08, 2004 at 02:48:36PM -0500, Merchant, Daniel wrote:
      D:\merchant1\My Documents\My Test Graphics\Test 1>xmllint --valid --noout --dropdtd --loaddtd 
file:///c:/xml/docbook/docbookx.dtd  test.xml
      file:///c:/xml/docbook/docbookx.dtd:62: parser error : StartTag: invalid element name
      <!ENTITY % sgml.features "IGNORE">
       ^
[...]
Again I am surprised that there are parse errors with the  ArborText docbook.  And again, should I have 
been surprised?

   You misused xmllint. --loaddtd doesn't take an argument.
And docbookx.dtd doesn not parse as an XML resource. 
I don't know what you're trying to do but running xmllint --help
and carefully reading the output might help.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
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]