Task #4107
Updated by Dave Vieglais about 11 years ago
The Foresite library for Python generates the following section:
<pre>
<rdf:Description rdf:about="http://www.openarchives.org/ore/terms/Aggregation">
<rdfs1:label>Aggregation</rdfs1:label>
<rdfs1:isDefinedBy>http://www.openarchives.org/ore/terms/</rdfs1:isDefinedBy>
</rdf:Description>
</pre>
While it should look like this:
<pre>
<rdf:Description rdf:about="http://www.openarchives.org/ore/terms/Aggregation">
<rdfs1:label>Aggregation</rdfs1:label>
<rdfs1:isDefinedBy rdf:resource="http://www.openarchives.org/ore/terms/"/>
</rdf:Description>
</pre>
For now, I have added an ugly hack in d1_client.data_package to work around this (a string replace on the serialized document).
<pre>
<rdf:Description rdf:about="http://www.openarchives.org/ore/terms/Aggregation">
<rdfs1:label>Aggregation</rdfs1:label>
<rdfs1:isDefinedBy>http://www.openarchives.org/ore/terms/</rdfs1:isDefinedBy>
</rdf:Description>
</pre>
While it should look like this:
<pre>
<rdf:Description rdf:about="http://www.openarchives.org/ore/terms/Aggregation">
<rdfs1:label>Aggregation</rdfs1:label>
<rdfs1:isDefinedBy rdf:resource="http://www.openarchives.org/ore/terms/"/>
</rdf:Description>
</pre>
For now, I have added an ugly hack in d1_client.data_package to work around this (a string replace on the serialized document).