[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Box, Don" <dbox@d...>
  • To: "'xml-dev@x...'" <xml-dev@x...>, "'David Megginson (E-mail)'" <david@m...>
  • 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



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member