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


Help: OASIS Mailing Lists Help | MarkMail Help



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

[ Lists Home | Date Index | Thread Index ]
  • From: Tyler Baker <tyler@infinet.com>
  • To: Lars Marius Garshol <larsga@ifi.uio.no>
  • Date: Fri, 10 Apr 1998 16:50:44 -0400

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

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

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


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