Working notes 1.2
From cbwiki.net
Note: these are notes related to an unofficial version of RSS-CB. The contents of this page should not be implemented in RSS-CB feeds, as they are subject to change.
The substantial changes from RSS-CB 1.1 to 1.2 bring the specification into conformance with RDF. There are two basic changes:
- For cb: elements with subelements, the addition of parseType="Resource" to the elements. <cb:event>, for example, is now <cb:event rdf:parseType="Resource">. This change applies throughout.
- For cb:elements with both text children and attributes, the transformation of both text children and attributes into subelements, and the creation of a new parent element. <cb:value decimals="4">1.1240</cb:value>, for example, is now
<cb:observation rdf:parseType="Resource"> <cb:value>1.1240</cb:value> <cb:decimals>4</cb:decimals> <cb:unit>percentage</cb:unit> <cb:unit_mult>1</cb:unit_mult> </cb:observationValue>
This change applies to both value (now observation) and observationPeriod in all statistical elements (exchangeRate, interestRate, transaction, and otherStatistic), and to baseCurrency in exchangeRate.
There are four minor changes:
- For the value of cb:audience, 'text' has been changed to 'free text'.
- For cb:paper and cb:speech, the status of the subelement cb:person has been changed from required to optional.
- For cb:speech, the status of cb:affiliation has been changed from optional to required, and the status of cb:jobTitle from optional to recommended.
- For all statistical types, cb:observation has child elements that include both cb:unit and cb:unit_mult.
