xsd:decimal fractionDigits defaulted 0

Hi guys,

I’m tackling a problem with xsd schema contain an element defined as xs:decimal without any restrictions.

IS created the schema and related document type. However it defaults fractionDigits of Base Constraints to ‘0’, which cause validation error.

Anyone dealt with this before?


Never mind guys. It was my oversight!

The xsd schema imported was from a WSDL and it actually defined as xsd:integer instead, and this is apparently a ‘normal’ behavior to create the data field as decimal with fractionDigits of 0. :roll: