![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: Help requested: XML / XSD confusion - "prefix must resolve to a namespace" exception... [Thread Next] Re: Help requested: XML / XSD confusion - "prefix must resolve to a namespace" exception...To: NULL Date: 9/5/2006 4:10:00 AM
Whole document I'm using is:
<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:pd="uri:myUri.com" targetNamespace="uri:myUri.com">
<xsd:simpleType name="positiveInt">
<xsd:restriction base="xsd:positiveInteger">
<xsd:maxLength value="5"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="width">
<xsd:restriction base="xsd:positiveInteger">
<xsd:maxLength value="4"/>
<xsd:minInclusive value="20"/>
<xsd:maxInclusive value="2000"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="height">
<xsd:restriction base="xsd:positiveInteger">
<xsd:maxLength value="4"/>
<xsd:minInclusive value="20"/>
<xsd:maxInclusive value="2000"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>
That's about it... three datatypes defined :)
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
