You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2017/08/31 12:28:00 UTC
[jira] [Created] (OAK-6608) misleading documentation for
ISO9075.encode()
Julian Reschke created OAK-6608:
-----------------------------------
Summary: misleading documentation for ISO9075.encode()
Key: OAK-6608
URL: https://issues.apache.org/jira/browse/OAK-6608
Project: Jackrabbit Oak
Issue Type: Bug
Components: 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)