On 12/13/06 4:34 AM, Thierry Boileau wrote:
> actually the parser does not take into account special characters such
> as ":".
> You can update your code like this :
> Router router = new Router();
> Handler getXml = new GetXml();
> router.attach("/getXml/{PID}:{VALUE}", getXml);
> Handler trace = new Trace();
> router.attach("/trace", trace);
> You will get 2 attributes : "PID" and "VALUE".
Ah, perfect! That'll do nicely. Thank you.
> This behaviour will change in a very short time (end of the week)
> because Jérôme is updating this part of the project.
> As mentionned earlier in this discussion, Jérôme is rethinking the URI
> routing that will rely on a URI template standardization process.
Thanks, too, for this heads up. I'll be on the lookout for it in the
next release.
Peter
--
Peter Murray http://www.pandc.org/peter/work/
Assistant Director, Multimedia Systems tel:+1-614-728-3600;ext=338
OhioLINK: the Ohio Library and Information Network Columbus, Ohio
The Disruptive Library Technology Jester http://dltj.org/