[jdom-interest] Reading the xml:base attribute
Elliotte Harold
elharo at metalab.unc.edu
Thu Jan 6 14:50:17 PST 2005
Jason Hunter wrote:
> Ah, interesting. Your Javadocs didn't make that clear. If they do:
>
> new Element("a:name")
>
> is it an error or do you assume xmlns:a=""?
That throws an IllegalNameException because in XML 1.0 no prefix can be
mapped to the empty string.
--
Elliotte Rusty Harold elharo at metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
More information about the jdom-interest
mailing list