SAX2-beta (2000-01-28)

Miles Sabin msabin at cromwellmedia.co.uk
Fri Jan 28 19:16:41 GMT 2000


Hmm ...

I _really_ don't like the way that the SAX1 and SAX2 stuff is 
all mixed up together, particularly since most of SAX1 is 
deprecated.

Like it or not SAX2 is a completely new API, so why not leave 
SAX1 untouched (ie. no @deprecated's) and have a completely 
fresh org.xml.sax2.* tree? 

And I still think there needs to be a SAX2 equivalent of 
ParserFactory ... bizarrely it's easier to create a SAX1
Parser in an implementation independent way than it is to do 
the same for an XMLReader. A couple of people volunteered to 
try out the XMLReaderImplementations stuff I put together, and 
hopefully they'll be able to give some feedback on it to this 
list.

One issue that I hit in putting that together is that there's 
currently no way to determine an XMLReaders feature support 
until _after_ it's been created. That's a bit awkward, since if 
we have multiple implementations available we might want to use 
the feature set to decide which one to instantiate ...

Cheers,


Miles

-- 
Miles Sabin                       Cromwell Media
Internet Systems Architect        5/6 Glenthorne Mews
+44 (0)20 8817 4030               London, W6 0LJ, England
msabin at cromwellmedia.com          http://www.cromwellmedia.com/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN 981-02-3594-1
Unsubscribe by posting to majordom at ic.ac.uk the message
unsubscribe xml-dev  (or)
unsubscribe xml-dev your-subscribed-email at your-subscribed-address

Please note: New list subscriptions now closed in preparation for transfer to OASIS.





More information about the Xml-dev mailing list