[ 
https://issues.apache.org/jira/browse/JCR-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Klimetschek updated JCR-1258:
---------------------------------------

    Attachment: NameEncoderDecoder.java

This java class does the encoding and it works with paths. It's not thorougly 
tested, but converted from some stable javascript code doing the same. BTW, the 
name is misleading, this class does not do any decoding yet ;-)

> Add path en-/de-coding to ISO9075
> ---------------------------------
>
>                 Key: JCR-1258
>                 URL: https://issues.apache.org/jira/browse/JCR-1258
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-commons
>            Reporter: Marcel Reutegger
>            Priority: Minor
>         Attachments: NameEncoderDecoder.java
>
>
> The utility class ISO9075 only allows you to encode and decode names. It 
> should also have methods that allow you to pass a path. This is useful when a 
> XPath query is created with a path constraint based on e.g. a Node.getPath().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to