Hello, the slide WebDAV servlet does not handle the XML body of a request properly, if the client does not send a encoding. Neither cadaver nor DAVExplorer or MS Word send an explicit charset.
This means, that the method req.getCharacterEncoding() im AbstractWebdavServlet returns null and AbstractWebdavServlet assumes the value of the system property file.encoding - in my case iso-8859-1. This is not, what the clients wanted. The request body of all three clients contains <?xml version="1.0" ?>, which implies UTF-8. And they send UTF-8. According to RFC 2376,section 6.4 slide should assume US-ASCII, not ISO-8859-1 or UTF-8. However assuming UTF-8 may be a better choice, since slide MUST interoperate with those clients. Since UTF-8 is a superset of US-ASCII, slide would be still very close to the specification. If you agree, Ingo would change line 446 in AbstractWebdavMethod.java (rev 1.6) to if (result == null) result = "UTF-8"; -- Martin Holz <[EMAIL PROTECTED]> Softwareentwicklung / Vernetztes Studium - Chemie FIZ CHEMIE Berlin Franklinstrasse 11 D-10587 Berlin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
