FANDOM


The Unique Particle Attribution (UPA) rule is XML schema's mechanism to prevent schema ambiguity.

Due to the UPA rule the schema fragment given below is prohibited.

 <xsd:sequence>
   <xsd:element name="x" type="xsd:integer" minOccurs="0"/>
   <xsd:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
 </xsd:sequence>

Given the instance fragment:

 <x>42</x>

It is not possible to create a Post-Schema-Validation Infoset, because it is ambiguous whether <x> should be associated with the element declaration x, or the wildcard (xsd:any).

The W3C schema workgroup is considering weak wildcards for schema version 1.1. Using weak wildcards, the explicit element declaration would always take precedence (<x> is associated with the element declaration), thus removing the ambiguity.

See alsoEdit

External linksEdit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.