[Home] [By Thread] [By Date] [Recent Entries]

  • From: Andrés Aguiar <aaguiar@A...>
  • To: "'xml-dev@l...'" <xml-dev@l...>
  • Date: Wed, 07 Feb 2001 11:09:49 -0300

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@A...]
Sent: Tuesday, February 06, 2001 11:55 PM
To: 'xml-dev@l...'
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.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member