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: [xml-dev] DOM or SAX: Sense and Sensibility



I've developed an approach for transferring documents between program 
components called XML Stream (XMLS). It's designed for high performance 
input and output, though with markup-intensive documents it also gives a 
much smaller size than text. The format and implementation (currently 
for input and output to/from JDOM and dom4j Java document models) are 
all open source with the MIT/X license.

The home page is at http://www.sosnoski.com/opensrc/xmls, with some 
performance results at http://www.sosnoski.com/opensrc/xmls/results.html.

XMLS was originally designed as a substitute for standard Java 
serialization. The roundtrip time for documents tested was about 6 times 
as fast as Java serialization and about 2.5 times as fast as text.

I'll be publishing the 0.9 version soon with more interfaces (for SAX2 
and DOM) and more test results, including results for collections of 
small documents sent over a stream.

  - Dennis

Dennis M. Sosnoski
Sosnoski Software Solutions, Inc.
http://www.sosnoski.com

Subrahmanyam Allamaraju wrote:

>
>
> Al Snell wrote:
>
>> Even worse, one I've seen in processing pipelines is converting to 
>> textual
>> XML (as a big in-memory string) then passing it into the next stage 
>> to be
>> reparsed!
>
>
>
> The same with data binding:
>
> [Textual XML -> Deserialize to Instance Tree -> Process -> Serialize 
> to  XML] and [the same] and [the same] ...
>
> Is there an alternantive when these pipelines are distributed?
>
> Subbu
>
>
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
>
>