anonymous tech woman

Yet another woman in technology blog. I'm actually a developer who uses a variety of Java and database technologies on a variety of platforms.

Wednesday, August 23, 2006

XML Parsers for Java

I have had to use DOM or SAX parsers to parse XML documents into useful Java Objects. DOM has the problem that it uses lots of memory so it is not useful for large XML files or memory intensive applications. This means that you have to use a SAX parser. However SAX has the problem that you have to run through the XML file sequentially to read nodes which means you end up with a slower performance. VTD-XML claims to be a XML Parser that puts XML documents in memory like DOM but uses less memory. However as it doesn't use a DTD or validate XML it is not really a parser, and so is just an API.


Technorati Tags: XML, VTD-XML, XML ParsersJava

2 Comments:

At 7:59 AM, Blogger Sandra White said...

This comment has been removed by a blog administrator.

 
At 8:23 AM, Blogger Sandra White said...

This comment has been removed by a blog administrator.

 

Post a Comment

<< Home