Skip to main content

SJSXP in now in the Maven Repository

Posted by spericas on July 25, 2006 at 2:18 PM PDT

Sun Java Streaming XML Parser (SJSXP) is now available from the Java.net Maven repository. This is the FCS version of Sun's StAX parser.

StAX is based on the so-called pull model in which an application queries the parser for the next parsing event, but never surrenders control to the parser during the process. Stated differently, StAX turns the SAX processing model upside down. Instead of the parser controlling the application's flow, and the application reacting to parsing events, it is the application that controls the flow by pulling events from the parser. See the SJSXP project page for more information on this project.

The jar files and POMs for SJSXP are available here:

https://maven-repository.dev.java.net/nonav/repository/com.sun.xml.stream/

and the API, defined by JSR 173, is also available from the Maven repository here:

https://maven-repository.dev.java.net/nonav/repository/javax.xml.stream/

Note that if you have switched to J2SE 6.0 (Mustang) then you already have SJSXP! Starting with 6.0, this StAX parser is part of the platform.

Related Topics >>