I'm trying to evaluate XPath expression on an input that looks like: <Document xmlns="myNamespace/whatever"> ....
When I simply use "/Document", it doesn't work. In order to overcome this problem, I wrote my own PrefixResolver, which always returns "myNamespace/whatever", and then I can use the xpath "/aaa:Document", but I still can't use the simpler form. The PrefixResolver is never called for an empty prefix. This could be how it should work according to w3c. I'm not sure about it. However, if it is not - how can I tell Xalan what is the namespace of the empty prefix? Thanks, Moddy. -- View this message in context: http://www.nabble.com/empty-prefix-for-a-non-empty-namespace-in-XPath-tp24067797p24067797.html Sent from the Xalan - C - Users mailing list archive at Nabble.com.