DomSax 1.0.0
Sponsored Links
DomSax 1.0.0 Ranking & Summary
File size:
0.018 MB
Platform:
Any Platform
License:
LGPL (GNU Lesser General Public License)
Price:
Downloads:
1156
Date added:
2006-08-24
Publisher:
Richard A.
DomSax 1.0.0 description
DomSax is an implementation of a XML-parser based on the standard Document Object Model principle (and suns implementation), combining it with the flexibility and possibility of low memory consumption of the SAX-parser (also suns implementation).
Based on the fact that most XML-documents contain repeating blocks (eg the same structure of elements repeated over and over), the parser creates for each repeating block a complete document (with the document-root being the start-element of the repeating block). This enables the programmer to keep the code clean and the memory consumption within bounds.
The parser has been tested on java 1.5.1.
For parsing XML-files there are currently two options: SAX and DOM. With SAX you get the flexibility to load specific elements from a stream, minimizing memory consumption, but complicating searches and decreasing load-time. With DOM you get the nice interface for searching elements in the completely loaded document, but this interface comes with a high cost in memory consumption and low speed.
When I started with this project one of the demands was the ability to process xml-files of 100+ Mb. This left me effectively only the choice of SAX, which allows for parsing the file element for element and enable me to keep the memory consumption within bounds. However I didnt like the implications on the code for the project. Anyone who ever created a parser with SAX will agree that youre left with a mess, because of the separation of receiving the open-tag, data and close-tag.
So what I wanted was the flexibility of the SAX parser combined with the ease of use of the DOM approach. The underlying principle of DomSax is repeating blocks, which can be indicated with the existing XPath technology. Most xml-files store records, which are always described in the same manner (eg repeating blocks).
In the example below there is a single header, which is always the first element within the document-root tag (blue box). After the header the elements follow (orange boxes). For each of the boxes indicated to the parser with an xpath a complete document is created, containing only the data within the box. After the document is completed it is passed to the registered listeners.
Based on the fact that most XML-documents contain repeating blocks (eg the same structure of elements repeated over and over), the parser creates for each repeating block a complete document (with the document-root being the start-element of the repeating block). This enables the programmer to keep the code clean and the memory consumption within bounds.
The parser has been tested on java 1.5.1.
For parsing XML-files there are currently two options: SAX and DOM. With SAX you get the flexibility to load specific elements from a stream, minimizing memory consumption, but complicating searches and decreasing load-time. With DOM you get the nice interface for searching elements in the completely loaded document, but this interface comes with a high cost in memory consumption and low speed.
When I started with this project one of the demands was the ability to process xml-files of 100+ Mb. This left me effectively only the choice of SAX, which allows for parsing the file element for element and enable me to keep the memory consumption within bounds. However I didnt like the implications on the code for the project. Anyone who ever created a parser with SAX will agree that youre left with a mess, because of the separation of receiving the open-tag, data and close-tag.
So what I wanted was the flexibility of the SAX parser combined with the ease of use of the DOM approach. The underlying principle of DomSax is repeating blocks, which can be indicated with the existing XPath technology. Most xml-files store records, which are always described in the same manner (eg repeating blocks).
In the example below there is a single header, which is always the first element within the document-root tag (blue box). After the header the elements follow (orange boxes). For each of the boxes indicated to the parser with an xpath a complete document is created, containing only the data within the box. After the document is completed it is passed to the registered listeners.
DomSax 1.0.0 Screenshot
DomSax 1.0.0 Keywords
DomSax
SAX
XML
Document Object Model
DomSax 1.0.0
DOM
standard document object model
memory consumption
standard document
Object Model
document
implementation
parser
principle
repeating
memory
Bookmark DomSax 1.0.0
DomSax 1.0.0 Copyright
WareSeeker periodically updates pricing and software information of DomSax 1.0.0 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of DomSax 1.0.0 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
document object model recommendations
document object model javascript
javascript document object model
document object model tutorial
document object model events
document shredding
firefox memory consumption
document object models
document object model core
documentary james brown muhammad ali
domsaxtau
memory consumption linux
document object model reference
document object model dom
xml parser
documents
html document object model
document management software
Related Software
XML::SAX is a simple API for XML. Free Download
Pod::SAX is a SAX parser for Pod. Free Download
SDOM is an attempt to provide a complete implementation of the W3C Document Object Model level 3 API. Free Download
XML::DOM2 is a DOM controlled, strict XML module for extentable xml objects. Free Download
Pathan-P provides Perl bindings for Pathan 1. Free Download
XML::SAX2Perl is a Perl module to translate Perl SAX methods to Java/CORBA style methods. Free Download
XML::SAX::Base is a base class SAX Drivers and Filters. Free Download
XML::SAX::Simple is a SAX version of XML::Simple. Free Download
Latest Software
Popular Software
Favourite Software