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

Incorrect cast in XalanUTF16Writer

    XMLWordPrintableJSON

Details

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

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

            Dates

              Created:
              Updated:
              Resolved: