Re: Error in RDF parser test cases?

>>>Jan Grant said:
> On Mon, 23 Sep 2002, Arjohn Kampman wrote:
> > I think I've found another error in test 4 of
> > rdf-containers-syntax-vs-schema which isn't related to the xml base
> > issue.

> Looking at the appropriate production rules (editor's working draft at
> http://ilrt.org/discovery/2001/07/rdf-syntax-grammar/#emptyPropertyElt
> ), my reading is that you are correct. I'll confirm this with Dave
> Beckett - if he agrees, I'll modify the test case.

This is one test that I corrected by hand in my copies.  I also fixed
the illegal URI http://foo/ in the rdf/xml to be an allowed one.  I
attache my corrected rdf/xml and N-Triples that would replace the
test case.

The test cases are all relative to the URI of the test cases area,
and relative to the particular test. In this case:
  http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf
but this becomes more apparent when rdf:ID is required, like here.

I can check this in if it seems OK (I checked it visually and
it works with ARP).

Dave
#
# Copyright World Wide Web Consortium, (Massachusetts Institute of
# Technology, Institut National de Recherche en Informatique et en
# Automatique, Keio University).
#
# All Rights Reserved.
#
# Please see the full Copyright clause at
# <http://www.w3.org/Consortium/Legal/copyright-software.html>
#
# $Id$
# 
#####################################################################
_:bar <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/foo/Bar> .
_:bar <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> "1" .
<http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf#e1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .
<http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf#e1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> _:bar .
<http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf#e1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> .
<http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf#e1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> "1" .
_:bar <http://www.w3.org/1999/02/22-rdf-syntax-ns#_2> xml"2" .
_:bar <http://www.w3.org/1999/02/22-rdf-syntax-ns#_3> _:res .
_:res <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/foo/Bar> .
_:bar <http://www.w3.org/1999/02/22-rdf-syntax-ns#_4> _:res2 .
<http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf#e4> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .
<http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf#e4> <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> _:bar .
<http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf#e4> <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_4> .
<http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf#e4> <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> _:res2 .
_:res2 <http://example.org/foo/bar> "foobar".

Received on Monday, 30 September 2002 07:43:00 UTC