From: "bob mcwhirter" <[EMAIL PROTECTED]>
> On Thu, 20 Sep 2001, James Strachan wrote:
>
> > Hi Erwin
> >
> > You're right - this behaviour is incorrect.
> >
> > However it would be really useful if, when no NamespaceContext is
provided
> > (or the default SimpleNamespaceContext is used but it cannot resolve a
> > prefix to a URI) that the namespaces defined in the root element are
used.
> >
> > Most documents (SOAP, XSD, XLink, XSLT etc) usually end up defining the
> > common standard prefixes in the root element - so it'd be a nice if we
could
> > use them, without having to create a SimpleNamespaceContext and populate
it.
> >
> > Do others feel this is a good idea?
>
> fwiw, when I redid the DefaultNameStep stuff, I *think* I removed
> your 'feauture' James.  It's just a little wonky.  While useful
> if you understand it correctly, I think we're providing folks
> too much rope to shoot themselves in the foot.

Thats OK - I can keep this 'wonky' feature in dom4j instead and leave Jaxen
unwonky :-)

I'm going to default all the namespace prefixes from the initial context (or
root element if its a document) for all prefixes that the user has not
already defined.

James


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Jaxen-interest mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jaxen-interest

Reply via email to