[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Announcement: SAX Java Implementation (pre-release)

  • From: Tyler Baker <tyler@i...>
  • To: Lars Marius Garshol <larsga@i...>
  • Date: Fri, 10 Apr 1998 16:50:44 -0400

java character translation
Lars Marius Garshol wrote:

> I've now done a Python translation of this and put it (also a
> pre-release) at
>
> <URL:http://birk105.studby.uio.no/tmp/saxlib.zip>
>
> (SAX classes, some convenience classes, xmllib driver and an
> unfinished xmlproc driver.)
>
> The translation was very straightforward, with one exception:
> overloading. Unless there are protests I think I'll just leave the two
> extra parse methods and the extra exception constructor out of the
> Python translation altogether.
>
> Also, the distinction between the two new parse methods looks very
> Java-specific to me.

The idea of character streams is for supporting streams which already handle the
byte to UNICODE character translation for you.  I am not familiar with Python,
but I assume there must be some sort of 16 bit wide character set that is Unicode
compliant.  This I feel is all that David is trying to add to SAX, not something
Java specific.  Nevertheless, if a particular language has no Unicode support
whatsoever in the first place, then you are SOL for supporting XML in the first
place.

Readers (or character streams) may have much more efficient byte to character
translation implementations than anything the parser could provide in the first
place.

I think the addition of character streams to SAX is a very good thing.

Tyler


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.