ISSUE-494: Make prov:ref a required attribute for Ref complexTypes
Make prov:ref a required attribute for Ref complexTypes
- State:
- CLOSED
- Product:
- XML Serialization
- Raised by:
- Curt Tilmes
- Opened on:
- 2012-09-07
- Description:
- xs:attributes are optional by default. The complex types for the reference attributes (ActivityRef, EntityRef, AgentRef, DependencyRef and AnyRef) define xs:attribute prov:ref, but make it optional.
This allows one, for example, to specify "<prov:entity />" with no actual entity prov:ref reference even if the semantics require an entity to be specified.
I think in every case when an element of one of our complexTypes is defined as one of those type prov:*Refs prov:ref should be a required attribute of those elements.
I propose to add 'use="required" to the attribute definitions for prov:ref for each of those *Ref complexTypes, making prov:ref a required attribute for each element with one of those types.
- Related Actions Items:
- No related actions
- Related emails:
- Re: XML Schema Updates (from Curt.Tilmes@nasa.gov on 2012-09-20)
- PROV-ISSUE-494: Make prov:ref a required attribute for Ref complexTypes (from sysbot+tracker@w3.org on 2012-09-07)
Related notes:
Made the changes to the schema:
http://dvcs.w3.org/hg/prov/rev/b88f0f02344f
Display change log