Enhancements to the hashing algorithms used in internal data structures within Xerces to make them more resistant to collisions. To improve the distribution a new hash function is randomly selected each time the number of items in a bucket exceeds a threshold.

git-svn-id: https://svn.apache.org/repos/asf/xerces/java/trunk@1357381 13f79535-47bb-0310-9956-ffa450edef68
Adding some Javadoc.

git-svn-id: https://svn.apache.org/repos/asf/xerces/java/trunk@1357390 13f79535-47bb-0310-9956-ffa450edef68
Refactor addSymbol() methods into smaller methods. May help the JIT with inlining.

git-svn-id: https://svn.apache.org/repos/asf/xerces/java/trunk@1358350 13f79535-47bb-0310-9956-ffa450edef68
Use SAX2 APIs in samples. SAX1 is deprecated.

git-svn-id: https://svn.apache.org/repos/asf/xerces/java/trunk@1358665 13f79535-47bb-0310-9956-ffa450edef68
Clean-up. Removing unused and irrelevant fields from the sample.

git-svn-id: https://svn.apache.org/repos/asf/xerces/java/trunk@1358668 13f79535-47bb-0310-9956-ffa450edef68
When normalizing a String object to upper- or lower case one needs to be very careful not to rely on the default locale of the platform. This results from the fact that Turkish in particular does not map characters to their upper- or lower case equivalents in English. Where this could pose a problem, we force case conversion to be done according to an English locale.

git-svn-id: https://svn.apache.org/repos/asf/xerces/java/trunk@1358670 13f79535-47bb-0310-9956-ffa450edef68
Making a static field final.

git-svn-id: https://svn.apache.org/repos/asf/xerces/java/trunk@1358672 13f79535-47bb-0310-9956-ffa450edef68
Fixing an NPE.

git-svn-id: https://svn.apache.org/repos/asf/xerces/java/trunk@1358676 13f79535-47bb-0310-9956-ffa450edef68
Fixing JIRA Issue #1574: http://issues.apache.org/jira/browse/XERCESJ-1574. Restoring behaviour from previous releases where UTF-16BE and UTF-16LE were returned as auto-detected encodings.

git-svn-id: https://svn.apache.org/repos/asf/xerces/java/trunk@1363647 13f79535-47bb-0310-9956-ffa450edef68
Fixing a typo in the Javadoc.

git-svn-id: https://svn.apache.org/repos/asf/xerces/java/trunk@1368777 13f79535-47bb-0310-9956-ffa450edef68
Fixing potential NPE. Target namespace of a schema component could be null.

git-svn-id: https://svn.apache.org/repos/asf/xerces/java/trunk@1371253 13f79535-47bb-0310-9956-ffa450edef68
Reducing visibility of some constants.

git-svn-id: https://svn.apache.org/repos/asf/xerces/java/trunk@1375056 13f79535-47bb-0310-9956-ffa450edef68
Fix Javadoc typo.

git-svn-id: https://svn.apache.org/repos/asf/xerces/java/trunk@1375061 13f79535-47bb-0310-9956-ffa450edef68
Introducing a system property for controlling how string length is computed by the schema validator. When org.apache.xerces.impl.dv.xs.useCodePointCountForStringLength=true, the length of an xs:string or xs:anyURI value is calculated by counting the number of Unicode code points in the string. The value of the system property is false by default, preserving the long standing behaviour of computing length in Java chars (i.e. String.length()).

git-svn-id: https://svn.apache.org/repos/asf/xerces/java/trunk@1375610 13f79535-47bb-0310-9956-ffa450edef68
Adding tests for the org.apache.xerces.impl.dv.xs.useCodePointCountForStringLength system property.

git-svn-id: https://svn.apache.org/repos/asf/xerces/java/trunk@1375616 13f79535-47bb-0310-9956-ffa450edef68
Refer to the ElementPSVI interface instead of its implementation.

git-svn-id: https://svn.apache.org/repos/asf/xerces/java/trunk@1375622 13f79535-47bb-0310-9956-ffa450edef68