You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Namespace.getNamespace throws a JDOMException with is not caught. The given code will not compile!!
Check the documentation of newInstance :--
Creates a new XPath wrapper object, compiling the specified XPath expression.
Parameters:
path the XPath expression to wrap.
Throws:
JDOMException - if the XPath expression is invalid.