Elliotte Harold <[EMAIL PROTECTED]> wrote on 07/22/2005 09:35:02 PM: > Suppose I turn on interning in the parser by setting the SAX property > http://xml.org/sax/features/string-interning to true. Will Xerces simply
> invoke the String.intern() method on the strings it creates or does it > do something fancier like maintaining its own pool of string constants > and reuse those? It maintains a pool. See org.apache.xerces.util.SymbolTable, specifically the addSymbol() methods. > -- > Elliotte Rusty Harold [EMAIL PROTECTED] > XML in a Nutshell 3rd Edition Just Published! > http://www.cafeconleche.org/books/xian3/ > http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
