Tobias Strasser wrote:
imo, the single quote could be allowed in names by the spec. but the
general question remains: how to escape illegal jcr name characters?

the _x0000_ method mentioned above only applies for escaping non-valid
xml characters in names when exporting to xml. if using the same
mechanism here would probably confuse the situation.

i suggest to perform a url encoding of the non-valid characters. namely:

nonspace ::= (* Any Unicode character except: '/', ':', '[', ']', '*', ''', '"', '|' or any whitespace
character *)


this escaping would also be a good candidate to go into the commons-jcr library.
comments?

seems reasonable to me.

i can take a stab at this in the simple webdav server if none of you folks are motivated to work on it. let me know if i should.

thanks!

Reply via email to