- From: Ivan Herman <ivan@w3.org>
- Date: Mon, 03 Sep 2007 12:57:47 +0200
- To: Karl Dubost <karl@w3.org>
- Cc: RDFa <public-rdf-in-xhtml-tf@w3.org>
- Message-ID: <46DBE8AB.9040103@w3.org>
Karl Dubost wrote: > > Hi, > > I would like to know if there's a rule for getting the meaning of this > document. > > The XHTML document is located at > http://example.org/foo/bar > > The markup is > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" > "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> > <head> > <meta name="dc:title" content="The Old Man And The Sea, Ernest > Hemingway" /> > <title>The Old Man And The Sea - Literature</title> > </head> > <body> > <h1>Book <span property="dc:title">The Old Man And The Sea, > Hemingway</span></h1> > </body> > </html> > > > Two solutions > <> dc:title "The Old Man And The Sea, Ernest Hemingway"^^XMLLiteral . > <> dc:title "The Old Man And The Sea, Hemingway"^^XMLLiteral . > > And another third one from the XHTML title element? > (if title is considered to be dc:title. More on that later.) > <> dc:title "The Old Man And The Sea - Literature"^^XMLLiteral . > > > * Are there rules of precedence in RDFa? Karl, I do not understand the question! There is no such thing as precedences for triples... *If* the <title> element was to generate a triple (put aside for a moment that it should not be dc:title, as others have already put it), it would create a third triple <> dc:title "The Old Man And The Sea - Literature" and all three elements would happily live side-by-side. Where would there be any precedence here? ivan > * Is there a need to explain the semantics conformance of HTML-like > languages? > > > -- Ivan Herman, W3C Semantic Web Activity Lead Home: http://www.w3.org/People/Ivan/ PGP Key: http://www.ivan-herman.net/pgpkey.html FOAF: http://www.ivan-herman.net/foaf.rdf
Received on Monday, 3 September 2007 10:57:42 UTC