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

MacOSUnicodeConverter doesn't behave like other platforms

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • Utilities
    • None
    • Operating System: MacOS X
      Platform: Macintosh
    • 14805

    Description

      The following code compiled on MacOS X using the native transcoder will return 0
      instead of a null string:

      XMLCh xa[] =

      {chNull}

      ;
      return XMLString::transcode(xa);

      On Linux and Windows, this returns a valid pointer to an array of one character
      containing '\0'.

      Attachments

        Activity

          People

            Unassigned Unassigned
            benoit@mutablerealms.com Benoit
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: