Re: Validation of URI template parameters

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