SAX2/Java: Towards a final form

David Brownell david-b at
Tue Jan 11 21:16:01 GMT 2000

David Megginson wrote:
>  > > That's a good question -- should SAX2 require that all names and
>  > > Namespace URIs be interned (i.e. == to the results of
>  > > java.lang.String.intern)?
> I don't know if there's a lot of benefit in requiring this, though --
> it's just a trial balloon right now.

I almost hesitate to suggest exposing it as a feature, but that
may be the right way to go.  Apps depending on "==" and "!=" for
fast comparisons could just reject parsers that don't do it, and
others wouldn't care.  I can't see any parser bothering to make
that feature state mutable -- the cost is writing the code, not
running it.

- Dave

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: or CD-ROM/ISBN 981-02-3594-1
Please note: New list subscriptions now closed in preparation for transfer to OASIS.

More information about the Xml-dev mailing list