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

ICU message loader broken due to deprecated API usage and various other problems

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 3.0.1
    • Utilities
    • None
    • Gentoo Linux 2007.0 AMD64, ICU 3.6 and 3.8

    Description

      a) the .res-file can't be used as a fallback if the memory-blob can't be loaded, but it should be the .dat-file (as far as I understood it)
      b) loading the messages using a full file-path is deprecated (according to http://www.icu-project.org/apiref/icu4c/ures_8h.html#c4d72fc9f7cc63a05f646cabee4be167) and it really doesn't work
      c) When using "make install" to install the library, the library libXercesMessages.so.28.0 doesn't get installed which leads to a unresolved symbol error when linking against libxerces-c.so.28.0
      d) When trying to run a test or a sample linked against xerces-c++ built with ICU message loader support, xerces-c++ panics with the error "Cannot load message domain", whether or not libXercesMessages and the .res/.dat-file in /usr/msg are available or not. The patch I'm going to attach fixes this.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dev-zero Tiziano Müller
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: