[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK: Re: [XML-SIG] Replacing a Java tool-chain with 4Suite?
Hello all, I was asked to post a message to the docbook list regarding an error that arises when running Python's xmlproc_val script across a simple file which includes the DocBook 4.2 XML DTD like so: 8<____ test.xml ___ <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ ]> <book> </book> xmlproc_val gives 26 errors, 19 are of this type (all errors show in dbcentx.mod): E:http://www.oasis-open.org/docbook/xml/4.2/dbcentx.mod:308:10: Internal error: External PE references not allowed in declarations there are then 13 errors regarding multiple definitions of attributes similar to this: W:http://www.oasis-open.org/docbook/xml/4.2/dbpoolx.mod:2:2: Attribute 'id' defined more than once W:http://www.oasis-open.org/docbook/xml/4.2/dbpoolx.mod:3:2: Attribute 'lang' defined more than once W:http://www.oasis-open.org/docbook/xml/4.2/dbpoolx.mod:4:2: Attribute 'remap' defined more than once and then another set of errors with a warning interspersed: E:http://www.oasis-open.org/docbook/xml/4.2/dbpoolx.mod:3:10: 'linespecific' is not an allowed value for the 'format' attribute W:http://www.oasis-open.org/docbook/xml/4.2/dbpoolx.mod:2905:3: Attribute 'float' defined more than once I was asked to post to the group so that you could debate which of xmlproc or DocBook needs to be fixed. It's not necessary to keep me abreast of the discussion, as I don't actually need validation for my application. Enjoy, Mike Fletcher Uche Ogbuji wrote: >>On Wed, Jan 15, 2003 at 08:15:22AM -0700, Uche Ogbuji wrote: >> >> >>>Docbook DTD as it is with xmlproc. Since Norm mostly tests with Java parsers, >>>he wouldn't know of a problem if they didn't report them. >>> >>> >> lot of people also use xsltproc for DocBook processing, and the >>libxml2 DTD parsing code check well formedness exactly per the spec >> xmllint --valid --noout doc/test.xml >> >> should detect if there is an error and where >> >> > >Sure. But my point is that he is getting an error message from *xmlproc*, >which claims to support *validity* per the spec (not just well-formedness, >which is not the issue here). My suggestion was that Mike post the xmlproc >error to the Docbook mailing list where it can be discussed whether it's a bug >in xmlproc or in Docbook/XML. It would be nice if he did this independently >of what tools he eventually chose for his processing. > > > > -- _______________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://members.rogers.com/mcfletch/
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC