From: Benjamin N. <bn...@ap...> - 2006-08-23 13:45:31
|
On 23.08.2006 14:27:37, Richard Cyganiak wrote: >Vowlidator seems to dislike the fact that RAP uses rdf:ID twice with >the same value. That's allowed by the specs, although admittedly you >could argue that it's bad style. (And indeed it's just a warning in >Vowlidator, not an error.) AFAIK, redundant node rdf:IDs are not allowed in a shared scope/document. It's similar to the id attribute in html. It's a bug in both RAP and Vowlidator, the latter should issue an error, not a warning ;) hth, ben > >So it's not a RAP bug, but it's an indication that Vowlidator is a >bit too picky :-) > >You can safely ignore the warning. > >Yours, >Richard > > >On 23 Aug 2006, at 13:28, Onno Paap wrote: > >> Dear rdfapi-php team, >> The following examples are snippets from much larger OWL constructs. >> They have no meaning by themselves, just as illustration of the way >> the RAP netapi handles this. >> My question: does this example show an RAP bug? >> Onno Paap >> >> This piece of OWL code has no errors in Vowlidator: >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> <rdf:RDF >> xmlns:rdf=3D"http://www.w3.org/1999/02/22-rdf-syntax-ns#" >> xmlns:owl=3D"http://www.w3.org/2002/07/owl#" >> xml:base=3D"http://www.15926.org/2006/02/onnopaap1"> >> <owl:Class rdf:ID=3D"AbstractObject"> >> <rdf:type rdf:resource=3D"#ClassOfAbstractObject"/> >> </owl:Class> >> <owl:Class rdf:ID=3D"ClassOfAbstractObject"/> >> </rdf:RDF> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> Loaded in RAP gives 3 triples: >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> 1. >> Resource: http://www.15926.org/2006/02/onnopaap1#AbstractObject >> RDF Node: rdf:type >> RDF Node: owl:Class >> 2. >> Resource: http://www.15926.org/2006/02/onnopaap1#AbstractObject >> RDF Node: rdf:type >> Resource: http://www.15926.org/2006/02/ >> onnopaap1#ClassOfAbstractObject >> 3. >> Resource: http://www.15926.org/2006/02/ >> onnopaap1#ClassOfAbstractObject >> RDF Node: rdf:type >> RDF Node: owl:Class >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> The RAP netapi makes this out of it: >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> <?xml version=3D"1.0" encoding=3D"UTF-8" ?> >> <!-- >> Generated by RdfSerializer.php from RDF RAP. >> # http://www.wiwiss.fu-berlin.de/suhl/bizer/rdfapi/index.html ! >> --> >> <rdf:RDF xml:base=3D"http://www.15926.org/2006/02/onnopaap1#" >> xmlns:rdf=3D"http://www.w3.org/1999/02/22-rdf-syntax-ns#" >> xmlns:owl=3D"http://www.w3.org/2002/07/owl#" >> xmlns:ns1=3D"http://www.15926.org/2006/02/onnopaap1#"> >> <owl:Class rdf:ID=3D"AbstractObject" /> >> <ns1:ClassOfAbstractObject rdf:ID=3D"AbstractObject" /> >> <owl:Class rdf:ID=3D"ClassOfAbstractObject" /> >> </rdf:RDF> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> Which gives errors in Vowlidator: >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> [1] WARNING - Parser Indication: http://www.15926.org/2006/02/ >> onnopaap1#[15:53]: >> {W105} Redefinition of ID: AbstractObject >> >> [2] WARNING - Parser Indication: http://www.15926.org/2006/02/ >> onnopaap1#[13:37]: >> {W105} Previous definition of 'AbstractObject'. >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> ---------------------------------------------------------------------- >> --- >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your >> job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel? >> cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642 >> _______________________________________________ >> Rdfapi-php-interest mailing list >> Rdf...@li... >> https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest >> > > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job = easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache = Geronimo >http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 >_______________________________________________ >Rdfapi-php-interest mailing list >Rdf...@li... >https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest > > |