Uploaded image for project: 'XalanC'
  1. XalanC
  2. XALANC-647

XalanOtherEncodingWriter::writeNumericCharacterReference() is inefficient

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: CurrentCVS
    • Fix Version/s: CurrentCVS
    • Component/s: None
    • Labels:
      None

      Description

      This function formats a numeric character reference for any character that is not representable in the code page. However, it uses the write() function to write the numeric character reference, which will then check each character to see if it can be represented in the local code page. This is unnecessary, since the characters in a numeric character reference must be representable.

        Attachments

        1. patch.diff
          1 kB
          David N Bertoni

          Activity

            People

            • Assignee:
              dbertoni David N Bertoni
              Reporter:
              dbertoni David N Bertoni

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment