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

Re: Validation of URI template parameters

From: Marc Hadley <Marc.Hadley@Sun.COM>
Date: Fri, 06 Oct 2006 09:45:48 -0400
To: Jacob Kaplan-Moss <jacob@jacobian.org>
Cc: uri@w3.org
Message-id: <32956AEC-3584-4A5E-A283-D23EDFF8E134@Sun.COM>
On Oct 5, 2006, at 12:51 PM, Jacob Kaplan-Moss wrote:
>
> So are there any plans to add some sort of validation of template  
> parameters to this spec?  That is, I would love to be able to  
> specify in a URI template that a particular parameter must be an  
> integer, or must be less than five characters long, or...
>
WADL adds this type of functionality to URI templates using external  
markup, see the final example and last few paragraphs of:

http://weblogs.java.net/blog/mhadley/archive/2006/10/uri_templating.html

Marc.

---
Marc Hadley <marc.hadley at sun.com>
Business Alliances, CTO Office, Sun Microsystems.




Received on Friday, 6 October 2006 13:46:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:10 UTC