String interning

Toby Speight Toby.Speight at
Wed Jan 19 15:07:16 GMT 2000

Toby> Toby Speight
Toby> <URL:mailto:Toby.Speight at>
Miles> Miles Sabin <URL:mailto:msabin at>

0> In article <uzou4ze5y.fsf at>, Toby wrote:

Toby>     boolean namesAreInterned =
Toby>         xmlReader.getFeature("");
Toby>     if (namesAreInterned)
Toby>         xmlReader = new SAXInterner(xmlReader);

0> In article
0> <AA4C152BA2F9D211B9DD0008C79F760A675217 at>,
0> Miles wrote:

Miles> But shouldn't the marked line read,
Miles>  if (!namesAreInterned)
Miles>    xmlReader = new SAXInterner(xmlReader);

Yes.  Sorry for the screwup.


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