- From: Henry Story <Henry.Story@Sun.COM>
- Date: Tue, 28 Nov 2006 08:33:45 -0800
- To: Dan Connolly <connolly@w3.org>
- Cc: Danny Ayers <danny.ayers@gmail.com>, GRDDL Working Group <public-grddl-wg@w3.org>
- Message-id: <7F312018-A739-484B-8919-9A6441896E03@Sun.Com>
Hi, thanks Danny for contributing this code to the AtomOwl subversion repository :-) Here is the latest atom2turtle xquery for those who wish to help complete Danny's xslt, or provide feedback on the xquery.
run using latest saxon with java -cp saxon8.jar net.sf.saxon.Query -s feed.atom atom2turtle.xquery Henry On 28 Nov 2006, at 08:12, Dan Connolly wrote: > On Sun, 2006-11-26 at 12:39 +0100, Danny Ayers wrote: >> Pursuant to my action [1] towards - >> >> [#issue-output-formats] whether GRDDL transformations may produce RDF >> in a format other than RDF/XML >> >> I've put an (incomplete) XSLT 1.0 stylesheet at [2], along with a >> sample Atom document [3] which works with it. > > I started building a test case first thing Monday morning; > unfortunately, I tripped w3.org's abuse detector and got > locked out. > > "Specifically, we received at least 500 requests for the same > resource > (URI) from your IP address within a ten-minute time interval." > -- http://www.w3.org/Help/abuse-info/re-reqs.html > > Chime, how do I tell 4suite to not fetch DTDs while it's parsing > XML documents? > > I guess I'll commit what I've got in case it helps somebody > else make progress: > > $ cvs commit -m 'in-progress work on atom2turtle case' > cvs commit: Examining . > RCS file: /w3ccvs/WWW/2001/sw/grddl-wg/td/atom-grddl-output.rdf,v > done > Checking in atom-grddl-output.rdf; > /w3ccvs/WWW/2001/sw/grddl-wg/td/atom-grddl-output.rdf,v <-- > atom-grddl-output.rdf > initial revision: 1.1 > done > RCS file: /w3ccvs/WWW/2001/sw/grddl-wg/td/atom-grddl.xml,v > done > Checking in atom-grddl.xml; > /w3ccvs/WWW/2001/sw/grddl-wg/td/atom-grddl.xml,v <-- atom-grddl.xml > initial revision: 1.1 > done > RCS file: /w3ccvs/WWW/2001/sw/grddl-wg/td/atom2turtle_xslt-1.0.xsl,v > done > Checking in atom2turtle_xslt-1.0.xsl; > /w3ccvs/WWW/2001/sw/grddl-wg/td/atom2turtle_xslt-1.0.xsl,v <-- > atom2turtle_xslt-1.0.xsl > initial revision: 1.1 > done > Checking in testlist1.html; > /w3ccvs/WWW/2001/sw/grddl-wg/td/testlist1.html,v <-- testlist1.html > new revision: 1.13; previous revision: 1.12 > done > Checking in testlist1.rdf; > /w3ccvs/WWW/2001/sw/grddl-wg/td/testlist1.rdf,v <-- testlist1.rdf > new revision: 1.5; previous revision: 1.4 > done > > > >> The sample is taken directly from the Atom spec [4], with added >> grddl:transformation on root element. >> >> Lacking from the XSLT is handling of content datatypes and base URI >> resolution, also a few of the elements. (The datatype & base bits >> could be hairy, I think the remaining elements are all trivial). >> But I >> believe it's adequate for a test case for the issue. >> >> Cheers, >> Danny. >> >> [1] http://www.w3.org/2006/11/22-grddl-wg-minutes.html#action08 >> [2] https://sommer.dev.java.net/atom/2006-06-06/transform/ >> atom2turtle_xslt-1.0.xsl >> [3] https://sommer.dev.java.net/atom/2006-06-06/transform/atom- >> grddl.xml >> [4] http://www.ietf.org/rfc/rfc4287.txt > > -- > Dan Connolly, W3C http://www.w3.org/People/Connolly/ > D3C2 887B 0F92 6005 C541 0875 0F91 96DE 6E52 C29E Home page: http://bblfish.net/ Sun Blog: http://blogs.sun.com/bblfish/ Foaf name: http://bblfish.net/people/henry/card#me
Attachments
- application/octet-stream attachment: atom2turtle.xquery
Received on Tuesday, 28 November 2006 16:34:58 UTC