Author: mukulg
Date: Wed Dec 22 11:37:27 2021
New Revision: 1896272

URL: http://svn.apache.org/viewvc?rev=1896272&view=rev
Log:
xercesj commit: improving an earlier test case. also committing improvements, 
to following xpath 2.0 regex multi-character escapes : ., \s, \S. the latest 
xpath 2.0 source code improvements have been pushed at 
https://github.com/xercesj/xpath20.

Modified:
    
xerces/java/branches/xml-schema-1.1-dev/tools/org.eclipse.wst.xml.xpath2.processor_1.2.1.jar
    xerces/java/branches/xs-1.1-tests/data/assertions/unicode/regex_test_1.xsd

Modified: 
xerces/java/branches/xml-schema-1.1-dev/tools/org.eclipse.wst.xml.xpath2.processor_1.2.1.jar
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/tools/org.eclipse.wst.xml.xpath2.processor_1.2.1.jar?rev=1896272&r1=1896271&r2=1896272&view=diff
==============================================================================
Binary files - no diff available.

Modified: 
xerces/java/branches/xs-1.1-tests/data/assertions/unicode/regex_test_1.xsd
URL: 
http://svn.apache.org/viewvc/xerces/java/branches/xs-1.1-tests/data/assertions/unicode/regex_test_1.xsd?rev=1896272&r1=1896271&r2=1896272&view=diff
==============================================================================
--- xerces/java/branches/xs-1.1-tests/data/assertions/unicode/regex_test_1.xsd 
(original)
+++ xerces/java/branches/xs-1.1-tests/data/assertions/unicode/regex_test_1.xsd 
Wed Dec 22 11:37:27 2021
@@ -6,13 +6,13 @@
           <xs:sequence>
              <xs:element name="a" type="xs:string" maxOccurs="unbounded"/>
           </xs:sequence>
-          <xs:assert test="matches(a[1], '[\p{Ll}]+')"/>
-          <xs:assert test="matches(a[1], '[\p{IsBasicLatin}]+')"/>          
-          <xs:assert test="matches(a[1], '[\P{IsLatin-1Supplement}]+')"/>
-          <xs:assert test="matches(a[1], '[\P{IsArabic}]+')"/>
-          <xs:assert test="matches(a[2], '[\p{IsLatin-1Supplement}]+')"/>
-          <xs:assert test="matches(a[3], '[\p{Lu}]+')"/>
-          <xs:assert test="matches(a[4], '[\p{L}]+')"/>
+          <xs:assert test="matches(a[1], '\p{Ll}')"/>
+          <xs:assert test="matches(a[1], '\p{IsBasicLatin}')"/>          
+          <xs:assert test="matches(a[1], '\P{IsLatin-1Supplement}')"/>
+          <xs:assert test="matches(a[1], '\P{IsArabic}')"/>
+          <xs:assert test="matches(a[2], '\p{IsLatin-1Supplement}')"/>
+          <xs:assert test="matches(a[3], '\p{Lu}')"/>
+          <xs:assert test="matches(a[4], '\p{L}')"/>
        </xs:complexType>
     </xs:element>
 



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

Reply via email to