[oXygen-user] How to Handle HTML Files with DOCTYPE Decl
ekimber at reallysi.com
Sat Jan 28 16:23:15 CST 2012
Thanks--fixing the system ID did the trick. You are correct that providing a
local copy would be best, but since Oxygen caches it on first reference, I
don't think it's a big deal to go to the Internet for it (as least I hope
On 1/28/12 1:03 PM, "Chris Maloney" <voldrani at gmail.com> wrote:
> It looks like the system identifier there is wrong. It should be
> "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd", I think. But, of
> course, rather than resolving it from w3c, you should download a local copy
> and put an entry to it in Oxygen's catalog file, using the public id. Or, if
> you'd rather not modify Oxygen's catalog file, create your own catalog file in
> the same directory as the dtd, like this:
> <?xml version="1.0"?>
> <!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog
> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
> <public publicId="-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
> and then add an entry in Oxygen's XML Catalog preferences pointing to this
> catalog file.
> That's how I'd fix it anyway -- not sure if it's the easiest/best way or not.
> On Sat, Jan 28, 2012 at 8:47 AM, Eliot Kimber <ekimber at reallysi.com> wrote:
>> I am trying to process local copies of HTML files that have DOCTYPE decls
>> like so:
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
>> "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd" [
>> <!ENTITY mathml "http://www.w3.org/1998/Math/MathML">
>> It appears that Oxygen is trying to resolve the DTD and failing to do so,
>> which causes timeout delays and then failure of my transform, of course.
>> What's the easiest/best way to fix this behavior?
>> Eliot Kimber
>> Senior Solutions Architect
>> "Bringing Strategy, Content, and Technology Together"
>> Main: 512.554.9368 <tel:512.554.9368>
>> www.reallysi.com <http://www.reallysi.com>
>> www.rsuitecms.com <http://www.rsuitecms.com>
>> oXygen-user mailing list
>> oXygen-user at oxygenxml.com
Senior Solutions Architect
"Bringing Strategy, Content, and Technology Together"
More information about the oXygen-user