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 bu...@apache.org on 2001/09/03 00:50:04 UTC

[DO NOT REPLY: Bug 2730] Can't build xerces-c-1.5.1 with ICU

PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2730

*** shadow/2730	Mon Jul 23 05:00:04 2001
--- shadow/2730.tmp.13313	Sun Sep  2 15:50:04 2001
***************
*** 34,37 ****
  methods is defined as long instead of int - like it is defined in XMLMsgLoader, 
  which ICUMsgLoader inherits from.
  
! Also, the same problems occur in xerces-1.5.0 aswell.
--- 34,58 ----
  methods is defined as long instead of int - like it is defined in XMLMsgLoader, 
  which ICUMsgLoader inherits from.
  
! Also, the same problems occur in xerces-1.5.0 aswell.
! 
! ------- Additional Comments From jason@openinformatics.com  2001-09-02 15:50 -------
! To get this to compile with ICU 1.8:
! 
! replace:
!     UnicodeString keyVal(keyStr);
!     const UnicodeString* msgString = fBundle->getStringEx(keyVal, err);
! 
!     if (!msgString)
!         return false;
! 
! with:
! 
!     UnicodeString msgString = fBundle->getStringEx(XMLString::transcode(keyStr),
! err);
! 
! also the uses of msgString-> need to be modified to msgString.
! 
! the tmpPath issue is particularily confusing because it is not used anywhere in
! the Xerces code or the ICU code. However, setting it 0 (zero) forces ICU to
! calculate a path.

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


Re: Can't build xerces-c-1.5.1 with ICU

Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
bugzilla@apache.org writes:

> ! To get this to compile with ICU 1.8:
> ! 
> ! replace:
> !     UnicodeString keyVal(keyStr);
> !     const UnicodeString* msgString = fBundle->getStringEx(keyVal, err);
> ! 
> !     if (!msgString)
> !         return false;
> ! 
> ! with:
> ! 
> !     UnicodeString msgString = fBundle->getStringEx(XMLString::transcode(keyStr),
> ! err);
> ! 
> ! also the uses of msgString-> need to be modified to msgString.
> ! 
> ! the tmpPath issue is particularily confusing because it is not used anywhere in
> ! the Xerces code or the ICU code. However, setting it 0 (zero) forces ICU to
> ! calculate a path.

Well...

Everything compiles and runs, but messages are blank:

~/work/xml-xerces/c/samples $ DOMCount -v=always t/xmlconf/sun/invalid/attr01.xml 

Error at file t/xmlconf/sun/invalid/attr01.xml, line 9, char 24
  Message: 

Errors occured, no output available

If someone could point out what's happening I'd be grateful.
jas.

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