OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: XML Java API Standardization

[ Lists Home | Date Index | Thread Index ]
  • From: Eric Baatz - Sun Microsystems Labs BOS <ebaatz@barbaresco.East.Sun.COM>
  • To: xml-dev@ic.ac.uk
  • Date: Thu, 19 Jun 1997 12:56:31 -0400 (EDT)

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@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@ic.ac.uk the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS