You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Tiziano Müller (JIRA)" <xe...@xml.apache.org> on 2007/12/19 21:14:43 UTC

[jira] Created: (XERCESC-1769) xerces-c++ 2.8.0 ICU message loader broken due to deprecated API usage and various other problems

xerces-c++ 2.8.0 ICU message loader broken due to deprecated API usage and various other problems
-------------------------------------------------------------------------------------------------

                 Key: XERCESC-1769
                 URL: https://issues.apache.org/jira/browse/XERCESC-1769
             Project: Xerces-C++
          Issue Type: Bug
    Affects Versions: 2.8.0
         Environment: Gentoo Linux 2007.0 AMD64, ICU 3.6 and 3.8
            Reporter: Tiziano Müller


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Updated: (XERCESC-1769) xerces-c++ 2.8.0 ICU message loader broken due to deprecated API usage and various other problems

Posted by "Tiziano Müller (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tiziano Müller updated XERCESC-1769:
------------------------------------

    Attachment: xerces-c-2.8.0-icu_ressource_fix.patch

As written above: the attached patch makes it possible to use ICU as a message loader.

> xerces-c++ 2.8.0 ICU message loader broken due to deprecated API usage and various other problems
> -------------------------------------------------------------------------------------------------
>
>                 Key: XERCESC-1769
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1769
>             Project: Xerces-C++
>          Issue Type: Bug
>    Affects Versions: 2.8.0
>         Environment: Gentoo Linux 2007.0 AMD64, ICU 3.6 and 3.8
>            Reporter: Tiziano Müller
>         Attachments: xerces-c-2.8.0-icu_ressource_fix.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Updated: (XERCESC-1769) ICU message loader broken due to deprecated API usage and various other problems

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Kolpackov updated XERCESC-1769:
-------------------------------------

    Component/s: Utilities
        Summary: ICU message loader broken due to deprecated API usage and various other problems  (was: xerces-c++ 2.8.0 ICU message loader broken due to deprecated API usage and various other problems)

> ICU message loader broken due to deprecated API usage and various other problems
> --------------------------------------------------------------------------------
>
>                 Key: XERCESC-1769
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1769
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.8.0
>         Environment: Gentoo Linux 2007.0 AMD64, ICU 3.6 and 3.8
>            Reporter: Tiziano Müller
>             Fix For: 2.9.0, 3.1.0
>
>         Attachments: xerces-c-2.8.0-icu_ressource_fix.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Updated: (XERCESC-1769) xerces-c++ 2.8.0 ICU message loader broken due to deprecated API usage and various other problems

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Kolpackov updated XERCESC-1769:
-------------------------------------

    Fix Version/s:     (was: 3.0.0)
                   3.1.0

The ICU message loader seems to be working (builds ok on all Debian architectures). However, its integration with the automake/libtool is quite brittle and can break is ICU folks change the way they build resource libraries. Plus we have issues a)-c) unresolved. Therefore, for 3.0.0 I am  disabling the automatic selection of ICU message loader when ICU is available and rescheduling this bug to 3.1.0.

> xerces-c++ 2.8.0 ICU message loader broken due to deprecated API usage and various other problems
> -------------------------------------------------------------------------------------------------
>
>                 Key: XERCESC-1769
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1769
>             Project: Xerces-C++
>          Issue Type: Bug
>    Affects Versions: 2.8.0
>         Environment: Gentoo Linux 2007.0 AMD64, ICU 3.6 and 3.8
>            Reporter: Tiziano Müller
>             Fix For: 2.9.0, 3.1.0
>
>         Attachments: xerces-c-2.8.0-icu_ressource_fix.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Commented: (XERCESC-1769) xerces-c++ 2.8.0 ICU message loader broken due to deprecated API usage and various other problems

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XERCESC-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574398#action_12574398 ] 

Boris Kolpackov commented on XERCESC-1769:
------------------------------------------

The xerces-c-2.8.0-icu_ressource_fix.patch was applied to the trunk and xerces-2. My understanding is that this patch only fixed d) with a)-c) still open.

> xerces-c++ 2.8.0 ICU message loader broken due to deprecated API usage and various other problems
> -------------------------------------------------------------------------------------------------
>
>                 Key: XERCESC-1769
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1769
>             Project: Xerces-C++
>          Issue Type: Bug
>    Affects Versions: 2.8.0
>         Environment: Gentoo Linux 2007.0 AMD64, ICU 3.6 and 3.8
>            Reporter: Tiziano Müller
>             Fix For: 3.0.0, 2.9.0
>
>         Attachments: xerces-c-2.8.0-icu_ressource_fix.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Commented: (XERCESC-1769) xerces-c++ 2.8.0 ICU message loader broken due to deprecated API usage and various other problems

Posted by "Tiziano Müller (JIRA)" <xe...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XERCESC-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574480#action_12574480 ] 

Tiziano Müller commented on XERCESC-1769:
-----------------------------------------

Thats correct. I corrected those issues in our ebuilds (packages).
Sorry that I didn't answer your first question, but I was quite busy at that time.

> xerces-c++ 2.8.0 ICU message loader broken due to deprecated API usage and various other problems
> -------------------------------------------------------------------------------------------------
>
>                 Key: XERCESC-1769
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1769
>             Project: Xerces-C++
>          Issue Type: Bug
>    Affects Versions: 2.8.0
>         Environment: Gentoo Linux 2007.0 AMD64, ICU 3.6 and 3.8
>            Reporter: Tiziano Müller
>             Fix For: 3.0.0, 2.9.0
>
>         Attachments: xerces-c-2.8.0-icu_ressource_fix.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Commented: (XERCESC-1769) xerces-c++ 2.8.0 ICU message loader broken due to deprecated API usage and various other problems

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XERCESC-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553595 ] 

Boris Kolpackov commented on XERCESC-1769:
------------------------------------------

Hi Tiziano,

Thanks for the patch. I was wondering if you would be interested in creating the equivalent patch for the 3.0.0 code base since this is the next planned release and it would be great to have these issues fixed there. 3.0.0 uses autotools and the 2.8.0 patch will probably need some work before it can be applied. Also the installation part for ICU messages is broken in 3.0.0 so if you will be able to fix this as well, then that would be superb. You can check out the current 3.0.0 code from SVN, instructions are here: http://xerces.apache.org/xerces-c/source-repository.html

Thanks,
Boris


> xerces-c++ 2.8.0 ICU message loader broken due to deprecated API usage and various other problems
> -------------------------------------------------------------------------------------------------
>
>                 Key: XERCESC-1769
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1769
>             Project: Xerces-C++
>          Issue Type: Bug
>    Affects Versions: 2.8.0
>         Environment: Gentoo Linux 2007.0 AMD64, ICU 3.6 and 3.8
>            Reporter: Tiziano Müller
>         Attachments: xerces-c-2.8.0-icu_ressource_fix.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Commented: (XERCESC-1769) xerces-c++ 2.8.0 ICU message loader broken due to deprecated API usage and various other problems

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XERCESC-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574516#action_12574516 ] 

Boris Kolpackov commented on XERCESC-1769:
------------------------------------------

Tiziano, would you be interested in submitting a patch for those issues?


> xerces-c++ 2.8.0 ICU message loader broken due to deprecated API usage and various other problems
> -------------------------------------------------------------------------------------------------
>
>                 Key: XERCESC-1769
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1769
>             Project: Xerces-C++
>          Issue Type: Bug
>    Affects Versions: 2.8.0
>         Environment: Gentoo Linux 2007.0 AMD64, ICU 3.6 and 3.8
>            Reporter: Tiziano Müller
>             Fix For: 3.0.0, 2.9.0
>
>         Attachments: xerces-c-2.8.0-icu_ressource_fix.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Closed: (XERCESC-1769) ICU message loader broken due to deprecated API usage and various other problems

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Kolpackov closed XERCESC-1769.
------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 3.1.0)
                       (was: 2.9.0)
                   3.0.1

I believe this has been sufficiently addressed in 3.0.1 and there are no plans to release 2.9.0 at the moment.

> ICU message loader broken due to deprecated API usage and various other problems
> --------------------------------------------------------------------------------
>
>                 Key: XERCESC-1769
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1769
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.8.0
>         Environment: Gentoo Linux 2007.0 AMD64, ICU 3.6 and 3.8
>            Reporter: Tiziano Müller
>             Fix For: 3.0.1
>
>         Attachments: xerces-c-2.8.0-icu_ressource_fix.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Updated: (XERCESC-1769) xerces-c++ 2.8.0 ICU message loader broken due to deprecated API usage and various other problems

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Kolpackov updated XERCESC-1769:
-------------------------------------

    Fix Version/s: 2.9.0
                   3.0.0

The trunk most likely has the same problems. Would be good to fix for 3.0.0.

> xerces-c++ 2.8.0 ICU message loader broken due to deprecated API usage and various other problems
> -------------------------------------------------------------------------------------------------
>
>                 Key: XERCESC-1769
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1769
>             Project: Xerces-C++
>          Issue Type: Bug
>    Affects Versions: 2.8.0
>         Environment: Gentoo Linux 2007.0 AMD64, ICU 3.6 and 3.8
>            Reporter: Tiziano Müller
>             Fix For: 3.0.0, 2.9.0
>
>         Attachments: xerces-c-2.8.0-icu_ressource_fix.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org