OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Another SAX2 Observation

[ 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






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS