W3C home > Mailing lists > Public > www-rdf-interest@w3.org > November 2001

Re: Trying to understand valid RDF [long]

From: Art Barstow <barstow@w3.org>
Date: Thu, 1 Nov 2001 08:43:29 -0500
To: Ian Stuart <Ian.Stuart@ed.ac.uk>
Cc: RDF Interest list <www-rdf-interest@w3.org>
Message-ID: <20011101084329.A19721@w3.org>
On Thu, Nov 01, 2001 at 01:31:50PM +0000, Ian Stuart wrote:
> <?xml version = "1.0" encoding = "UTF-8"?>
> <rdf:RDF xmlns:rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
> xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns:my =
> "http://lucas.ucs.ed.ac.uk/"> 
> 
>   <rdf:Description rdf:about = "http://stacks.iop.org/">  
>     <dc:Title>Institute of Physics STACKS</dc:Title>  
>     <my:query>
>       <rdf:Description rdf:about="http://stacks.iop.org/0001-3072//L">
>         <my:search my:attempted = "1" my:available = "1" my:result = "1"
> my:verified = "0"/>
>         <dc:Description>journal search</dc:Description>   
>         <my:field my:name = "issn">0001-3072</my:field>  

The my:field property does not conform to rule [6.12] in:

 http://www.w3.org/TR/REC-rdf-syntax/#grammar

If a propertyElt contains content (and it does not have
a rdf:parseType attribute), then the ONLY attribute it
can have is rdf:ID.

> and this is giving me the error:
> 'Error: {E201} Syntax error when processing "0001-3072". Encountered
> "0001-3072" Was expecting one of: end element tag property attributes
> attribute rdf:type [Line = 10, Column = 36]'
>          (line 10 is the <my:field ...</..> line)

Yup, what I said.
Received on Thursday, 1 November 2001 08:43:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:52 GMT