Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-4176

misleading documentation for ISO9075.encode()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: jackrabbit-jcr-commons
    • Labels:
      None

      Description

      The Javadoc currently claim:

      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.

        Attachments

          Activity

            People

            • Assignee:
              reschke Julian Reschke
              Reporter:
              reschke Julian Reschke
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: