You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Brian Minchau (JIRA)" <xa...@xml.apache.org> on 2006/03/10 19:03:57 UTC

[jira] Created: (XALANJ-2278) New method on NamespaceMapping to get all prefixes that map to a URI

New method on NamespaceMapping to get all prefixes that map to a URI
--------------------------------------------------------------------

         Key: XALANJ-2278
         URL: http://issues.apache.org/jira/browse/XALANJ-2278
     Project: XalanJ2
        Type: Wish
  Components: Serialization  
    Versions: Latest Development Code    
    Reporter: Brian Minchau


This is not a public API since NamespaceMappings in internal.  

We should add this method:
    public String[] lookupAllPrefixes(String uri)
that returns an array of all prefixes that map to the namespace URI.  There is an existing method:
    public String lookupPrefix(String uri)
but it only returns the first such URI.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Closed: (XALANJ-2278) New method on NamespaceMapping to get all prefixes that map to a URI

Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XALANJ-2278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Minchau closed XALANJ-2278.
---------------------------------


closing this issue.

> New method on NamespaceMapping to get all prefixes that map to a URI
> --------------------------------------------------------------------
>
>                 Key: XALANJ-2278
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2278
>             Project: XalanJ2
>          Issue Type: Wish
>          Components: Serialization
>    Affects Versions: 2.7
>            Reporter: Brian Minchau
>            Assignee: Brian Minchau
>             Fix For: 2.7.1
>
>         Attachments: patch1.txt
>
>
> This is not a public API since NamespaceMappings in internal.  
> We should add this method:
>     public String[] lookupAllPrefixes(String uri)
> that returns an array of all prefixes that map to the namespace URI.  There is an existing method:
>     public String lookupPrefix(String uri)
> but it only returns the first such URI.

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


[jira] Commented: (XALANJ-2278) New method on NamespaceMapping to get all prefixes that map to a URI

Posted by "Yash Talwar (JIRA)" <xa...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XALANJ-2278?page=comments#action_12369902 ] 

Yash Talwar commented on XALANJ-2278:
-------------------------------------

I have reviewed the changes made in the code.  The changes look good to me.
I approve.

Yash

> New method on NamespaceMapping to get all prefixes that map to a URI
> --------------------------------------------------------------------
>
>          Key: XALANJ-2278
>          URL: http://issues.apache.org/jira/browse/XALANJ-2278
>      Project: XalanJ2
>         Type: Wish
>   Components: Serialization
>     Versions: Latest Development Code
>     Reporter: Brian Minchau
>     Assignee: Brian Minchau
>  Attachments: patch1.txt
>
> This is not a public API since NamespaceMappings in internal.  
> We should add this method:
>     public String[] lookupAllPrefixes(String uri)
> that returns an array of all prefixes that map to the namespace URI.  There is an existing method:
>     public String lookupPrefix(String uri)
> but it only returns the first such URI.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Assigned: (XALANJ-2278) New method on NamespaceMapping to get all prefixes that map to a URI

Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANJ-2278?page=all ]

Brian Minchau reassigned XALANJ-2278:
-------------------------------------

    Assign To: Brian Minchau

> New method on NamespaceMapping to get all prefixes that map to a URI
> --------------------------------------------------------------------
>
>          Key: XALANJ-2278
>          URL: http://issues.apache.org/jira/browse/XALANJ-2278
>      Project: XalanJ2
>         Type: Wish
>   Components: Serialization
>     Versions: Latest Development Code
>     Reporter: Brian Minchau
>     Assignee: Brian Minchau
>  Attachments: patch1.txt
>
> This is not a public API since NamespaceMappings in internal.  
> We should add this method:
>     public String[] lookupAllPrefixes(String uri)
> that returns an array of all prefixes that map to the namespace URI.  There is an existing method:
>     public String lookupPrefix(String uri)
> but it only returns the first such URI.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Resolved: (XALANJ-2278) New method on NamespaceMapping to get all prefixes that map to a URI

Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANJ-2278?page=all ]
     
Brian Minchau resolved XALANJ-2278:
-----------------------------------

    Resolution: Fixed

Patch was applied to latest code.

> New method on NamespaceMapping to get all prefixes that map to a URI
> --------------------------------------------------------------------
>
>          Key: XALANJ-2278
>          URL: http://issues.apache.org/jira/browse/XALANJ-2278
>      Project: XalanJ2
>         Type: Wish
>   Components: Serialization
>     Versions: Latest Development Code
>     Reporter: Brian Minchau
>     Assignee: Brian Minchau
>  Attachments: patch1.txt
>
> This is not a public API since NamespaceMappings in internal.  
> We should add this method:
>     public String[] lookupAllPrefixes(String uri)
> that returns an array of all prefixes that map to the namespace URI.  There is an existing method:
>     public String lookupPrefix(String uri)
> but it only returns the first such URI.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org