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é" uuri="/1116576562048.29" />
      <child name="test%C3%A9%C3%A9" uuri="/1116576562048.29" />
    </children>
    <parents>
      <parent name="files" uuri="/" />
    </parents>
    <links />
  </objectnode>

It is not correct for :
<child name="test%C3%A9%C3%A9" uuri="/1116576562048.29" />

-----Message d'origine-----
De : Marco T. Avila [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 20 mai 2005 10:38
À : Slide Users Mailing List
Objet : Re: Bind method and accents

Hello Laurent, can you test also query string parameters?, something
like this:

http://localhost:8081/slide/files/test%25C3%25A9%25C3%25A9?param1=value1&param2=value2


Works?

Regards



Laurent Michenaud wrote:

>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 = new HttpURL("http://localhost:8081/slide/";);
>
>oHttpURL.setUserinfo("root", "root");
>
>WebdavResource r_oWebdavResource = new WebdavResource(oHttpURL);
>
>r_oWebdavResource.bindMethod( "/slide/files/testé", "/slide/files/testéé");
>
>oWebdavResource.close();
>
> 
>
>The http request :
>
><?xml version="1.0" encoding="utf-8" ?><D:propfind 
>xmlns:D="DAV:"><D:prop><D:displayname/><D:getcontentlength/><D:getcontenttype/><D:resourcetype/><D:getlastmodified/><D:lockdiscovery/></D:prop></D:propfind>BIND
> /slide/files HTTP/1.1
>
>Authorization: Basic ************
>
>User-Agent: Jakarta Commons-HttpClient/3.0-rc2
>
>Host: localhost:8082
>
>Cookie: $Version=0; JSESSIONID=1FA963D1E55AA8CC5D0640E528DCFE19; $Path=/slide
>
>Content-Length: 150
>
>Content-Type: text/xml; charset=utf-8
>
>Overwrite: F
>
><?xml version="1.0" encoding="utf-8" ?><D:bind 
>xmlns:D="DAV:"><D:segment>test%C3%A9%C3%A9</D:segment><D:href>/slide/files/test%C3%A9</D:href></D:bind>
>
> 
>
> 
>
>All other methods( mkcol, move, renamed...) work well with accents.
>
> 
>
> 
>
> 
>
> 
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to