W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > June 2003

question about XML markup in literals

From: pat hayes <phayes@ihmc.us>
Date: Wed, 11 Jun 2003 10:48:40 -0500
Message-Id: <p0521060fbb0cee9cd193@[10.0.100.24]>
To: w3c-rdfcore-wg@w3.org
Cc: Roland Schwaenzl <Roland.Schwaenzl@mathematik.Uni-Osnabrueck.DE>

Is it legal to include XML markup inside non-XMLLiteral literal 
strings? For example, suppose I wanted to define a datatype called 
ex:XMLnumber whose lexical space was all strings of the form

<xmlnum>English-number-phrase</xmlnum>

and whose L2V mapping looked like

<xmlnum>one</xmlnum>  --> 1
<xmlnum>two</xmlnum>  --> 2
...
<xmlnum>three hundred and ninety seven</xmlnum>  --> 397
....

and write literals like

"<xmlnum>three hundred and ninety seven</xmlnum>"^^ex:XMLnumber

to refer to 397, would that be legal RDF? There are no semantic 
reasons to exclude it.

Pat

PS> This information has been requested by Roland and I don't know the answer.
-- 
---------------------------------------------------------------------
IHMC	(850)434 8903 or (650)494 3973   home
40 South Alcaniz St.	(850)202 4416   office
Pensacola			(850)202 4440   fax
FL 32501			(850)291 0667    cell
phayes@ihmc.us       http://www.ihmc.us/users/phayes
Received on Wednesday, 11 June 2003 11:48:48 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 09:57:55 EDT