[jdom-interest] Activating SAX string interning feature by default

Laurent Bihanic laurent.bihanic at atosorigin.com
Fri Jun 27 07:01:15 PDT 2003


Shouldn't SAXBuilder set SAX string interning feature to true by default? Is 
there any drawbacks in using this feature?

Laurent

-- 
                  wWw
                 (o o)
-------------ooO-(_)-Ooo-----------------------------------------------
Laurent Bihanic                | Tel: +33 (0)1 55.91.21.93 (direct)
AtosOrigin Systems Integration |      +33 (0)1 55.91.20.00
e-Business / SC                | Fax: +33 (0)1 55.91.22.31
Les Miroirs - Bat. C           |
18, avenue d'Alsace            |
F-92926 La Defense Cedex       | E-mail: laurent.bihanic at atosorigin.com
-----------------------------------------------------------------------

"Microsoft isn't the answer. Microsoft is the question and the answer
  is no."


DISCLAIMER:
The opinions expressed are entirely my own and may not necessarily be
those of my employer.  Also, I am not now nor have I ever been a
lawyer.  My opinions are provided as-is with absolutely no warrantee of
merchantability or fitness for any particular use.  Besides, you can't
prove I typed this.  No body saw me type this.  Who says I typed this?
-------------- next part --------------
Index: SAXBuilder.java
===================================================================
RCS file: /home/cvspublic/jdom/src/java/org/jdom/input/SAXBuilder.java,v
retrieving revision 1.81
diff -r1.81 SAXBuilder.java
162c162
<         this.validate = validate;
---
>         this(null, validate);
188a189,190
> 
>         setFeature("http://xml.org/sax/features/string-interning", true);


More information about the jdom-interest mailing list