- From: Hans Teijgeler <hans.teijgeler@quicknet.nl>
- Date: Sat, 13 Aug 2005 23:52:57 +0200
- To: "'Libby Miller'" <libby@asemantics.com>, "Manola, Frank" <fmanola@acm.org>
- Cc: <semantic-web@w3.org>, "'Christiansen Thore'" <tore.r.christiansen@dnv.com>
Hi Libby and Frank, Thanks for the tips you gave! I finally got the file in a shape that passed the test. The experience I had was that the error messages normally don't tell you what the real problem is. For example, I had the closing </Ontology> at the far end of my ontology. Wrong! (No idea why, it appeared quite logical to enclose the contents of an ontology). When I corrected that, a number of the mysterious error messages disappeared. Regards, Hans -----Original Message----- From: semantic-web-request@w3.org [mailto:semantic-web-request@w3.org] On Behalf Of Libby Miller Sent: Saturday, August 13, 2005 12:32 PM To: Hans Teijgeler Cc: semantic-web@w3.org; Christiansen Thore Subject: 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 21:53:21 UTC