[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML Java API Standardization
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 parsers. 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@e... xml-dev: A list for W3C XML Developers Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To unsubscribe, send to majordomo@i... the following message; unsubscribe xml-dev List coordinator, Henry Rzepa (rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|