TEST :branch : restriction of two patterns in a simple type (1) "[abc]+" (2) "[123]+", should allow only the intersection, value="a1" [invalid]

http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/datatypes.html#regexs


TEST p20 - p20

FILES

ItemValue
title p20 - p20
name p20
source ../p20.xsd
schemaName ../p20.xsd
executeClass com.sun.jaxb_tck.sigtest.JAXBTest
executeArgs -TestURL $testURL -Plugin com.sun.jaxb_tck.sigtest.JaxbPlugin -FileName p20.sig -PackageWithoutSubpackages $package
keywords schema positive
package javasoft.sqe.tests.regex.p20
signature p20.sig


TEST p20.v - p20

FILES

ItemValue
title p20.v - p20
name p20.v
source ../p20.xsd
schemaName ../p20.xsd
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.JAXBTest
executeArgs -TestURL $testURL -package $package -out :ref -document ../p20.xml -pcontent p20-p20.jbx
keywords positive document
package javasoft.sqe.tests.regex.p20
document ../p20.xml
jb-context p20-p20.jbx


%Copyright% © 2017, 2020 Oracle and/or its affiliates. All rights reserved.