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=2385723

Reply via email to