OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [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"?>
<article
        xmlns='http://docbook.org/ns/docbook'
        xmlns:xlink='http://www.w3.org/1999/xlink'
        version="5.0" xml:lang="en">
<title>
Title of your document</title>


This should replace the entity declaration and still let your mathml validate. 

HTH,

Carlos


On Tue, Oct 29, 2013 at 2:53 AM, Jon Leech <jon@alumni.caltech.edu> wrote:
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 that stripping the

<!DOCTYPE refentry [
<!ENTITY % mathml PUBLIC "-//W3C//DTD MathML 2.0//EN"
                  "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd">
%mathml;
]>

prolog from my documents will prevent jing from hanging. Unfortunately it will also
prevent some of them from validating, since they use MathML entities like &lfloor; .
I filed a bug on the jing project page to ask about this but perhaps I'm missing
some other way to be able to use these entities that would work around this issue?


    Jon Leech


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]