[
Lists Home |
Date Index |
Thread Index
]
- From: "Box, Don" <dbox@develop.com>
- To: "'xml-dev@xml.org'" <xml-dev@xml.org>, "'David Megginson (E-mail)'" <david@megginson.com>
- Date: Sun, 12 Mar 2000 16:20:00 -0800
Title: Another SAX2 Observation
It would be useful if NamespaceSupport had a method that did the reverse of getURI, that is, would return an in-scope prefix that corresponded to a given URI (or null if the namespace URI has no in-scope declaration). Yes, I know I can implement this in terms of getPrefixes(), but that approach is (a) fairly expensive due to the linear traversal + excessive casting and (b) error prone.
DB
http://www.develop.com/dbox
|