- From: Marja-Riitta Koivunen <marja@w3.org>
- Date: Mon, 28 Apr 2003 17:02:19 -0400
- To: Reto Bachmann-Gmuer <reto@gmuer.ch>, www-annotation@w3.org
- Message-Id: <5.1.0.14.0.20030428165002.0401caf8@localhost>
Sorry for late answer:
Annotea does not support blank node identifiers as RDF/XML Syntax
Specification
(<http://www.w3.org/TR/rdf-syntax-grammar/#section-Syntax-blank-nodes>http://www.w3.org/TR/rdf-syntax-grammar/#section-Syntax-blank-nodes)
is not a W3C Recommendation yet.
Eric Prud'hommeaux is currently examining what would be needed and how much
work it would be to do the changes.
Marja
At 10:06 PM 1/28/2003 +0100, Reto Bachmann-Gmuer wrote:
>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>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>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/>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
><br>
><br>
></blockquote></x-html>
Received on Monday, 28 April 2003 17:02:43 UTC