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

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 UTC