W3C home > Mailing lists > Public > xml-encryption@w3.org > April 2002

Schema validation problem

From: Blair Dillaway <blaird@microsoft.com>
Date: Wed, 10 Apr 2002 10:08:37 -0700
Message-ID: <AA19CFCE90F52E4B942B27D42349637902CDCF95@red-msg-01.redmond.corp.microsoft.com>
To: <xml-encryption@w3.org>
In the latest XML Enc schema, the definition below generates an
ambiguous content type error on validation .  I'm not certain about the
best way to fix this, but believe we should fix it.  Any suggestions?

	<element name="AgreementMethod"
type="xenc:AgreementMethodType"/>
	<complexType name="AgreementMethodType" mixed="true">
	<sequence>
	<element name="KA-Nonce" type="base64Binary" minOccurs="0"/>
	<element ref="ds:DigestMethod" minOccurs="0"/>
	<element name="OriginatorKeyInfo" type="ds:KeyInfoType"
minOccurs="0"/>
	<element name="RecipientKeyInfo" type="ds:KeyInfoType"
minOccurs="0"/>
	<any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
	</sequence>
	<attribute name="Algorithm" type="anyURI" use="required"/>
	</complexType>

Blair
Received on Wednesday, 10 April 2002 13:09:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:42:20 GMT