[jdom-interest] Namespace declarations

bob bob at accurev.com
Wed Sep 13 17:58:28 PDT 2000

> Question: 
> would there ever be more than one namespace prefix in a single 
> attribute value?

Most decidedly YES.  XSLT uses XPath which could certainly
describe a path containing many different prefixes.

<sample myXpath="nsOne:a/nsTwo:b/@nsThree:b"/>

I don't think JDOM should go looking in attribute values, because
we simple don't know how prefixes will always be used within them.

My XPath impl internally just needs *something* to query,
and ask "what is the URI mapped to nsOne?".  


More information about the jdom-interest mailing list