String interning

Toby Speight Toby.Speight at streapadair.freeserve.co.uk
Wed Jan 19 15:07:16 GMT 2000


Toby> Toby Speight
Toby> <URL:mailto:Toby.Speight at streapadair.freeserve.co.uk>
Miles> Miles Sabin <URL:mailto:msabin at cromwellmedia.co.uk>


0> In article <uzou4ze5y.fsf at lanber.cam.eu.citrix.com>, Toby wrote:

Toby>     boolean namesAreInterned =
Toby>         xmlReader.getFeature("http://xml.org/sax/features/interned-names");
Toby>
Toby>     if (namesAreInterned)
Toby>         xmlReader = new SAXInterner(xmlReader);


0> In article
0> <AA4C152BA2F9D211B9DD0008C79F760A675217 at odin.cromwellmedia.co.uk>,
0> Miles wrote:

Miles> But shouldn't the marked line read,
Miles>
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 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