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:
  1. Re: XML Schema Updates (from Curt.Tilmes@nasa.gov on 2012-09-20)
  2. 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

Curt Tilmes, 18 Sep 2012, 14:04:09

Display change log ATOM feed


Chair, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 494.html,v 1.1 2013-06-20 07:37:48 vivien Exp $