2008/12/1 Dave Pawson <[EMAIL PROTECTED]>:
> 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?
I note from http://www.xmlpull.org/ that the recommended implementation
(http://www.extreme.indiana.edu/dist/java-repository/xpp3/distributions/?M=A)
calls on also has no mention of encoding?
http://www.xmlpull.org/v1/doc/api/org/xmlpull/v1/XmlPullParserFactory.html#setFeature(java.lang.String,%20boolean)
has the setfeatures ... but
http://www.extreme.indiana.edu/viewcvs/~checkout~/XPP3/java/src/java/api/org/xmlpull/v1/XmlPullParser.java
this has no mention of encoding.
The whole emphasis seems to be on speed rather than competeness.
Is the implication that utf-8 is the only encoding usable via this
interface... or MarkLogic?
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general