Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Michael Kay <mike@sa...> - 2004-12-30 20:32:52
|
I've logged this as a bug and supplied a source code fix at http://sourceforge.net/tracker/index.php?func=detail <http://sourceforge.net/tracker/index.php?func=detail&aid=1093452&group_id=2 9872&atid=397617> &aid=1093452&group_id=29872&atid=397617 Thanks for reporting it. Michael Kay http://www.saxonica.com/ _____ From: saxon-help-admin@... [mailto:saxon-help-admin@...] On Behalf Of Rick_MacLean@... Sent: 27 December 2004 20:55 To: saxon-help@... Subject: [saxon] validating against DTD with -v option Hi, I am not sure if I have to first subscribe to this list before getting replies or if someone can just reply to me at rick_maclean@... Thanks. I am running the following command (on windows XP) to validate an xml file against the DocBook DTD. (I am using SaxonB8-1-1.) java net.sf.saxon.Transform -w2 -v .\XML_Files\BOOK_NOSNumber1March1997.xml DoNothingXslt.xsl I get the following warning errors: Warning: on line 2 column 16 of file:/C:/SIL/digpub/ll/src/LLL2DocBook/DoNothingXslt.xsl: Error reported by XML parser: Document is invalid: no grammar found. Warning: on line 2 column 16 of file:/C:/SIL/digpub/ll/src/LLL2DocBook/DoNothingXslt.xsl: Error reported by XML parser: Document root element "xsl:stylesheet", must match DOCTYPE root "null". The first two lines of DoNothingXslt.xsl are as follows: <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> Is there something wrong with how I am going about using this command when having it validate an xml file against a DTD? |