[jdom-interest] On-Line and Off-Line DTD
philip.nelson at omniresources.com
philip.nelson at omniresources.com
Tue Sep 4 05:07:40 PDT 2001
> I had a look at a possible implementation for SAXOutputter.
> Firing DTD events
> seems quite easy: Just create a SAX parser instance, parse
> the DTD string and
> here are the events! You just have to stop the parsing once
> the DTD parsing is
> complete.
> The problem is "create a SAX parser instance": The code to do
> that is hidden
> in SAXBuilder.
What about using the wutka dtd parser instead? It would mean another
dependency, but a theoretically smaller runtime footprint.
I guess I just have to ask.... how important is roundtripping the DTD in
scenarios where you would use SAXOutputter, or DOMOutputter for that matter?
More information about the jdom-interest
mailing list