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