[
https://issues.apache.org/jira/browse/JXPATH-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Benson resolved JXPATH-88.
-------------------------------
Resolution: Fixed
Fix Version/s: 1.3
svn rev 546990
> Add getPrefix(String namespaceURI) to JXPathContext
> ---------------------------------------------------
>
> Key: JXPATH-88
> URL: https://issues.apache.org/jira/browse/JXPATH-88
> Project: Commons JXPath
> Issue Type: Improvement
> Affects Versions: 1.2 Final
> Reporter: Sergey Vladimirov
> Priority: Minor
> Fix For: 1.3
>
>
> There is function getNamespaceURI(String prefix), but there is no inverted
> one.
> Need this in following case:
> - reading XML
> - check, if prefix for particular namespace is defined (using getPrefix)
> - if defined - using prefix, specified in XML
> - if not defined - define prefix and using it
> Usual way - to define prefix always - is not good, since prefix can already
> be used in XML file with another namespace.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]