You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2017/08/31 12:29:00 UTC

[jira] [Moved] (JCR-4176) misleading documentation for ISO9075.encode()

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

Julian Reschke moved OAK-6608 to JCR-4176:
------------------------------------------

    Component/s:     (was: commons)
                 jackrabbit-jcr-commons
       Workflow: no-reopen-closed, patch-avail  (was: no-reopen-closed)
            Key: JCR-4176  (was: OAK-6608)
        Project: Jackrabbit Content Repository  (was: Jackrabbit Oak)

> misleading documentation for ISO9075.encode()
> ---------------------------------------------
>
>                 Key: JCR-4176
>                 URL: https://issues.apache.org/jira/browse/JCR-4176
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr-commons
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Minor
>
> The Javadoc currently claim:
> bq. If a character c is not valid at a certain position in an XML 1.0 NCName it is encoded in the form: '_x' + hexValueOf(c) + '_'.
> ...but in reality the code checks for Names, not NCNames, so it does not escape ":". This should be clarified.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)