Logged SLING-7237 <https://issues.apache.org/jira/browse/SLING-7237> for this.
On Fri, Nov 10, 2017 at 2:52 PM, Satya Deep Maheshwari < m.satyad...@gmail.com> wrote: > Hi > > I wanted to understand the significance of escaping illegal JCR characters > in JcrValueMap while reading? See [1] wherein while reading a jcr property, > the name is escaped of illegal jcr characters. For e.g. if I say > valueMap.get("jcr:content/xyz") then it is escaped as "jcr%3Acontent/xyz" > which is clearly not the intent. While escaping illegal chars during > writing would make sense, why is is it done at the time of reading? > > Regards > Satya Deep > > [1] - https://github.com/apache/sling-org-apache-sling-jcr- > resource/blob/master/src/main/java/org/apache/sling/jcr/ > resource/internal/JcrValueMap.java#L301 >