Issue Details (XML | Word | Printable)

Key: XALANJ-2278
Type: Wish Wish
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Brian Minchau
Reporter: Brian Minchau
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XalanJ2

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

Created: 11/Mar/06 02:03 AM   Updated: 12/Dec/07 03:44 AM
Return to search
Component/s: Serialization
Affects Version/s: 2.7
Fix Version/s: 2.7.1

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works patch1.txt 2006-03-11 02:21 AM Brian Minchau 1 kB

Xalan info: PatchAvailable
Resolution Date: 11/Mar/06 02:34 AM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Yash Talwar added a comment - 11/Mar/06 02:31 AM
I have reviewed the changes made in the code. The changes look good to me.
I approve.

Yash

Brian Minchau added a comment - 11/Mar/06 02:34 AM
Patch was applied to latest code.

Brian Minchau added a comment - 11/Dec/07 03:16 PM
This issue is no longer relevant for 2.7.1, it is fixed in 2.7.1.
Changing the affected version to 2.7.

Brian Minchau added a comment - 12/Dec/07 03:44 AM
closing this issue.