W3C home > Mailing lists > Public > uri@w3.org > October 2007

Re: URI Templates: { ^ prefix ^ variable [] separator | default }

From: Marc Hadley <Marc.Hadley@Sun.COM>
Date: Fri, 26 Oct 2007 10:06:48 -0400
To: "Manger, James H" <James.H.Manger@team.telstra.com>
Cc: uri@w3.org
Message-id: <37DA0B44-B0DA-427D-92A1-CE9FA17D1B6B@Sun.COM>

On Oct 23, 2007, at 1:14 AM, Manger, James H wrote:
>
> The syntax is XML-friendly compared to Joe’s. Joe’s uses < > and &,  
> which require escaping in XML -- making templates more awkward to  
> read and write. < and > are already used as delimiters in HTTP  
> headers, particularly the proposed Link-Template header. There may  
> not be a clash if < and > only appear inside {…} within a template,  
> but it adds some confusion.
>
IMO, this is an important consideration. I think its highly likely  
that templates will be embedded in XML documents and having to escape/ 
unescape delimiters in templates will be a pain.

Marc.

---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.
Received on Friday, 26 October 2007 14:07:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 13 January 2011 12:15:37 GMT