You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by Hilco Wijbenga <hi...@gmail.com> on 2007/01/20 06:59:47 UTC
Restrictions
I tried something like this:
<xsd:simpleType name="MyIntValue">
<xsd:restriction base="xsd:int">
<xsd:minInclusive value="2"/>
</xsd:restriction>
</xsd:simpleType>
The resulting code seems to ignore the restriction (i.e. I can set a
value of 1 without any complaint). Looking at the code that's not too
surprising: I see nothing resembling a check for at least 2.
Restrictions are not listed on the "Missing features" page. Should this work?
Cheers,
Hilco
---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org
Re: Restrictions
Posted by Hilco Wijbenga <hi...@gmail.com>.
> Worth a bug report.
https://issues.apache.org/jira/browse/JAXME-90
---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org
Re: Restrictions
Posted by Jochen Wiedmann <jo...@gmail.com>.
On 1/20/07, Hilco Wijbenga <hi...@gmail.com> wrote:
> The resulting code seems to ignore the restriction (i.e. I can set a
> value of 1 without any complaint). Looking at the code that's not too
> surprising: I see nothing resembling a check for at least 2.
>
> Restrictions are not listed on the "Missing features" page. Should this work?
Worth a bug report.
--
How fast can a year go? As fast as your childs first year.
---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org