[jdom-interest] Re: DOMBuilder
Joseph Bowbeer
jozart at csi.com
Tue Mar 6 14:13:13 PST 2001
By the way, there already is a backdoor that can be used to set arbitrary
features on JDOM's XMLReader.
import org.xml.sax.XMLFilter;
import org.xml.sax.helpers.XMLFilterImpl;
SAXBuilder builder = new SAXBuilder();
XMLFilter filter = new XMLFilterImpl(); // backdoor
builder.setXMLFilter(filter);
filter.setFeature("whatever", true);
Document doc = builder.build(in);
--- original message ---
From: Rosen, Alex arosen at silverstream.com
Date: Tue, 6 Mar 2001 12:56:50 -0500
> What DOM properties are you setting?
> What SAX properties do you want to set?
parser.setFeature("http://apache.org/xml/features/allow-java-encodings",
true);
More information about the jdom-interest
mailing list