Bind method and accents

2005-05-20 Thread Laurent Michenaud
Bind with accents are not working well. I have created a resource /slide/files/testé Then i created a bind named /slide/files/testéé In the internet browser, i can see : test%C3%A9%C3%A9/ http://localhost:8081/slide/files/test%25C3%25A9%25C3%25A9 The Java code : HttpURL oHttpURL

Re: Bind method and accents

2005-05-20 Thread Marco T. Avila
Hello Laurent, can you test also query string parameters?, something like this: http://localhost:8081/slide/files/test%25C3%25A9%25C3%25A9?param1=value1param2=value2 Works? Regards Laurent Michenaud wrote: Bind with accents are not working well. I have created a resource

RE: Bind method and accents

2005-05-20 Thread Laurent Michenaud
It seems to work but i don't understand why u ask me to do this test. I have looked at the xml file, it is stored like this : objectnode classname=org.apache.slide.structure.SubjectNode uri=/1116576562048.22 children child name=test uuri=/1116576562048.28 / child name=testé

Re: Bind method and accents

2005-05-20 Thread Marco T. Avila
The problem is that the put method works correctly if you pass parameters in the query string (bug 34950), Slide should be consistent and all methods should ignore all after the ? Regards Laurent Michenaud wrote: It seems to work but i don't understand why u ask me to do this test. I have

RE: Bind method and accents

2005-05-20 Thread Laurent Michenaud
What's the link with my problem ? Other informations : My tomcat is started with the following options : c:\dev\j2sdk1.4.2_06\bin\java -Djava.security.auth.login.config= c:\dev\jakarta-tomcat-5.0.28-slide\conf\jaas.config -Dfile.encoding=UTF-8

Re: Bind method and accents

2005-05-20 Thread Marco T. Avila
Laurent, in $CATALINA_HOME/work/Catalina/localhost/slide/loader/org/apache/slide/slide.properties any look changing from UTF-8 to ISO-8859-1 ? Laurent Michenaud wrote: What's the link with my problem ? Other informations : My tomcat is started with the following options :

RE: Bind method and accents

2005-05-20 Thread Laurent Michenaud
No org.apache.slide.urlEncoding=UTF-8 Does my test work for u ? -Message d'origine- De : Marco T. Avila [mailto:[EMAIL PROTECTED] Envoyé : vendredi 20 mai 2005 11:15 À : Slide Users Mailing List Objet : Re: Bind method and accents Laurent, in

Re: Bind method and accents

2005-05-20 Thread Jacob Lund
Are you sure that the DAV:segment should be escaped? Normally only the href elements are escaped. Try to send the request with the DAV:segment utf-8 encoded but not escaped. /jacob - Original Message - From: Laurent Michenaud [EMAIL PROTECTED] To: Slide Users Mailing List

RE: Bind method and accents

2005-05-20 Thread Laurent Michenaud
Can u tell me how to do that ? What do u use to espace a string ? I don't really understand. If I look at the BindMethod in the Webdavlib, we can see: BindMethod method = New BindMethod(URIUtil.encodePath(existingBinding),URIUtil.encodePath(newBinding)); So the segment is well encoded in

Re: Bind method and accents

2005-05-20 Thread Julian Reschke
Jacob Lund wrote: Are you sure that the DAV:segment should be escaped? Normally only the href elements are escaped. It's part of the URI, thus the same escaping rules apply: http://greenbytes.de/tech/webdav/rfc3986.html#rfc.iref.112 ... Best regards, Julian

RE: Bind method and accents

2005-05-20 Thread Laurent Michenaud
Concretly, what do i have to do ? Do u have tested binding with accents or not ? I would like to know if others have the same problems as me or not. -Message d'origine- De : Julian Reschke [mailto:[EMAIL PROTECTED] Envoyé : vendredi 20 mai 2005 11:47 À : Slide Users Mailing List Objet 

Re: Bind method and accents

2005-05-20 Thread Julian Reschke
Laurent Michenaud wrote: Concretly, what do i have to do ? I think Slide needs a bug fix. Do u have tested binding with accents or not ? I would like to know if others have the same problems as me or not. I am testing with a different server (SAP Netweaver KM). Best regards, Julian

Re: Bind method and accents

2005-05-20 Thread Jacob Lund
Hi Julian! Is the DAV:segment considered a part of the path? The segment is just a name. From what I can read in the BIND document, the segment can only contain a name and not a uri or a relative uri. Does the fact the a segment in a request body is to be used in a uri automatically make this

Re: Bind method and accents

2005-05-20 Thread Marco T. Avila
Ok I have run ethereal, seems a problem on the client side because the request is never done for the bind method. Request (for MKCOL) MKCOL /debugSlide/files/%3F%3F%3F%3F%3F Authorization: Basic cm9vdDpyb290 User-Agent: Jakarta Commons-HttpClient/2.0.1 Host: localhost:8080 Response:

RE: Bind method and accents

2005-05-20 Thread Laurent Michenaud
Uhmmm not sure I have modified the BindMethod class on the server side : protected void parseRequest() throws WebdavException { ... ---segment = MethodUtil.getChildText(content, E_SEGMENT); +++segment = URIUtil.decode(MethodUtil.getChildText(content, E_SEGMENT),UTF8); ... } And now, it

Re: Bind method and accents

2005-05-20 Thread Julian Reschke
Jacob Lund wrote: Hi Julian! Is the DAV:segment considered a part of the path? Yes. The segment is just a name. From what I can read in the BIND document, the segment can only contain a name and not a uri or a relative uri. Yes. Does the fact the a segment in a request body is to be used in a

Re: Bind method and accents

2005-05-20 Thread Jacob Lund
ahh - missed that. Thanks. :) - Original Message - From: Julian Reschke [EMAIL PROTECTED] To: Slide Users Mailing List slide-user@jakarta.apache.org Sent: Friday, May 20, 2005 12:31 PM Subject: Re: Bind method and accents Jacob Lund wrote: Hi Julian! Is the DAV:segment considered a part

Getting started documentation

2005-05-20 Thread Burnside, Phillip \(UK - Glasgow\)
Hi there, As part of an internal project we have been looking at SLIDE and using WebDAV to access slide repositories. As such we have developed a number of getting started documents and examples which has been an amalgam of stuff on the SLIDE site, archive mailing lists and effort from our side.

Using WCK?

2005-05-20 Thread Brandon Dove
I'd like to use the WCK but I've got a few questions about getting going: 1. I'm not running Tomcat on the same machine that I'm building on so the deploy target is of little use in setting up WCK. I can use the dist target and manually deploy slide.war, but what needs to be patched in