W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > April 2001

Re: test cases and MIME attachments [was: ...prefix-confusion...]

From: Dan Connolly <connolly@w3.org>
Date: Mon, 23 Apr 2001 09:43:31 -0500
Message-ID: <3AE43F93.89BBF429@w3.org>
To: Brian McBride <bwm@hplb.hpl.hp.com>, Dave Beckett <dave.beckett@bristol.ac.uk>, rdf core <w3c-rdfcore-wg@w3.org>
Dan Connolly wrote:
> I suggest folks attach test cases; that way, they
> get handy HTTP URIs that you can feed to sirpac
> etc.

hmm... not if the attachment is text/plain, evidently

trying again...

(perhaps I should use www-archive for these tests...
but I expect folks won't mind...)

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
<?xml version="1.0" encoding="ISO-8859-1"?>
<rdf:RDF xmlns:rdf  = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:rdfs = "http://www.w3.org/2000/01/rdf-schema#"
         xmlns:foo  = "http://example.org/foo">
  <!-- test cases for RDF Issue:

    
http://www.w3.org/2000/03/rdf-tracking/#rdf-ns-prefix-confusion

    $Id$

  -->

  <!-- a qualified syntactic attribute on a Description element -->

  <rdf:Description rdf:ID="test1">
    <rdf:type resource="#test1"/>
  </rdf:Description>

  <!-- an unqualified syntactic attribute on a Description element -->

  <rdf:Description ID="test2">
    <rdf:type rdf:resource="#test2"/>
  </rdf:Description>
  
  <!-- a non syntactic unqualified attribute in the RDF namespace on
       a Description element -->

  <rdf:Description ID="test3" value="test3"/>

  <!-- an unqualified attribute not in the RDF namespace
       on a Description element  -->

  <rdf:Description ID="test4" foo="test4"/>

  <!-- a qualified syntactic attribute on a typed node element in the
       RDF namespace -->

  <rdf:Statement rdf:ID="test5"/>

  <!-- an unqualified syntactic attribute on a typed node element in the
       RDF namespace -->

  <rdf:Statement ID="test6"/>

  <!-- an unqualified non syntactic attribute on a typed node element
       in the RDF namespace -->

  <rdf:Statement ID="test7" value="test7"/>

  <!-- an unqualified attribute not in the RDF namespace on a typed
node
       element in the RDF namespace -->

  <rdf:Statement ID="test8" foobar="test8"/>

  <!-- a qualified syntactic attribute on a typed node element not in
the
       RDF namespace -->

  <foo:bar rdf:ID="test9"/>

  <!-- an unqualified syntactic attribute on a typed node element not in
       the RDF namespace -->

  <foo:bar ID="test10"/>

  <!-- an unqualified syntactic attribute on a typed node element in
       another namespace -->

  <foo:bar rdf:ID="test11" attr="test11"/>

  <!-- a qualified syntactic attribute on a property element production
-->

  <rdf:Description rdf:ID="test12">
    <rdf:type rdf:resource="#test12"/>
  </rdf:Description>

  <!-- an unqualified syntactic attribute in a property element in the
RDF
       namespace -->

  <rdf:Description rdf:ID="test13">
    <rdf:type resource="#test13"/>
  </rdf:Description>

  <!-- an unqualified non-syntactic attribute in the RDF namespace on
a
       property element in the RDF namespace -->

  <rdf:Description rdf:ID="test14">
    <rdf:subject value="test14"/>
  </rdf:Description>

  <!-- an attribute not in the RDF namespace on a property element in
the
       RDF namespace -->

  <rdf:Description rdf:ID="test15">
    <rdf:type foobar="test15"/>
  </rdf:Description>

  <!-- an unqualified attribute in the RDFS namespace on an element in
the
       RDFS namespace -->

  <rdfs:Class rdf:ID="test16" label="test16"/>

  <!-- qualified container membership property -->

  <rdf:Bag rdf:_1="test17"/>

  <!-- unqualified container membership property -->

  <rdf:Bag _1="test18"/>

</rdf:RDF>
Received on Monday, 23 April 2001 10:44:42 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 09:35:04 EDT