[Home] [By Thread] [By Date] [Recent Entries]

  • To: xml-dev@l..., ht@i..., richard@c...
  • Subject: XSV schema validation error: "violation of constraints on exponents"
  • From: Razvan MIHAIU <mihaiu@m...>
  • Date: Sat, 02 Apr 2005 23:15:48 +0300
  • User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)


Hi,



    I am using XSV to validate a simple schema:


<?xml version="1.0" encoding="UTF-8"?>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="Root">
        <xsd:complexType>
            <xsd:choice minOccurs="0" maxOccurs="2">
                <xsd:element name="BlockA" type="xsd:string" 
minOccurs="1" maxOccurs="unbounded"/>
                <xsd:element name="BlockB" type="xsd:string" 
minOccurs="1" maxOccurs="1"/>
            </xsd:choice>
        </xsd:complexType>
    </xsd:element>
</xsd:schema>

and I am getting the error:

Schema representation Warnings
Detected during instance validation

file:///d:/XML certification/6 - xsl sample A/document_schema.xsd:7:5: 
Warning: violation of constraints on exponents

    I searched the web for details about what this error means and I 
found that the authors of XSD would like informed about this error:

http://www.ltg.ed.ac.uk/~ht/xsv-status.html -> "What is implemented"


    Anyway, what is the meaning of this error ?

-- 
Regards,
Razvan

SCJP preparation material:

www.mihaiu.name/2004/sun_java_scjp_310_035/index.html
www.mihaiu.name/2004/sun_java_scjp_310_035_test1/index.html
www.mihaiu.name/2004/sun_java_scjp_310_035_test2/index.html
www.mihaiu.name/2004/sun_java_scjp_310_035_test3/index.html
www.mihaiu.name/2004/sun_java_scjp_310_035_test4/index.html




Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member