- From: Reto Bachmann-Gmuer <reto@gmuer.ch>
- Date: Tue, 28 Jan 2003 22:06:40 +0100
- To: www-annotation@w3.org
- Message-Id: <6554B1C4-3304-11D7-B3C2-003065CDBE5C@gmuer.ch>
Hello
I investigated a bit further with the problem I described in my mail
"protocol question" quoted below (the quote is not exact, it fixes an
incorrect termination in the second rdf).
Annotea does not seem to support "Blank Node Identifier"
(http://www.w3.org/TR/rdf-syntax-grammar/#section-Syntax-blank-nodes).
This can cause annotea to return invalid RDF/XML, e.g. the RDF/XML at
http://annotest.w3.org/annotations/annotation/1043095369.539346 causes
an "Error: {E201} Syntax error when processing attribute rdf:nodeID. In
this context, the following attributes are not allowed together:
rdf:about, rdf:nodeID[Line = 14, Column = 22]" by the RDF-validator at
http://www.w3.org/RDF/Validator/.
For compatibility with RDF generated by other RDF-libraries (I'm using
jena) support of Blank Node Identifiers would be important.
Regards,
Reto
Luned́, 20 Gen 2003, alle 22:00 Europe/Paris, Reto Bachmann-Gmuer ha
scritto:
> Hello
>
> I tried to post annotations to the annotea test server with following
> two RDF/XML posts, the first one works the second one results in
> annotation with an invalid body. I think the two RDF/XML snippets
> serializes the identical RDF-graph and thus should cause the same
> result. Do I missunderstand the protocol?
>
> this one works:
> ------
> <rdf:RDF
> xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
> xmlns:NS0='http://www.w3.org/2000/10/annotation-ns#'
> xmlns:dc='http://purl.org/dc/elements/1.0/'
> xmlns:NS2='http://www.w3.org/1999/xx/http#'
> >
> <rdf:Description rdf:nodeID='A0'>
> <rdf:type
> rdf:resource='http://www.w3.org/2000/10/annotation-ns#Annotation'/>
> <rdf:type
> rdf:resource='http://www.w3.org/2000/10/annotationType#Comment'/>
> <NS0:annotates rdf:resource='http://www.example.org/'/>
> <NS0:context rdf:resource='http://www.example.org/'/>
> <dc:creator>Reto Bachmann</dc:creator>
> <dc:title>a test</dc:title>
> <NS0:created>2003-01-20T21:46Z</NS0:created>
> <dc:date>2003-01-20T21:46Z</dc:date>
> <NS0:body>
> <rdf:Description>
> <rdf:type rdf:resource='http://www.w3.org/1999/xx/http#http'/>
> <NS2:ContentType>text/html</NS2:ContentType>
> <NS2:ContentLength>101</NS2:ContentLength>
> <NS2:Body xml:lang='en' rdf:parseType='Literal'>
> <html>
> <head>
> <title>
> a test
> </title>
> </head>
> <body>
> This is the content of the body
> </body>
> </html>
> </NS2:Body>
> </rdf:Description>
> </NS0:body>
> </rdf:Description>
> </rdf:RDF>
> -----
>
>
> this one doesn't:
> -----
> <rdf:RDF
> xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
> xmlns:NS0='http://www.w3.org/2000/10/annotation-ns#'
> xmlns:dc='http://purl.org/dc/elements/1.0/'
> xmlns:NS2='http://www.w3.org/1999/xx/http#'
> >
> <rdf:Description rdf:nodeID='A0'>
> <rdf:type
> rdf:resource='http://www.w3.org/2000/10/annotation-ns#Annotation'/>
> <rdf:type
> rdf:resource='http://www.w3.org/2000/10/annotationType#Comment'/>
> <NS0:annotates rdf:resource='http://www.example.org/'/>
> <NS0:context rdf:resource='http://www.example.org/'/>
> <dc:creator>Reto Bachmann</dc:creator>
> <dc:title>a test</dc:title>
> <NS0:created>2003-01-20T21:46Z</NS0:created>
> <dc:date>2003-01-20T21:46Z</dc:date>
> <NS0:body rdf:nodeID='A1'/>
> </rdf:Description>
> <rdf:Description rdf:nodeID='A1'>
> <rdf:type rdf:resource='http://www.w3.org/1999/xx/http#http'/>
> <NS2:ContentType>text/html</NS2:ContentType>
> <NS2:ContentLength>101</NS2:ContentLength>
> <NS2:Body xml:lang='en' rdf:parseType='Literal'>
> <html>
> <head>
> <title>
> a test
> </title>
> </head>
> <body>
> This is the content of the body
> </body>
> </html>
> </NS2:Body>
> </rdf:Description>
> </rdf:RDF>
> -----
>
> cheers
> Reto
Attachments
- text/enriched attachment: stored
Received on Tuesday, 28 January 2003 16:07:14 UTC