Created
July 25, 2012 19:58
-
-
Save barmintor/3178216 to your computer and use it in GitHub Desktop.
RDFXML::Writer is too smart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
expected: | |
<?xml version="1.0"?> | |
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> | |
<rdf:Description rdf:about="info:fedora/test:relsint/DC"> | |
<isMetadataFor xmlns="info:fedora/fedora-system:def/relations-external#" rdf:resource="info:fedora/test:relsint/RELS-INT"/> | |
</rdf:Description> | |
<rdf:Description rdf:about="info:fedora/test:relsint/RELS-EXT"> | |
<asserts xmlns="http://projecthydra.org/ns/relations#">FOO</asserts> | |
</rdf:Description> | |
<rdf:Description rdf:about="info:fedora/test:relsint/RELS-INT"> | |
<asserts xmlns="http://projecthydra.org/ns/relations#">BAR</asserts> | |
</rdf:Description> | |
</rdf:RDF> | |
got: | |
<?xml version="1.0" encoding="UTF-8"?> | |
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ns0="info:fedora/fedora-system:def/relations-external#" xmlns:ns1="http://projecthydra.org/ns/relations#"> | |
<rdf:Description rdf:about="info:fedora/test:relsint/DC"> | |
<ns0:isMetadataFor> | |
<rdf:Description rdf:about="info:fedora/test:relsint/RELS-INT"> | |
<ns1:asserts>BAR</ns1:asserts> | |
</rdf:Description> | |
</ns0:isMetadataFor> | |
</rdf:Description> | |
<rdf:Description rdf:about="info:fedora/test:relsint/RELS-EXT"> | |
<ns1:asserts>FOO</ns1:asserts> | |
</rdf:Description> | |
</rdf:RDF> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment