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

Incorrect cast in XalanUTF16Writer

    XMLWordPrintableJSON

    Details

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

      Description

      XalanUTF16Writer casts its buffer to const char* before calling the underlying Writer instance. This is incorrect, because there is an explicit overload for Writer::write() for const XalanDOMChar*.

      A patch is attached. Committers, can you please review?

        Attachments

        1. patch.diff
          0.5 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: