Problem: I originally built a xsd Schema for a xml file. The element I was designing was a "cpostcode" that has a restriction of 2000-7999. This was my code and then the error.
Original Code
Error was complaining about minInclusive tag.<xsd:element name = "cpostcode">
<xsd:simpletype>
<xsd:mininclusive value = "2000">
<xsd:maxinclusive value = "7999">
</xsd:simpleType>
</xsd:element>
Solution: A restriction tag is needed for minInclusive and needs a attribute type.
Solution code is as follows
I added a restriction type with a base of xsd:integer around the minInclusive and maxInclusive tags.<xsd:element name = "cpostcode">
<xsd:simpletype>
<xsd:restriction base="xsd:integer">
<xsd:mininclusive value = "2000">
<xsd:maxinclusive value = "7999">
</xsd:restriction>
</xsd:simpleType>
</xsd:element>


1 comments:
[url=http://www.comprarecialisgenericoinitalia.it/]cialis forum[/url]
[url=http://www.comprarelevitrainitalia.it/]acquistare levitra italia[/url]
[url=http://www.comprareclomidonline.it/]acquistare clomid[/url]
[url=http://www.comprarepropeciainitalia.it/]dove acquistare propecia generico[/url]
[url=http://www.comprareviagrainitalia.it/]viagra per donne forum[/url]
Post a Comment