A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
Which parser does JAXB use?
Joined: Apr 23, 2009
Mar 26, 2010 11:57:51
I read that JAXB uses Apache Xercers parser for parsing XML documents. I want to know which type (SAX/DOM/StaX) does JAXB use internally to parse the xml documents? or JAXB has its own technique of parsing other than SAX/DOM/StaX?
Author and all-around good cowpoke
Joined: Mar 22, 2000
Mar 26, 2010 12:30:35
An SAX parser is the base technology for all of the standard library DOM and JAXB functions - I'm not sure what StaX uses.
If you are curious about the details why not download the standard Java library source code? It is very instructive to browse in.
For example I just searched for Stax in the Java 6 source and found lots of org.apache.xalan. and org.apache.xerces references.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Which parser does JAXB use?
JAX-RPC and JAX-WS
JDOM/ XML and Java
XML Parsing using SAX, DOM and JAXP
Which XML API and Parser for Streaming?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014