Author: mrglavas
Date: Tue Feb 23 19:00:14 2010
New Revision: 915483

URL: http://svn.apache.org/viewvc?rev=915483&view=rev
Log:
Adding an internal feature called: 
"http://apache.org/xml/features/internal/strings-interned";. This makes it 
possible for applications to notify a ValidatorHandler that they are providing 
it with interned strings, allowing the ValidatorHandler to avoid passing 
strings for XML names through the SymbolTable.

Modified:
    xerces/java/trunk/src/org/apache/xerces/impl/Constants.java

Modified: xerces/java/trunk/src/org/apache/xerces/impl/Constants.java
URL: 
http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/impl/Constants.java?rev=915483&r1=915482&r2=915483&view=diff
==============================================================================
--- xerces/java/trunk/src/org/apache/xerces/impl/Constants.java (original)
+++ xerces/java/trunk/src/org/apache/xerces/impl/Constants.java Tue Feb 23 
19:00:14 2010
@@ -283,6 +283,9 @@
     /** Tolerate duplicates feature ("internal/tolerate-duplicates"). */
     public static final String TOLERATE_DUPLICATES_FEATURE = 
"internal/tolerate-duplicates";
     
+    /** String interned feature ("internal/strings-interned"). */
+    public static final String STRINGS_INTERNED_FEATURE = 
"internal/strings-interned";
+    
     /** XInclude processing feature ("xinclude"). */
     public static final String XINCLUDE_FEATURE = "xinclude";
     
@@ -525,6 +528,7 @@
             UNPARSED_ENTITY_CHECKING_FEATURE,
             NAMESPACE_GROWTH_FEATURE,
             TOLERATE_DUPLICATES_FEATURE,
+            STRINGS_INTERNED_FEATURE,
     };
     
     /** Xerces properties. */



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to