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

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-policy message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: NEW ISSUE: Fix SCA Policy schema complex types for Qualifier and PolicySet



TARGET: SCA Policy Schema

DESCRIPTION: Some accessible versions sca-policy.xsd have errors in two
complex types involving a choice over elements from the targetNamespace
and from a web service policy namespace. Since the wsp policy elements
are not in the targetNamespace, the "any" element clause
(namespace="##other") would also apply to them along with the
wsp:element clauses explicitly mentioned. Hence, the derivation would be
ambiguous.

<complexType name="Qualifier">
		<choice minOccurs="1" maxOccurs="unbounded">
			<element name="intentMap" type="sca:IntentMap"/>
			<element ref="wsp:PolicyAttachment"/>
			<any namespace="##other" processContents="lax"/>
		</choice>
		<attribute name="name" type="string" use="required"/>
		<anyAttribute namespace="##any" processContents="lax"/>
	</complexType>

<complexType name="PolicySet">
		<choice minOccurs="0" maxOccurs="unbounded">
			<element name="policySetReference"
type="sca:PolicySetReference"/>
			<element name="intentMap" type="sca:IntentMap"/>
			<element ref="wsp:PolicyAttachment"/>
			<element ref="wsp:Policy"/>
			<element ref="wsp:PolicyReference"/>
			<any namespace="##other" processContents="lax"/>
		</choice>
		<attribute name="name" type="QName" use="required"/>
		<attribute name="provides" type="sca:listOfQNames"
use="optional"/>
		<attribute name="appliesTo" type="string"
use="required"/>
		<anyAttribute namespace="##any" processContents="lax"/>
	</complexType>

PROPOSAL: Fix. 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]