[jdom-interest] XPath support

Elliotte Rusty Harold elharo at metalab.unc.edu
Sun Sep 1 06:44:05 PDT 2002


At 6:06 PM -0700 8/28/02, Duffey, Kevin wrote:


>eyes in terms of coding. The downside, it only reads XML and ignores
>things like Processing Instructions,

I'm pretty sure XMLPULL can read processing instructions. You just 
have to use nextToken() instead of next().

The biggest problem with XMLPULL, IMNSHO, is that it does not 
correctly implement the XML 1.0 specification. It fails to make many 
well-formedness checks it is required to make, especially with regard 
to the internal DTD subset. It also does not apply default attribute 
values it is required to apply. And it never reads the external DTD 
subset.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          XML in a  Nutshell, 2nd Edition (O'Reilly, 2002)          |
|              http://www.cafeconleche.org/books/xian2/              |
|  http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/  |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+



More information about the jdom-interest mailing list