Hi, 

I'm using DOM4J's "XPath engine" to extract information from an 
XML document that uses namespaces. 

When I don't put namespaces (ie prefixes) in my XPath expressions, 
DOM4J strangely behaves as if the document was not containing
namespaces ! Is this a normal behavior ?

As one can expect, when I include NS prefixes in the requests, DOM4J 
is not able to use the expression because it doesn't have the 
bindings beetween the prefixes and URIs. It produces the following
message :

SHORT_CIRCUIT: NO_NAMESPACE

Is it possible to "inform" DOM4J's XPath engine about these bindings ?

Nicolas 


_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to