problem with schema

i make a schema to a collections of documents xml, i defined the schema in tamino, but at load data, show the next error:

<?xml version="1.0" encoding="windows-1252" ?>
  • <ino:response xmlns:ino=“http://namespaces.softwareag.com/tamino/response2” xmlns:xql=“http://metalab.unc.edu/xql/”>
  • <ino:message ino:returnvalue=“0”>
    ino:messagelinedocument processing started</ino:messageline>
    </ino:message>
  • <ino:message ino:returnvalue=“7764”>
    <ino:messagetext ino:code=“INOXDE7764”>(cvc-enumeration-valid) A value not defined in the respective enumeration has been found during validation.</ino:messagetext>
    ino:messagelineLine 1, Column 103: Line 1, Column 103: datatype validation for attribute “idSicti” of type xs:string failed:</ino:messageline>
    </ino:message>
    </ino:response>

in the schema i created a attribute “idSictic” for many elements, this attribute represent a code and have "enumeration"and i assign an interval to him, for example 0 to 1000, or 0 to 50000 depending on the type of element, can be that the error? How I can assign a rank of values for an attribute?
thanks

Hi Claudio

in order to allow a range of values you should use a simple type definition using the {min/max}{In/Ex}clusive facets instread of an enumeration as in

xs:simpleType
<xs:restriction base=“xs:integer”>
<xs:minInclusive value=“0”/>
<xs:maxInclusive value=“0”/>
</xs:restriction>
</xs:simpleType>

Hope that helps
Uli