commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Vladimirov (JIRA)" <>
Subject [jira] Created: (JXPATH-88) Add getPrefix(String namespaceURI) to JXPathContext
Date Mon, 11 Jun 2007 13:29:42 GMT
Add getPrefix(String namespaceURI) to JXPathContext

                 Key: JXPATH-88
             Project: Commons JXPath
          Issue Type: Improvement
    Affects Versions: 1.2 Final
            Reporter: Sergey Vladimirov
            Priority: Minor

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:
For additional commands, e-mail:

View raw message