2005 IR Help Posted August 27, 2006 Share Posted August 27, 2006 By: John Eric Hamacher - badgerduke Namespace problem in XPath 2004-12-30 07:05 The following XPath expression is defined at my JrXmlDataSource: /A/nsp:B/nsp:C. I receive the following in error (in JasperAssistant): Error: XPath selection failed. Expression: /A/nsp:B/nsp:C Caused by: Prefix must be resolved to a namespace: nsp Now, the attribute, xmlns:nsp="some:URL", is an attribute of B. <A> <B xmlns:nsp="some:URL"> <C> . . . </C> </B> </A> B and C appear to have resolved namespaces. Any ideas about the error? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now