j-users@xerces.apache.org
[Top] [All Lists]

possible error in the faq

Subject: possible error in the faq
From: "Will Holcomb"
Date: Thu, 22 Feb 2007 13:45:51 -0500
In the FAQ: http://xerces.apache.org/xerces2-j/faq-dom.html#faq-2

The example imports org.w3c.dom.DOMImplementationRegistry. This class doesn't seem to exist and, as best I can tell, should be org.w3c.dom.bootstrap.DOMImplementationRegistry.

Is that correct?

Will Holcomb

P.S. I am trying to load XHTML document fragments that don't have a doctype. The parser is ing about the undefined entities. I'm still trying to figure it out on my own, but it would be amazingly useful if anyone knows off the top of their head how to either:

1. Pass entities through a parse unresolved. It seems like they could just stay entities the entire time and be written as entities in the output without ever having been resolved.
2. Preload the HTML default character entities into a parser before setting it up to parse.
3. Some other solution that I haven't thought of. The goal is to not have to edit the hundreds of source documents.
<Prev in Thread] Current Thread [Next in Thread>