[jdom-interest] newbie question: parsing in xhtml containing mathml

Laurent Bihanic laurent.bihanic at atosorigin.com
Thu Jul 8 01:50:59 PDT 2004


Morten Andersen wrote:
> So this means that there is an error in the mathml - or xhtml DTD?

Yes, the problem appears to be in the XHTML part of this XHTML + MathML DTD.

The XHTML module causing the problem is 
http://www.w3.org/TR/xhtml-basic/xhtml-arch-1.mod

Yet, if you look at the XHTML basic recommendation 
(http://www.w3.org/TR/xhtml-basic), this module does not appear anywhere!

As you already added an EntityResolver to your application, I suggest you 
modify it to use a local copy of the XHTML + MathML DTD stripped of the 
xhtml-arch-1 module.

Laurent



More information about the jdom-interest mailing list