OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: RE: [relax-ng] Java-style Unicode escapes


In support of \x{}, C# uses '\x' as well (but doesn't allow code points
greater than U+FFFF).

Mike
-----Original Message-----
From: James Clark [mailto:jjc@jclark.com]
Sent: Monday, April 08, 2002 5:57 AM
To: RELAX NG Mailing List
Subject: Re: [relax-ng] Java-style Unicode escapes

> Perl uses \x{N}, so we might want to consider that instead of \u{N}.

Two reasons why one might prefer \x to \u:

1. XML uses "x" to introduce hex char refs.

2. If we use \u, people may be surprised that it it is followed by an
argument in braces rather than 4 hex digits as in Java.

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