Details
Description
The following query (for example) is not parsed correctly, as @ is parsed as attribute prefix:
/jcr:root/home//element(*,rep:Authorizable)[jcr:like(@rep:authorizableId,'@')]
Possibly XPathToSQL2Converter should use currentTokenQuoted for this. Possibly a similar problem can occur in SQL2Parser (needs to be tested). Right now, it looks like currentTokenQuoted is never set to true; that should probably happen in read().