Hi Dave, We only take into account the last segment following the note of TBL: http://www.w3.org/DesignIssues/MatrixURIs.html
Regarding the Form class, it does maintain order by implementing List<Parameter> interface via the Series<Parameter> super class. Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com -----Message d'origine----- De : David Fogel [mailto:[email protected]] Envoyé : jeudi 20 août 2009 19:37 À : [email protected] Objet : Re: Does Restlet support this kind of functionality? It's only a matrix parameter if you use the semicolon. Commas are just characters in the path segment. Actually, I believe from the perspective of the spec for URIs (http://www.faqs.org/rfcs/rfc3986.html) both semicolons and commas are considered just part of an opaque set of characters forming the value of a segment in the path. The spec says that these characters are sometimes used in "scheme-specific ways". Restlet supports the concept of the semi-colon-delimited "matrix" param, but only for the final path segment. I don't know what restlet does with matrix params on other segments. It doesn't really make sense to have one of the values be a path segment while the other is a matrix param- probably better to use comma-separated values only, or to use matrix values for both (maybe something like /Earth/location;lat=24.9195;lon=17.821 ) you'd want to use the name=value format, since I don't think order is maintained if processed as a Form. -Dave ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=23857 23 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2386319

