OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   XSV schema validation error: "violation of constraints on exponents"

[ Lists Home | Date Index | Thread Index ]


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







 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS