CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 13:21:41 GMT
content-type: text/html
content-encoding: gzip
last-modified: Thu, 13 Jul 2023 18:29:12 GMT
cache-control: max-age=2592000, public
expires: Mon, 10 Nov 2025 08:44:36 GMT
vary: Accept-Encoding
access-control-allow-origin: *
x-request-id: 98cd13948dd53f48
strict-transport-security: max-age=15552015; preload
x-frame-options: deny
x-xss-protection: 1; mode=block
cf-cache-status: HIT
set-cookie: __cf_bm=78dm76cj.sxXrk.zK1NXfsq7C73tk_tDx3VyE86XcQE-1760188901-1.0.1.1-A2uegqDbVWSyv4f0s3iGzB_jvdNCn7hwhPn8I_QU5qNUx4FXdzL4Q077hednQRBYirjG2fV5OL_Th903iE5rVMbbBN95J11bp6Pi2INvpPI; path=/; expires=Sat, 11-Oct-25 13:51:41 GMT; domain=.w3.org; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 98cea977bbf71ec2-BLR
alt-svc: h3=":443"; ma=86400
Grddl Squirrel 6 test cases from McBride, Brian on 2006-03-09 (public-rdf-in-xhtml-tf@w3.org from March 2006)
Grddl Squirrel 6 test cases
- From: McBride, Brian <brian.mcbride@hp.com>
- Date: Thu, 9 Mar 2006 14:06:48 -0000
- To: <public-rdf-in-xhtml-tf@w3.org>
- Message-ID: <DE62D3D0BDEF184FBB5089C7D387C3748BDC95@sdcexc04.emea.cpqcorp.net>
7 GRDDL test cases exploring what happens when the namespace document is an RDF document. Brian Consider the XML document D at https://example.org/D <foo xmlns="https://example.org/foo.rdf#"/> What GRDDL transforms apply in the following cases? Case 1: The namespace document is an RDF document served with a generic application/xml mime type. At https://example.org/foo.rdf# we have <rdf:RDF xmlns:rdf="https://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dataview="https://www.w3.org/2003/g/data-view#"> <rdf:Description rdf:about="https://example.org/foo.rdf#"> <dataview:namespaceTransformation rdf:resource="https://example.org/t1.xsl"/> </rdf:Description> </rdf:RDF> Case 2: As case 1 but the RDF document is served with mimetype application/xml+rdf Case 3: The namespace document is an RDF document served with mimetype application/xml with a GRDDL transform attribute on the rdf:RDF root element (which is not legal RDF/XML) At https://example.org/foo.rdf# <rdf:RDF xmlns:rdf="https://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dataview="https://www.w3.org/2003/g/data-view#" dataview:transformation="https://example.org/t2.xsl" > <!-- *note* --> <rdf:Description rdf:about="https://example.org/foo.rdf#"> <dataview:namespaceTransformation rdf:resource="https://example.org/t1.xsl"/> </rdf:Description> </rdf:RDF> And at https://example.org/t2.xsl we have <xsl:stylesheet version="1.0" xmlns:xsl="https://www.w3.org/1999/XSL/Transform" xmlns="https://www.w3.org/1999/xhtml"> <!-- Output method XML --> <xsl:output method="xml" indent="yes" omit-xml-declaration="no" encoding="utf-8" /> <xsl:template match="/"> <rdf:RDF xmlns:rdf="https://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="https://example.org/foo.rdf#"> <dataview:namespaceTransformation rdf:resource="https://example.org/t3.xsl"/> </rdf:Description> </rdf:RDF> </xsl:template> </xsl:stylesheet> Case 4: As for case 3 but the RDF document is served with mimetype application/xml+rdf. Case 5: The namespace document is an RDF document served as mimetype application/xml+rdf, with a GRDDL transform attribute on the root element (which is legal RDF/XML) At https://example.org/foo.rdf# <rdf:Description xmlns:rdf="https://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dataview="https://www.w3.org/2003/g/data-view#" dataview:transformation="https://example.org/t2.xsl" rdf:about="https://example.org/foo.rdf#"> <dataview:namespaceTransformation rdf:resource="https://example.org/t1.xsl"/> </rdf:Description> And at https://example.org/t2.xsl same as case 3 Case 6: The namespace document is an RDF document served as mimetype application/xml+rdf, with a GRDDL transform attribute about itself in the content. At https://example.org/foo.rdf# <rdf:RDF xmlns:rdf="https://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dataview="https://www.w3.org/2003/g/data-view#"> <rdf:Description rdf:about="https://example.org/foo.rdf#"> <dataview:namespaceTransformation rdf:resource="https://example.org/t1.xsl"/> </rdf:Description> <rdf:Description rdf:about=""> <dataview:transformation rdf:resource="https://example.org/t2.xsl"/> <!-- *note* --> </rdf:Description> </rdf:RDF> And at https://example.org/t2.xsl same as case 3 Case 7: The namespace document is served as mimetype application/xml+rdf and contains a a dataview:transform property about the original document. <rdf:RDF xmlns:rdf="https://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dataview="https://www.w3.org/2003/g/data-view#"> <rdf:Description rdf:about="https://example.org/foo.rdf#"> <dataview:namespaceTransformation rdf:resource="https://example.org/t1.xsl"/> </rdf:Description> <rdf:Description rdf:about="https://example.org/D"> <dataview:transformation rdf:resource="https://example.org/t2.xsl"/> <!-- *note* --> </rdf:description> </rdf:RDF>
Received on Thursday, 9 March 2006 14:07:04 UTC