Note that there are some explanatory texts on larger screens.

plurals
  1. POComparison of XML parsing APIs on the Java SE platform
    primarykey
    data
    text
    <p>I am currently developing an RSS feed reader, and I am wondering which XML parsing API would be the best fit for that. (Please note that I am not looking for a Feed parser library - it is merely the starting point for that research about XML APIs) </p> <p>I am looking for a rundown of the various XML parsing APIs on the Java platform, focusing on the following criteria:</p> <ul> <li>Ease of configuration <ul> <li>Is the configuration in a separate file? </li> <li>Are there reasonable defaults?</li> </ul></li> <li>Ease of use <ul> <li>Node navigation - to siblings, to children, to the parent.</li> <li>Access/Manipulation of Namespaces, Attributes, Text.</li> <li>Is the class hierarchy well-thought or natural?</li> </ul></li> <li>Invalid XML - what happens (when does it fail?), and what can I do when: <ul> <li>an invalid character is encountered (forbidden in either the encoding or the XML spec)</li> <li>the tree structure is not valid (for example, because of unescaped HTML tags)</li> </ul></li> </ul> <p>Here is some information that I would consider useful though not crucial:</p> <ul> <li>Performance comparisons</li> <li>A list of available implementations</li> </ul> <p>I am currently considering any XML API on the JVM.</p> <ul> <li>It can be a Java standard (DOM, SAX, StAX, JAXP), or an implementation-specific API.</li> <li>It can be an API for any language on the JVM (Scala, Groovy, Jython, JRuby...) - just make sure that it adds something compared to the standard Java APIs.</li> </ul> <p>I believe that a good way to structure this thread would be to only have one API per answer.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload