W3C home > Mailing lists > Public > public-cwm-bugs@w3.org > March 2004

Bug ignoring RDF/XML xml:base?

From: John L. Clark <jlc6@po.cwru.edu>
Date: Mon, 1 Mar 2004 22:36:08 -0800
To: public-cwm-bugs@w3.org
Message-ID: <20040302063608.GA1383@bottle.cs.nps.navy.mil>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:58 GMT