SAX: two alternatives for namespaces

Chris Hubick maillist at chris.hubick.com
Thu Jul 30 19:38:46 BST 1998


On Thu, 30 Jul 1998, Chris Hubick wrote:

> I have been trying to think of a clean way to support namespaces
> without having to change the current SAX (Level 1) spec. How about an
> interface that works similar to Locator:
> 
> public interface NameSpace {
> 
>   String getNameURI();
> 
> }

	Actually, the Handler would have to still receive the fully
qualified base+uri name as before, so make that:

public interface NameSpace {

  String getNameBase();
  String getNameURI();

}

---
Chris Hubick
mailto:chris at hubick.com
http://www.hubick.com/



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list