Hi Joshy, The backslash escaping is required according to the spec. The double quote escaping is optional. You are correct that the escaping does not work correctly in the InMemory repository. As you do not get a parser exception but just no results this is a problem in the InMemory query processor. It seems to forget to unescape before matching the results if the string literal is compared to to a property. Thank You for reporting this, I will take a look to fix this.
I cannot comment about the behaviour of the other repositories. Jens On 20/08/14 10:55, "Joshy Augustine" <joshymaugust...@gmail.com> wrote: >SELECT * FROM cmis:document where cmis:name = 'Fred\'s Document.txt'