[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Advice on parsing approach/tools?

  • To: xml-dev@l...
  • Subject: Advice on parsing approach/tools?
  • From: "Andrzej Jan Taramina" <andrzej@c...>
  • Date: Thu, 31 Jan 2002 12:31:20 -0500
  • Organization: Chaeron Consulting Corporation
  • Priority: normal
  • Reply-to: andrzej@c...

parsing approach
I've been looking into what xml parsing approach to use for my open source 
Java GPS Access Library.

Currently I only output XML, so am just building it using brute-force Java code 
without using any specific parser/toolkit.  The issue becomes blurry now that I 
am looking at reading in XML as well (validated by the GPSml schema).

Normally I would say that using SAX might be the best bet, since my library is 
already event driven and the paradigms fit nicely. 

JDOM is attractive because of it's javatized API, but it's not clear to me if 
JDOM reads in the whole document structure or not when you read a 
document, or does it just interact with SAX under the covers as you request 
elements that are progressively deeper in the tree?

The thorny issue is that one of the key features of the GPS code base is that it 
runs (more or less) unchanged on many platforms, including smaller PDA's 
and embedded Java devices (like boards based on the aJile Java chip).  That 
means that total size of the application (including all jar files) is important, and 
even more so, some standard API's (like many java.io classes) are not 
available, which causes problems with SAX/JDOM.

Any advice on how to proceed?  Since SAX and JDOM are open sourced, I'm 
leaning towards using a stripped down version of these tools which specialized 
IO classes added to support the embedded devices.

Thoughts?

Thx!

Andrzej Jan Taramina
Chaeron Corporation: Enterprise System Solutions
http://www.chaeron.com


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.