Lists Home |
Date Index |
- From: "Box, Don" <email@example.com>
- To: "'firstname.lastname@example.org'" <email@example.com>, "'David Megginson (E-mail)'" <firstname.lastname@example.org>
- 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.