Re: RDF Validation

Hans,

You probably need to send us the entire file exactly as it is for real
help. At a guess you might have some whitespace or other funny characters
at the start of the file. Another one that produces odd errors is missing
namespace declarations.

Libby

On Sat, 13 Aug 2005, 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
>  <http://www.InfowebML.ws> www.InfowebML.ws
>  <mailto:hans.teijgeler@quicknet.nl> hans.teijgeler@quicknet.nl
> phone +31-72-509 2005
>
>

Received on Saturday, 13 August 2005 10:32:21 UTC