[MarkLogic Dev General] Re: XDBC creation / access
Dave Pawson
dave.pawson at gmail.com
Mon Dec 1 09:15:05 PST 2008
I note in Loader.java
try {
xpp = config.getXppFactory().newPullParser();
xpp.setInput(new InputStreamReader(input, decoder));
// TODO feature isn't supported by xpp3 - look at xpp5?
// xpp.setFeature(XmlPullParser.FEATURE_DETECT_ENCODING, true);
// TODO feature isn't supported by xpp3 - look at xpp5?
// xpp.setFeature(XmlPullParser.FEATURE_PROCESS_DOCDECL, true);
xpp
.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES,
true);
} catch (XmlPullParserException e) {
throw new FatalException(e);
}
Does that mean this code only supports utf-8 encodings?
Is that sufficient to cause the FatalException to be thrown Michael?
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
More information about the General
mailing list