W3C home > Mailing lists > Public > public-vocabs@w3.org > August 2013

Text vs Markup Datatype

From: Alex Milowski <alex@milowski.com>
Date: Mon, 26 Aug 2013 12:56:21 -0700
Message-ID: <CABp3FNKPTLeEtBcRgu+VMRaeqfM6sABy-mRdB9q1x8R-J8K_Vw@mail.gmail.com>
To: "public-vocabs@w3.org" <public-vocabs@w3.org>
While I understand motivations for considering the Text datatype [1] to be
a simple string, I find myself wanting the ability to type something as
markup.  That is, I want a rich description of an object as well.

In RDFa, this is rather straightforward:

<div property="description" datatype="rdf:XMLLiteral">
<p>Now markup is allow!</p>

gives the output (Turtle):

<> schema:description """<p>Now markup is allow!</p>
</ul>"""^^rdf:XMLLiteral .

There isn't much at [1] that restricts its interpretation but I somehow
doubt this use was the intent.

The question really is: I can do this but what should I expect receiving
systems to do with it?

[1] http://schema.org/Text

--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language

Bertrand Russell in a footnote of Principles of Mathematics
Received on Monday, 26 August 2013 19:56:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:49:02 UTC