W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2002

Doubt about validation

From: Santino Troiani <santino.troiani@next.it>
Date: Fri, 20 Dec 2002 10:05:19 +0100
Message-ID: <001601c2a806$ec30da90$010b010a@next.dom>
To: <xmlschema-dev@w3.org>
Dear xmlschema-dev,

I have a subtle problem. I just uploaded the attached XSD schema file to http://www.w3.org/2000/06/webdata/xsv to be sure the schema is valid, and your validator says that all is OK.

But when I use the schema to validate the XML document also attached I get an error, from any of the available parsers (not from all); in particular:
    Xerces C++,      error
    MSXML 4.0,      no error
    XMLSpy 4.x,     no error
    .NET (System.Xml),  error

The error seems to be in the definition af the type "typeparametersyntax":
<xs:complexType name="typeparametersyntax">
      Fixed text and/or variable data but not empty!
    <xs:element name="Text" type="xs:string"/>
      <xs:element name="Text" type="xs:string"/>
      <xs:element ref="data"/>
    <xs:element ref="data"/>

the parsers that report error claim for non-deterministic content model (not so clearly, however!).

Why your parser doesn't report any error ?
Can you give me any suggestion to solve the problem ?

Thank you in advance.


Received on Friday, 20 December 2002 04:30:02 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:59 UTC