Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: s10
-
Component/s: None
-
Labels:None
-
Environment:Win7, 0.9.1 CLI
Description
If an element is a string that is restricted with the pattern facet, Daffodil ignores the restriction.
For example, Daffodil allows john,doe to be a valid LocalPart, even though the comma is not an allowed character.
<xsd:element dfdl:textStringPadCharacter="%SP;" name="LocalPart">
|
<xsd:simpleType>
|
<xsd:restriction base="xsd:string">
|
<xsd:pattern value="[.A-Za-z0-9!#$%&'*+-/=?^_`{|}~]+"/>
|
</xsd:restriction>
|
</xsd:simpleType>
|
</xsd:element>
|