xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: "Michael Kay" <mike AT saxonica.com>
- To: "'Elliotte Harold'" <elharo AT metalab.unc.edu>, "'Dan Diephouse'" <dan AT envoisolutions.com>
- Cc: 'xom-interest' <xom-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] Xstream/Stax integration
- Date: Wed, 24 Aug 2005 19:50:20 +0100
Saxon has some StAX support that may be of interest. It includes a pull-push
bridge, so you can use it to read from a StAX parser and write to anything
that accepts SAX events. It also does the reverse, using two threads one
that accepts SAX events and puts them in a buffer, the other accepts StAX
requests and responds to them by reading from the buffer. Saxon also allows
a StAX client to read a document in any of the object models that Saxon
supports, including XOM.
I found the BEA parser extremely buggy, and have also reported bugs against
the RI from Sun, though that is now a lot better than it was.
Michael Kay
> -----Original Message-----
> From: xom-interest-bounces AT lists.ibiblio.org
> [mailto:xom-interest-bounces AT lists.ibiblio.org] On Behalf Of
> Elliotte Harold
> Sent: 24 August 2005 11:02
> To: Dan Diephouse
> Cc: xom-interest
> Subject: Re: [XOM-interest] Xstream/Stax integration
>
> > Wolfgang Hoschek wrote:
>
> >> Same question as for the builder: should the Stax Serializer be a
> >> subclass of the XOM Serializer, or standalone, or implement some
> >> common interface?
>
> Converting a XOM document to StAX events isn't really
> serialization to
> my way of thinking. The SAXConverter isn't a serializer either.
> Serialization to me means converting to a byte stream or perhaps
> character stream. Now that I think about it I could see an event
> sequence might be interpreted as a serial sequence of events,
> but that's
> certainly not how Serializer was designed. I think this would
> need to be
> a separate class.
>
> --
> ?Elliotte Rusty Harold elharo AT metalab.unc.edu
> XML in a Nutshell 3rd Edition Just Published!
> http://www.cafeconleche.org/books/xian3/
> http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/
> ref=nosim
> _______________________________________________
> XOM-interest mailing list
> XOM-interest AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/xom-interest
>
-
Re: [XOM-interest] Xstream/Stax integration
, (continued)
-
Re: [XOM-interest] Xstream/Stax integration,
Dan Diephouse, 08/23/2005
-
Re: [XOM-interest] Xstream/Stax integration,
Wolfgang Hoschek, 08/23/2005
- Re: [XOM-interest] Xstream/Stax integration, Elliotte Harold, 08/23/2005
-
Re: [XOM-interest] Xstream/Stax integration,
Wolfgang Hoschek, 08/23/2005
- Re: [XOM-interest] Xstream/Stax integration, Dan Diephouse, 08/24/2005
- Re: [XOM-interest] Xstream/Stax integration, Wolfgang Hoschek, 08/24/2005
- Re: [XOM-interest] Xstream/Stax integration, Elliotte Harold, 08/24/2005
- Re: [XOM-interest] Xstream/Stax integration, Wolfgang Hoschek, 08/24/2005
- Re: [XOM-interest] Xstream/Stax integration, Steve Loughran, 08/25/2005
-
Re: [XOM-interest] Xstream/Stax integration,
Wolfgang Hoschek, 08/23/2005
-
Re: [XOM-interest] Xstream/Stax integration,
Dan Diephouse, 08/23/2005
- Re: [XOM-interest] Xstream/Stax integration, Elliotte Harold, 08/24/2005
- Re: [XOM-interest] Xstream/Stax integration, Michael Kay, 08/24/2005
- Re: [XOM-interest] Xstream/Stax integration, Wolfgang Hoschek, 08/23/2005
Archive powered by MHonArc 2.6.24.