W3C home > Mailing lists > Public > public-cwm-bugs@w3.org > April 2005

cwm and optional rdf:RDF and DOAP

From: Dan Connolly <connolly@w3.org>
Date: Fri, 29 Apr 2005 09:05:40 -0500
To: public-cwm-bugs@w3.org
Cc: Edd Dumbill <edd@usefulinc.com>, Norman Walsh <ndw@nwalsh.com>
Message-Id: <1114783540.3004.635.camel@localhost>

cwm comes up empty on...

python cwm.py http://norman.walsh.name/2005/projects/xslflickr.doap --n3

The server says it's application/xml and the file doesn't start
with rdf:RDF but doap:Project.

Should cwm have a flag for this? The spec says

"If the content is known to be RDF/XML by context, such as when RDF/XML
is embedded inside other XML content, then the grammar can either start
at Element Event  RDF (only when an element is legal at that point in
the XML) or at production nodeElementList (only when element content is
legal, since this is a list of elements)."

connolly@dirk:/tmp$ HEAD
http://norman.walsh.name/2005/projects/xslflickr.doap 200 OK
Connection: close
Date: Fri, 29 Apr 2005 14:02:43 GMT
Accept-Ranges: bytes
ETag: "18c32c3-65f-427009e2"
Server: Apache/1.3.31 (Unix) DAV/1.0.3 mod_gzip/1.3.26.1a PHP/4.3.10
mod_ssl/2.8.19 OpenSSL/0.9.6c
Content-Length: 1631
Content-Type: application/xml
Last-Modified: Wed, 27 Apr 2005 21:53:38 GMT
Client-Date: Fri, 29 Apr 2005 14:02:43 GMT
Client-Peer: 205.196.222.168:80
Client-Response-Num: 1

Hmm... the canonical DOAP thingy seems to be text/plain.
Or is that just a "view source" copy? Is there a more
official doap-doap.rdf somewhere?

connolly@dirk:/tmp$ HEAD
http://svn.usefulinc.com/svn/repos/trunk/doap/examples/doap-doap.rdf
200 OK
Connection: close
Date: Fri, 29 Apr 2005 13:42:38 GMT
Accept-Ranges: bytes
ETag: "1//trunk/doap/examples/doap-doap.rdf"
Server: Apache/2.0.53 (Ubuntu) DAV/2 SVN/1.1.1 PHP/4.3.10-10ubuntu4
mod_scgi/1.2 mod_ssl/2.0.53 OpenSSL/0.9.7e
Vary: Accept-Encoding,User-Agent
Content-Length: 4713
Content-Type: text/plain
Client-Date: Fri, 29 Apr 2005 13:42:38 GMT
Client-Peer: 205.196.209.231:80
Client-Response-Num: 1

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Friday, 29 April 2005 14:05:59 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:52:00 UTC