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 bitching 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.

Reply via email to