You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Doug Helton <dh...@ideorlando.org> on 2001/10/03 21:09:50 UTC

Xerces DataType Validation Problem

using Xerces 1.4.3, I have this in my schema:

<xsd:element name="dataType">
<xsd:simpleType>
<xsd:restriction base="xsd:integer"/>
</xsd:simpleType>
</xsd:element>

and in my xml file I have this:

<attribute>
<attributeName>velocity</attributeName>
<dataType>string</dataType>
</attribute>

The parser reports the error, but the term it uses is not correct, it is
reffering to the datatype as a decimal instead of an int:

Datatype error: In element 'dataType' : 'string' is not a decimal.

Does anyone know why it refers to integer as decimal?

Thanks,

Doug


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org