[jdom-interest] getProperty/setProperty on Parent
Elliotte Rusty Harold
elharo at metalab.unc.edu
Thu Feb 19 07:01:00 PST 2004
At 8:17 PM -0800 2/18/04, Jason Hunter wrote:
>Right, we'd do it the same was as in Document, with a Map set to
>null unless special attributes were added. So if you want base URIs
>and such, you make a Map and populate it with the bases. Same for
>line numbers. We don't have base uri support in Element right now
>for two reasons. One, Rusty never sent in the patch. Two, it would
>have added yet more memory usage. It'd be nice if it was optionally
>added.
I thought I'd done that but I don't see it in the archives. It would
certainly be worth doing. Base URI calculation is tricky enough that
you don't want to leave it to the end programmer. They will get it
wrong. For instance, I recently discovered that the *XML 1.0
conformance test suite* had incorrect base URIs in its driver
document.
--
Elliotte Rusty Harold
elharo at metalab.unc.edu
Effective XML (Addison-Wesley, 2003)
http://www.cafeconleche.org/books/effectivexml
http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA
More information about the jdom-interest
mailing list