Re: RDF Validation

I can't comment on your original example (since we don't have it), but 
in the snippet below you have

 >     <owl:Class rdf:ID="Activity">
 >         <rdfs:subClassOf>
 >             <owl:Class rdf:resource="#PossibleIndividual"/>
 >         </rdfs:subClassOf>
 >     ...

for which the validator throws an E201.  Replacing it with

 >     <owl:Class rdf:ID="Activity">
 >         <rdfs:subClassOf rdf:resource="#PossibleIndividual"/>
 >     ...

fixes the problem.

--Frank

Hans Teijgeler wrote:
> Hi,
> 
>  
> 
> I need some help.
> 
>  
> 
> When validating the RDF syntax of an RDF/XML file by means of the W3C 
> RDF Validation Service <http://www.w3.org/RDF/Validator/> I got Error 
> E201 all over the place, all at the same kind of place, and I don't 
> understand what could possibly be wrong. I checked the file for XML 
> well-formedness, and it passed the test.
> 
>  
> 
> Below is a snippet of the file, and the related error message. I colored 
> that line 185 in red (the fifth line of the snippet, for the colorblind 
> e-mail systems). Strange enough the validator didn't have problems with 
> the comment line 10 lines below (marked in green)
> 
>  
> 
>     <owl:Class rdf:ID="Activity">
> 
>         <rdfs:subClassOf>
> 
>             <owl:Class rdf:resource="#PossibleIndividual"/>
> 
>         </rdfs:subClassOf>
> 
>         <rdfs:comment 
> rdf:datatype="http://www.w3.org/2001/XMLSchema#string">
> 
>             DEFINITION An Activity is a PossibleIndividual that brings 
> about change by
> 
>             causing the Event that marks the Beginning, or the Event 
> that marks the
> 
>             Ending of a PossibleIndividual .
> 
>             An Activity consists of the temporal parts of those members of
> 
>             PossibleIndividual that participate in the Activity. The 
> participating
> 
>             temporal parts will be classified by the 
> ParticipatingRoleAndDomain
> 
>             that indicates the role of the temporal part in the Activity .
> 
>         </rdfs:comment>
> 
>         <rdfs:comment 
> rdf:datatype="http://www.w3.org/2001/XMLSchema#string">
> 
>             EXAMPLE Pumping a fluid with a mechanical pump can be 
> represented by an
> 
>             instance of Activity .         
> 
>         </rdfs:comment>
> 
>     </owl:Class>
> 
>  
> 
> Error: {E201} Unusual Syntax error when processing general start element 
> tag. Encountered general start element tag Was expecting one of: XML 
> ELEMENT CONTENT end element tag [Line = 185, Column = 9]
> 
>  
> 
> Any hints?
> 
>  
> 
> Regards,
> 
> Hans
> 
>  
> 
>  
> 
> _______________________
> 
> Hans Teijgeler
> 
> ISO 15926 specialist
> 
> www.InfowebML.ws <http://www.InfowebML.ws>
> 
> hans.teijgeler@quicknet.nl <mailto:hans.teijgeler@quicknet.nl>
> 
> _phone +31-72-509 2005__      _
> 
>  
> 

Received on Saturday, 13 August 2005 15:15:19 UTC