commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Benson (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JXPATH-88) Add getPrefix(String namespaceURI) to JXPathContext
Date Wed, 13 Jun 2007 18:28:26 GMT

     [ 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message