question about XML markup in literals

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 UTC