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

From
Michael Fitzgerald <>
Date
2002-04-08T15:55:43+00:00
ID
Thread
RE: [relax-ng] Java-style Unicode escapes
I think \x{N} is probably the better choice. -Mike

-----Original Message-----
From: James Clark [mailto:]
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>