[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: 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:jjc@jclark.com] Sent: Monday, April 08, 2002 7:39 PM To: John Cowan Cc: relax-ng@lists.oasis-open.org 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>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC