Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-1847

Removal of XMLString::release(XMLByte**) doesn't fit with Base64 class API

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.1.0
    • Documentation
    • None

    Description

      I'm doing a port of my code to the Xerces 3 API and one of the issues I noted is that there are APIs such as the Base64::decode method that return a dynamic XMLByte array and still document that XMLString::release() should be used to free the result.

      However, somebody removed the XMLByte version of that method from the API, so technically there isn't a correct method to call.

      Either the XMLByte version should be added back, or the affected APIs should be changed to not require it.

      Attachments

        Activity

          People

            bsk Boris Kolpackov
            scantor Scott Cantor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: