G2 CR00147: adding @uri to properties
IPTC G2-Standards: Change Request document
Title: Adding a uri attribute to G2 properties
Change Request number: CR00147
Standard to be changed (delete the inappropriate ones): NewsML-G2
Standard’s version to be changed: 2.10
| Change Request History | |||
| Version | Date | Author(s) | Notes |
| 1 | 2011-11-11 | Michael Steidl, for NAR-dev group | |
| 2 | 2012-01-13 | Michael Steidl, update | |
| 3 | 2012-01-27 | NAR-dev group: review + agreement | |
Typographic note
Changes to existing documents/specifications are highlighted in yellow.
Editing notes for the spec documents are highlighted in cyan.
In drafts only: Text highlighted in magenta needs further discussion
Description of the change: (free-text)
An attribute named uri is added to all G2 properties which provide a metadata value and this value can currently be expressed by a QCode, typically this properties have a qcode attribute.
Rationale for the change:
QCodes are a short format of a Concept URI. Recent discussions showed that there are use cases where it is required to save the full format of the Concept URI with a metadata property. This should be possible in an alternative way - either the @qcode or the @uri is used - or in a parallel way - both @qcode and @uri are used.
Reference to related IPTC discussion(s) (on Yahoo groups etc):
NAR-dev conference call on 28 October 2011 - see the notes of this call.
Formalised change request: (spec table etc.)
A) Add an attribute to G2 elements having a @qcode attribute
|
Header |
Value |
||||
|
(XML) Data Model |
Element | ||||
|
Namespace (prefix |
nar |
||||
|
Name |
All G2 properties having a qcode attribute | ||||
|
Title |
|
||||
|
Definition |
|
||||
|
User Note(s |
Rule for @qcode and @uri in an element: Processing rule: - An element SHOULD NOT use both a @qcode and a @uri. This rule applies to all properties except conceptId. - If both attributes, @qcode and @uri, are present the @qcode takes precedence. |
||||
|
Implementation Note(s) |
|
||||
|
XML Schema Spec |
At: CCL and PCL |
||||
|
Datatype |
|
||||
|
Internally Ctrl Values |
|
||||
|
Externally Ctrl Values |
|
||||
|
Attributes |
|
||||
|
Child elements |
|
||||
|
XML Schema Note(s) |
XML Schema design: Each G2 element having a @qcode attribute shall have a @uri attribute. |
||||
|
Examples: |
<subject qcode="medtop:01000000" uri="http://cv.iptc.org/newscodes/mediatopic/01000000" /> <conceptId qcode="cinat:concept" uri="http://cv.iptc.org/newscodes/cinature/concept" /> |