Brandon Sloane created DAFFODIL-2212:
----------------------------------------

             Summary: Enumerations validate length on symbolic elements
                 Key: DAFFODIL-2212
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2212
             Project: Daffodil
          Issue Type: Bug
            Reporter: Brandon Sloane
         Attachments: a.dfdl.xsd

Consider the schema:
{quote}<xs:element name="a" type="SomeEnumType"/>
{quote}
Where SomeEnumType is an enumeration type (eg, has a dfdlx:repType)

If this is the root element, then the schema behaves as expected. However, when 
this is not the root element, Daffodil extraneously complains invalid settings 
on a:

 
{quote}[error] Schema Definition Error: String with dfdl:lengthKind='implicit' 
must have an XSD maxLength facet value.
Schema context: a Location line 25 column 10 in 
file:/home/bsloane/Documents/incubator-daffodil/test/test/a.dfdl.xsd
{quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to