[Home] [By Thread] [By Date] [Recent Entries]

  • From: David Brownell <david-b@p...>
  • To: David Megginson <david@m...>
  • Date: Tue, 11 Jan 2000 13:15:52 -0800

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@i...
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.



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member