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

XalanOtherEncodingWriter::writeNumericCharacterReference() is inefficient

    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
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: