W3C home > Mailing lists > Public > public-web-http-desc@w3.org > April 2006

Re: Supporting Matrix URIs

From: Marc Hadley <Marc.Hadley@Sun.COM>
Date: Mon, 03 Apr 2006 14:18:06 -0400
To: Mark Nottingham <mnot@yahoo-inc.com>
Cc: public-web-http-desc@w3.org
Message-id: <1EEA2B42-19B2-45F6-B52F-53FB6E4F2148@Sun.COM>

Looks like this would be pretty easy to accommodate in WADL by adding  
a matrix_variable element that is a peer to the existing  
path_variable, e.g.:

/map/color;lat=50;long=20;scale=32000

could be:

<resource uri="map">
   <resource uri="color">
     <matrix_variable name="lat" type="xsd:float" required="true"/>
     <matrix_variable name="long" type="xsd:float" required="true"/>
     <matrix_variable name="scale" type="xsd:int" default="32000"/>
     ...
   </resource>
   ...
</resource>

I think the semantics are different enough to path_variable to  
warrant the new element.

Marc.

On Apr 3, 2006, at 1:49 PM, Mark Nottingham wrote:

>
> It would be great if WADL and other Web description formats could  
> accommodate Matrix URIs;
>   http://www.w3.org/DesignIssues/MatrixURIs.html
> so that the parameters of the Matrix URI would be handled in a  
> fashion similar to the way query parameters are handled.
>
> We're starting to use them pretty extensively.
>
> --
> Mark Nottingham
> mnot@yahoo-inc.com
>
>
>
>

---
Marc Hadley <marc.hadley at sun.com>
Business Alliances, CTO Office, Sun Microsystems.
Received on Monday, 3 April 2006 18:18:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 19 December 2010 00:14:50 GMT