-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: jboss-fuse-6.3
-
Fix Version/s: fuse-7.1
-
Component/s: None
-
Labels:None
-
Sprint:Fuse 7.1 Sprint 32
XSD validation in Xerces where the maxLength constraint on an xs:string is actually computed on the Java String.length(). When XML characters are not supported on a single UTF-16 java char[], a surrogate pair is used; leading to a wrong computation of the size of the XML string.
The issue has been fixed in Xerces 2.12 but Fuse packages Xerces 2.11.
See https://issues.apache.org/jira/browse/XERCESJ-1592