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

misleading documentation for ISO9075.encode()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • jackrabbit-jcr-commons
    • 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

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

            Dates

              Created:
              Updated: