Re: Trying to understand valid RDF [long]

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 UTC