W3C home > Mailing lists > Public > public-swd-wg@w3.org > February 2008

ISSUE-88: bug in setting of datatype with @content in Syntax

From: SWD Issue Tracker <dean+cgi@w3.org>
Date: Tue, 26 Feb 2008 16:34:05 +0000 (GMT)
To: public-swd-wg@w3.org
Message-Id: <20080226163405.87B436B62C@tibor.w3.org>


ISSUE-88: bug in setting of datatype with @content in Syntax

http://www.w3.org/2006/07/SWD/track/issues/88

Raised by: Ben Adida
On product: RDFa

"
5.5. Sequence

[...]

* step 10 (9?):
"as a [plain literal] if:
  * @content is present;
  * or all children of the [current element] are text nodes;
  * or there are no child nodes;
  * or the body of the [current element] does have non-text child
    nodes but @datatype is present, with an empty value."
According to this the example in 6.3.1.2

<span property="cal:dtstart" content="20070916T1600-0500"
      datatype="xsd:datetime">
  September 16th at 4pm
</span>.

would not create a typed literal (@content is present). Or can the following
bullets (XML literal, typed literal) "overwrite" the result from the first
bullet (plain literal)?

"

by Johannes Koch in:
http://lists.w3.org/Archives/Public/public-rdf-in-xhtml-tf/2008Feb/0116.html

Probable Resolution by MarkB in:
http://lists.w3.org/Archives/Public/public-rdf-in-xhtml-tf/2008Feb/0117.html

"the simplest solution is to make the minor change of moving the third step
(that checks for typed literals) to become the first."
Received on Tuesday, 26 February 2008 16:34:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:31:48 UTC