Hi Alex, yes, you need to encode the name in the string literal.
See test class for an example: https://svn.apache.org/repos/asf/jackrabbit/branches/2.4/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/FnNameQueryTest.java Regards Marcel > -----Original Message----- > From: Alexander Klimetschek [mailto:[email protected]] > Sent: Dienstag, 11. Dezember 2012 15:40 > To: [email protected] > Subject: [Xpath] fn:name() requires ISO9075 encoding? > > Hi, > > is it right that fn:name() = 'name' requires "name" to be ISO9075 encoded > just like with normal location steps? I.e. for names starting with a digit > (1_something). > > Cheers, > Alex
