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

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Microsoft's XMLReader



For example, using the 'Expat' C parser, I can parse the XML document in
pieces, so I parse a chunk, get the SAX events, navigate them, and then
parse another one. Each piece doesn't have to be well formed XML text.

Is there something similar in Java parser?

Regards

-----Original Message-----
From: Andrés Aguiar [mailto:aaguiar@Artech.com.uy]
Sent: Tuesday, February 06, 2001 11:55 PM
To: 'xml-dev@lists.xml.org'
Subject: Microsoft's XMLReader


I need to have a Java implementation of a Microsoft XMLReader style API for
parsing XML.

I'm aware of the SAX Navigator
(http://www.geocities.com/takuki_kamiya/pub/saxnavi.html), but this
implementation uses a new thread to queue the SAX events, and I can't afford
to have a new thread to parse the XML file (this will run in a heavy loaded
server).

Does anyone know of something like this?

Can this be built using any propietary parser API (org.apache.xerces.*,
org.apache.crimson.*, etc)? As far as I know, all this implementations are
built on top of SAX, and the only way I imagine to implement this using SAX
is the 'new thread' one...

Thanks, regards.