Re: [docbook-apps] Should xmllint successfully validate docbook 5 containing XIncludes?

2013-10-31 Thread Bob Stayton
: [docbook-apps] Should xmllint successfully validate docbook 5 containing XIncludes? Have you tried using the namespace declaration in your document? Something like this: ?xml version=1.0 encoding=utf-8? articlexmlns='http://docbook.org/ns/docbook' xmlns:xlink='http://www.w3.org

Re: [docbook-apps] Should xmllint successfully validate docbook 5 containing XIncludes?

2013-10-31 Thread Jirka Kosek
On 31.10.2013 17:36, Bob Stayton wrote: character entities in the MathML DTD. If Jing does not like loading the entire MathML DTD as you tried, it would probably accept loading just the entity declarations from the DTD. You could try copying the MathML dtd to another file and stripping out

Re: [docbook-apps] Should xmllint successfully validate docbook 5 containing XIncludes?

2013-10-30 Thread Carlos Araya
Have you tried using the namespace declaration in your document? Something like this: ?xml version=1.0 encoding=utf-8? article xmlns='http://docbook.org/ns/docbook' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:mathml=http://www.w3.org/TR/MathML2/dtd/mathml2.dtd;

Re: [docbook-apps] Should xmllint successfully validate docbook 5 containing XIncludes?

2013-10-29 Thread Jon Leech
On 10/28/2013 10:31 PM, Bob Stayton wrote: The short answer is no, xmllint does not successfully validate DocBook 5 documents that are in fact valid. I normally use Jing to validate DocBook 5. I've not seen it hang like you have. Thanks, that's good to know going forward. It turns out

[docbook-apps] Should xmllint successfully validate docbook 5 containing XIncludes?

2013-10-28 Thread Jon Leech
I'm trying to validate some documents generated by the db4-upgrade.xsl from existing (validating) db4 documents. Validating the resulting db5 results in mysterious errors that don't seem to correspond to actual problems. Eventually I figured out that if I inlined content that had originally

Re: [docbook-apps] Should xmllint successfully validate docbook 5 containing XIncludes?

2013-10-28 Thread Bob Stayton
-- From: Jon Leech j...@alumni.caltech.edu Sent: Monday, October 28, 2013 3:34 AM To: docbook-apps@lists.oasis-open.org Subject: [docbook-apps] Should xmllint successfully validate docbook 5 containing XIncludes? I'm trying to validate some documents generated by the db4-upgrade.xsl from