Mike Beckerle created XERCESC-2249:
--------------------------------------
Summary: In XSD pattern facet regex, hyphen requires escape where
it should not
Key: XERCESC-2249
URL: https://issues.apache.org/jira/browse/XERCESC-2249
Project: Xerces-C++
Issue Type: Bug
Components: Miscellaneous
Affects Versions: 3.2.4
Reporter: Mike Beckerle
v3.2.4 requires escaping of hyphens in XSD pattern facet character classes
where no escape should be needed.
For example, technically, none of the hyphens in this need to be escaped
"[A-Z;%.-]". The first hyphen defines a character range, the second represents
a hyphen character as a literal member of the character class. Xerces C (3.2.4)
requires this latter hyphen to be escaped.
I listed this as minor priority because this causes a clear failure and the
workaround is simple (put in the backslash escape), and that workaround is
compatible with other XSD validators.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]