XML Java API Standardization

Eric Baatz - Sun Microsystems Labs BOS ebaatz at barbaresco.East.Sun.COM
Thu Jun 19 18:57:52 BST 1997

John Tigue,

Although it isn't part of the abstract XML parsing issue, I was
struck by your proposal's use of streams for input.  Given the
Unicode-ness of Java and XML's explicit support for multiple
character encodings, the JDK 1.1 Reader class seems like a
perfect fit for XML parsers.  They are more efficient than byte
streams, and they handle conversion between local encodings
and Unicode.  With streams, it seems like your document also
needs to proscribe how Unicode characters (or other multi-byte
encodings) are encoded in byte streams or how to identify the
encoding of a stream, so I can use the same input for different

P.S.  Yes, my current XML "documents" include characters outside
of Latin-1, so I have to convert them before passing them through
the parser I've been using, NXP.

Eric Baatz
Sun Microsystems Laboratories
2 Elizabeth Drive, MS UCHL03-207                 (508) 442-0257
Chelmsford, MA 01824                        fax: (508) 250-5067
USA                                    Internet: eric.baatz at east.sun.com

xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa at ic.ac.uk)

More information about the Xml-dev mailing list