Unique Particle Attribution
The Unique Particle Attribution (UPA) rule is a mechanism to prevent ambiguity in W3C XML Schema version 1.0.
Due to the UPA rule the XML schema fragment given below is prohibited:
Given the XML instance fragment:
it is ambiguous whether
This particular example no longer violates the Unique Particle Attribute constraint in XML Schema version 1.1, which disambiguates it by saying that when an element matches both an element particle and a wildcard, the element particle wins. However, the UPA constraint itself remains in version 1.1.
External links
- [http://blogs.msdn.com/b/xmlteam/archive/2005/08/09/449569.aspx Article "UPA in plain English"]
- [https://technet.microsoft.com/en-us/library/ms187822%28SQL.90%29.aspx Article "Understanding the Unique Particle Attribution Constraint"]
- [http://www.w3.org/TR/xmlschema-1/#cos-nonambig XML Schema 1.0: Schema Component Constraint: Unique Particle Attribution]
- [http://lists.w3.org/Archives/Public/www-tag/2004Aug/att-0010/NRMVersioningProposal.html An Approach for Evolving XML Vocabularies Using XML Schema]
- [http://www.w3.org/TR/xmlschema11-1/ XML Schema 1.1 Part 1: Structures]
- [http://www.w3.org/TR/xmlschema11-2/ XML Schema 1.1 Part 2: Datatypes]