Hi people,

I've just committed the code that implements the lang() XPath function. All
is peachy, except for a single problem: it doesn't work with EXML (I'm using
EXML-5.0-b2.jar). DOM, JDOM and DOM4J bindings work fine. At least it does
not work with an EXML Document object constructed from
org.jaxen.exml.DocumentNavigatorTest#getDocument() method. It simply ignores
namespaces... As you might know, lang() searches for the "xml:lang"
attribute, and EXML retrieves "lang" for attribute QName (instead of
"xml:lang") and null (!) for attribute namespace URI (instead of
http://www.w3.org/XML/1998/namespace).

Is there a way to construct an EXML document so that it recognizes
namespaces?
(I noticed that the test suite for EXML dies on the pi2.xml test as well
when it tries to evaluate "preceding-sibling::node()").

--
Attila Szegedi
home: http://www.szegedi.org



-------------------------------------------------------
This sf.net email is sponsored by: 
To learn the basics of securing your web site with SSL, 
click here to get a FREE TRIAL of a Thawte Server Certificate: 
http://www.gothawte.com/rd522.html
_______________________________________________
Jaxen-interest mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jaxen-interest

Reply via email to