Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: unhandled cos-all-limited 1.2

From: "Zafar Abbas" <Zafar.Abbas@---------.--->
To: "Kasimier Buchcik" <K.Buchcik@---------.-->
Date: 10/7/2005 3:06:00 AM
Kasimier, I tried these three schemas with MSXML 4 SP2, which did not
accept them; so they are correctly treated as Invalid.

Thanks,
Zafar

-----Original Message-----
From: xmlschema-dev-request@w... [mailto:xmlschema-dev-request@w...]
On Behalf Of Kasimier Buchcik
Sent: Friday, October 07, 2005 4:14 AM
To: Kasimier Buchcik
Cc: ML-xml-schema-dev
Subject: Re: unhandled cos-all-limited 1.2


Hi,

On Tue, 2005-06-07 at 17:58 +0200, Kasimier Buchcik wrote:
> Hi,
> 
> FYI, the following schemata should all be invalid - at least I
> think so - according to cos-all-limited (1.2).
> 
> Results of some schema processors:
> 
> processor         A        B        C
> Xerces-J 2.6.2    invalid  invalid  valid
> MSXML 4.0         valid    valid    valid
> XSV 2.10          valid    valid    valid

Additional results:

  Saxon             invalid  invalid  valid
  SQC               invalid  valid    valid
  Libxml2           invalid  invalid  invalid

Implementing this behaviour in Libxml2 resulted
in some more failures (> 20) in the MS (ModelGroups)
part of the W3C XML Schema test suite on my side.
This means that those tests are probably broken.

Regards,

Kasimier

> schema A
> --------
> <!-- extension, results in (xs:sequence(xs:all, xs:sequence))-->
> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> 	targetNamespace="urn:test:foo"
> 	xmlns:f="urn:test:foo"
> 	elementFormDefault="qualified">
> 
> 	<xsd:complexType name="typeA">
> 		<xsd:all>
> 			<xsd:element name="boo"/>
> 		</xsd:all>
> 	</xsd:complexType>
> 	<xsd:complexType name="typeB">
> 		<xsd:complexContent>
> 			<xsd:extension base="f:typeA">
> 				<xsd:sequence>	=09
> 					<xsd:element name="moo"/>
> 				</xsd:sequence>
> 			</xsd:extension>
> 		</xsd:complexContent>
> 	</xsd:complexType>
> 	<xsd:element name="foo" type="f:typeB"/>
> 
> </xsd:schema>
> 
> schema B
> --------
> <!-- group ref., results in (xs:sequence(xs:all)) -->
> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> 	targetNamespace="urn:test:foo"
> 	xmlns:f="urn:test:foo"
> 	elementFormDefault="qualified">
> 
> 	<xsd:group name="group">
> 		<xsd:all>
> 			<xsd:element name="boo"/>
> 		</xsd:all>
> 	</xsd:group>
> 	<xsd:complexType name="type">
> 		<xsd:sequence>
> 			<xsd:group ref="f:group"/>
> 		</xsd:sequence>
> 	</xsd:complexType>
> 	<xsd:element name="foo" type="f:type"/>
> 
> </xsd:schema>
> 
> schema C
> --------
> <!-- group ref., particle with maxOccurs of 5 -->
> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> 	targetNamespace="urn:test:foo"
> 	xmlns:f="urn:test:foo"
> 	elementFormDefault="qualified">
> 
> 	<xsd:group name="group">
> 		<xsd:all>
> 			<xsd:element name="boo"/>
> 		</xsd:all>
> 	</xsd:group>
> 	<xsd:complexType name="type">
> 		<xsd:group ref="f:group" maxOccurs="5"/>	=09
> 	</xsd:complexType>
> 	<xsd:element name="foo" type="f:type"/>
> 
> </xsd:schema>
> 
> Regards,
> 
> Kasimier
> 



From petexmldev@t... Sat Oct 08 08:50:23 2005
Received: from maggie.w3.org ([193.51.208.68])
	by frink.w3.org with esmtp (Exim 4.50)
	id 1EOAPP-0002wA


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent