[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: xi:include makes XML doc invalid; xmllint says so; seems wrong
It may be a good idea for me to learn about DTD customizations, but for now, that's just terrifying. As it turns out, my problem was that I was attempting to use --valid and --postvalid with xmllint at the same time. When I did that, the xi:include documents were not included prior to validation. But then when I changed the command-line options to xmllint to use --postvalid and not --valid (thanks Bob!!), it worked as expected. So, a case can be made that --valid and --postvalid are mutually exclusive options to xmllint. Maybe the manpage for xmllint has been updated to indicate this. I should have figured this out. Maybe a case can be made that --valid and --postvalid are not mutually exclusive. Maybe xmllint should fail with some explanation when both --valid and --postvalid are used at the same time. Maybe xmllint should default to using just --postvalid when both --postvalid and --valid are used. I'll just go with the flow for now. Steve Whitlatch -----Original Message----- From: Steinar Bang [mailto:sb@dod.no] Sent: Saturday, February 21, 2004 6:19 AM To: docbook-apps@lists.oasis-open.org Subject: Re: xi:include makes XML doc invalid; xmllint says so; seems wrong >>>>> Steve Whitlatch <swhitlat@getnet.net>: > Perhaps I have missed something obvious. Any suggestions? Doesn't look like your documents has DTD customizations for XIncludes. See Bob's book for how to do this: http://www.sagehill.net/docbookxsl/ValidXinclude.html#XincludeDTD
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]