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

markup stripping with @datatype

From: Elias Torres <elias@torrez.us>
Date: Mon, 17 Mar 2008 23:26:05 -0400
Message-Id: <36E9AE91-0716-4646-AC70-7EEC5432F850@torrez.us>
To: public-rdf-in-xhtml-tf@w3.org

I was implementing my parser from scratch to see how well the new and  
awesome specification hand held me through the whole thing and I must  
say: nice job overall. Although, it took me a while to figure out  
hanging rels (after being away for so long). But at least I can say  
that I figured it out mostly from reading the Feb 21 draft.

Forgive me if this has either already been addressed or updated in  
some other copy. Looking at Test #29 and Section 10.

<span   about="http://example.org/foo"  property="dc:creator"  
datatype="xsd:string"><b>M</b>ark <b>B</b>irbeck</span>

Section 10 says: if a typed literal...

The actual literal is either the value of @content (if present) or a  
string created by concatenating the value of all descendant text  
nodes, of the [current element] in turn.

"all descendant text nodes" but what I had to do to pass the test is  
the textContent of all descendants. Let me know if they are the same  

Received on Tuesday, 18 March 2008 03:26:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:01:56 UTC