Re: SAX: two alternatives for namespaces

Chris Hubick (maillist@chris.hubick.com)
Thu, 30 Jul 1998 10:34:02 +0000 (GMT)


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@hubick.com
http://www.hubick.com/