Bug ignoring RDF/XML xml:base?

To whom it may concern:

This may not be a bug with CWM, and may instead by user error, but it
seems like CWM is not correctly taking advantage of xml:base information
in the RDF/XML serialization.  To whit, with an RDF/XML baseline of:

    <rdf:RDF 
        xmlns:project="http://through.dnsalias.net/2004/project/"
        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
        xml:base="http://through.dnsalias.net/2003/research/jclark/requirements.xml">

        <project:Article rdf:about="">
        </project>
    </rdf:RDF>

Then using:

    # cwm.py --rdf file.rdf

We get:

    <rdf:RDF xmlns="file:/path/to/file.rdf#"
        xmlns:project="http://through.dnsalias.net/2004/project/"
        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

        <project:Article rdf:about="">
        </project>
    </rdf:RDF>

In particular, if I am correct in my interpretation of the RDF spec, the
statement in the second information set does not refer to the same
resource as that in the first information set.  As a minor secondary
issue, the default xmlns comes out of nowhere.

Thank you, and take care,

    John L. Clark

Received on Tuesday, 2 March 2004 01:45:43 UTC