Migration 1.1 to 1.2
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 and the inclusion of an rdf:type element identifying an rdf:resource. <cb:event>, for example, is now <cb:event rdf:parseType="Resource">, and the first child element of it is <rdf:type rdf:resource="http://www.cbwiki.net/wiki/index.php/RSS-CB_1.2_RDF_Schema#Event"/>. 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"> <rdf:type rdf:resource="http://www.cbwiki.net/wiki/index.php/RSS-CB_1.2_RDF_Schema#Observation"/> <cb:value>1.1240</cb:value> <cb:unit>percentage</cb:unit> <cb:unit_mult>1</cb:unit_mult> <cb:decimals>4</cb:decimals> </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.
One other change was made for conformity to RDF, the elimination of the attribute 'cb:type' from cb:person.
There are also a number of minor changes.