Hi,

On 3/1/07, Julian Reschke <[EMAIL PROTECTED]> wrote:
Looks like a bug in

     private String createStatement(Property refProperty, String nameTest)
             throws RepositoryException {
         StringBuffer stmt = new StringBuffer();

stmt.append("/").append(jcrRoot).append(refProperty.getParent().getPath());
         stmt.append("/").append(jcrDeref).append("(@");
         stmt.append(refProperty.getName()).append(", '");
         stmt.append(nameTest).append("')");
         return stmt.toString();
     }

to me (it should do the required escaping of the name).

You're right. We actually encountered a similar problem earlier, see
JCR-714 for the related bug report.

BR,

Jukka Zitting

Reply via email to