You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by "Saha, Sanjeev" <SS...@asce.org> on 2004/10/19 16:51:37 UTC

Attribute usage error

Hello,

Not sure what's the reasoning, but for the following attribute declaration:

<xs:attribute name="Id" type="xs:int" use="optional" default="0"/>

I am getting 'error: Illegal decimal, expected at least one digit' when I pass the following <Sometag Id=''/>

If I drop the attribute from the tag everything works out fine, not if I have it with no value available. Shouldn't it assign zero(0)?

Thanks,
Sanjeev

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