Steve Lawrence created DAFFODIL-3095:
----------------------------------------
Summary: xs:integer minInclusive facet value found to be outside
Integer range
Key: DAFFODIL-3095
URL: https://issues.apache.org/jira/browse/DAFFODIL-3095
Project: Daffodil
Issue Type: Task
Components: Front End
Reporter: Steve Lawrence
Fix For: 4.3.0
This schema snippet uses an xs:integer to represent a field and uses
min/maxInsclusive to restrict it to the range of int64:
{code:xml}
<element name="foo" ... >
<simpleType>
<restriction base="xs:integer">
<minInclusive value="-9223372036854775807" />
<maxInclusive value="9223372036854775807" />
</restriction>
</simpleType>
</element>
{code}
This fails to compile with the error:
{code}
[error] Schema Definition Error: minInclusive facet value
(-9223372036854775807) was found to be outside of Integer range.
{code}
Additional testing found that minInclusive values less than-2147483648 (m
--
This message was sent by Atlassian Jira
(v8.20.10#820010)