[jdom-interest] Namespace problems in Attributes...
Jason Hunter
jhunter at collab.net
Fri Jul 28 09:35:59 PDT 2000
> The four Attribute constuctor values are:
> name = 'lang'
> prefix = 'xml'
> uri = [empty string]
> val = 'en'
>
> the uri has been retrieved from a call to getNamespaceURI( prefix )
The problem is the use of the namespace prefix "xml" in the attribute
when there's no Namespace registered with that prefix.
A straightforward solution would be to auto-register the xml prefix to
the URI given in the spec. Any concerns with that?
-jh-
More information about the jdom-interest
mailing list