String interning (WAS: SAX2/Java: Towards a final form)

David Brownell david-b at pacbell.net
Fri Jan 14 20:13:49 GMT 2000


Miles Sabin wrote:
> 
> > > But I'd much prefer it if the SAX API didn't expose any
> > > interning behaviour at all. I think we agree on that?
> >
> > I think we're *arguing* about that... I don't detect
> > agreement yet. -T.
> 
> Err ... sorry, misunderstanding. My question was directed at
> David B (who I _think_ does agree with me on that).

Nope -- I want to see it _exposed_ but not mandated.  It's
actually OK if parsers do this only for their own benefit,
but it's more useful if apps can tell when it's being done.

The reason not to mandate it is that there are non-parser
applictions of SAX, where it's unreasonable to demand that
the event source guarantee such interning.

- Dave

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/ 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