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

XalanOtherEncodingWriter::writeNumericCharacterReference() is inefficient

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • CurrentCVS
    • CurrentCVS
    • None
    • 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

            dbertoni David N Bertoni
            dbertoni David N Bertoni
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: