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"
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 <[email protected]> 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<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
> ⌊ .
> 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<[email protected]>
> For additional commands, e-mail:
> [email protected]**open.org<[email protected]>
>
>