[ 
https://issues.apache.org/jira/browse/CLEREZZA-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Reto Bachmann-Gmür reopened CLEREZZA-129:
-----------------------------------------


The documentation hoesn't been changed to the new fundtionality, there no hint 
for example that the UriRef passed to the create...Node methods is not 
(necessarily) The UriRef used. (it says " uri where the node should be created" 
which is apparently no longer the case)

- The test shouldn't use deprecated UriRefs, future version of the UriRef 
constructor might deny attempt to craete an UriRef containing a space
- I think the test would be clearer if the wouldn't use UriUtil.encodePath (but 
know how the encoded uri ought to look like)

Given that spaces must be encoded before a UriRef instance is created, I'm 
wondering why not do the whole encoding there, and leave the hierarch service 
untouched.

> org.apache.clerezza.triaxrs: resource and resource method paths have to be 
> encoded.
> -----------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-129
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-129
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Manuel Innerhofer
>            Assignee: Manuel Innerhofer
>
> JAX-RS specification Version 1.1 page 14: 
> The value of the annotation is automatically encoded, e.g. the following two 
> lines are equivalent:
> 1    @Path("widget list/{id}")
> 2    @Path("widget%20list/{id}")
> This is not the case in Triaxrs at the moment.
> In this issue I also added a test that tests if the FormParam is encoded 
> correctly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to