W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > February 2009

RDFa DTD and HTML character entity

From: KANZAKI Masahide <mkanzaki@gmail.com>
Date: Thu, 26 Feb 2009 10:58:58 +0900
Message-ID: <834575810902251758w175b1282ya8b586c50f1e4be6@mail.gmail.com>
To: "public-rdf-in-xhtml-tf.w3.org" <public-rdf-in-xhtml-tf@w3.org>
Hello,

Firefox, Safari and Chrome report parsing error with an RDFa document which:
- has some HTML character entities (e.g. &nbsp; &uuml; etc)
- declares XHTML+RDFa 1.0 DOCTYPE
- delivered as application/xhtml+xml

probably because XHTML+RDFa DTD doesn't include HTML character entity
module (xhtml-charent-1.mod) . XHTML 1.1 DTD driver also lacks this
module, but curiously, its flat DTD includes this.

(These browsers don't complain with XHTML 1.1 DTD declaration that has
the driver URI, though. Maybe they have built in flat DTD for quick
processing)

I'm afraid this might cause some confusions when users try to convert
existing documents to RDFa. Hope this will be checked and fixed.

best,

-- 
@prefix : <http://www.kanzaki.com/ns/sig#> . <> :from [:name
"KANZAKI Masahide"; :nick "masaka"; :email "mkanzaki@gmail.com"].
Received on Thursday, 26 February 2009 01:59:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 February 2009 01:59:36 GMT