Next in thread →
Next in month →
RE: [relax-ng] Issue: long string literals
Mere concatenation, as you put it here ("*instead* of doubling"), seems yet
simpler than + or ^. -Mike
-----Original Message-----
From: James Clark [mailto:]
Sent: Monday, April 08, 2002 7:39 PM
To: John Cowan
Cc:
Subject: Re: [relax-ng] Issue: long string literals
> Mere concatenation doesn't play well with the use of doubling as the way
> of quoting the string literal delimiter.
On the other hand, we could use mere concatenation *instead* of doubling.
That is, a string literal is composed of one or more string literal pieces.
Each piece starts with " or ' and is terminated by a matching " or '.
There's no way to have a single piece containing both " and '. To get a
string literal containing both " and ', you simply split it into multiple
pieces which each contain either " or ' but not both.
We are already using mere concatenation in element annotations:
foo["bar" "baz"]
James
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>
Next in thread →
Next in month →