OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: ODF-v1.2-part1-cd04 Section 19.907


Dear office-comment list,

Section 19.907 of ODF-v1.2-part1-cd04 says:

 >>If an xhtml:content attribute is present, the above mentioned literal 
content becomes a label. It
is the object of an implicit RDF statement with an rdfs:label predicate 
and the subject specified
by the xhtml:about attribute.<<

No, that's not the purpose of xhtml:content - if you're using RDFa as a 
guide. The purpose of xhtml:content is to provide a computer-friendly 
*alternative* of the the literal content.

Example ODF snippet:

Albert Einstein was born <text:meta xhtml:about="[dbr:Albert_Einstein]"
     xhtml:property="[dbp:born]"
     xhtml:datatype="xsd:date"
     xhtml:content="1879-03-14">14 March 1879</text:meta> in Germany.

A Semantic Web system can't be expected to be able to parse all date 
formats people can come up with, therefore we're helping it by providing 
the ISO format.

Now, the spec says that the system shall generate an rdfs:label for the 
literal content, i.e. "14 March 1879". This is wrong, because the 
rdfs:label relates to the subject - it is not an friendly version of the 
dbp:born predicate!

The above text snippet statement boils down to the following triple:

<dbr:Albert_Einstein> <dbp:born> "1879-03-14"^^<xsd:date>.

Adding the required rdfs:label would produce:

<dbr:Albert_Einstein> <dbp:born> "1879-03-14"^^<xsd:date>.
<dbr:Albert_Einstein> <rdfs:label> "14 March 1879".

The resource <dbr:Albert_Einstein> is called "14 March 1879" and was 
born on  "1879-03-14".

You see the problem?

Best regards,

Søren Roug


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]