Hi,

In the case of IAnySimpleType.hpp - this was simply a copy-paste job.
I've taken a look through the history of BasicTypeSerializer.h - it would
appear this was initially introduced as a performance improvement, but I
notice the L's have since been removed from a couple of other places they
were introduced at the same time, so I would guess it's safe to take them
out.

I've just done a quick test on Windows - and had no problems.
_______________________________________
Adrian Dick ([EMAIL PROTECTED])


Nadir Amra <[EMAIL PROTECTED]> wrote on 18/05/2005 19:13:23:

> When porting the code to OS/400, I had to eliminate the use of wide
> character literal characters in common/BasicTypeSerializer.h and
> soap/xsd/IAnySimpleType.hpp.  In both these header files there is the
> following:
>
>     enum
>     {
>         GREATER_THAN_CHAR    =    L'>',    /* Greater than character */
>         LESSER_THAN_CHAR    =    L'<',    /* Less than character */
>         SINGLE_QUOTE_CHAR    =    L'\'',    /* Single quotation character

> */
>         DOUBLE_QUOTE_CHAR    =    L'\"',    /* Double quotation character

> */
>         AMPERSAND_CHAR        =    L'&'    /* Ampersand character */
>     };
>
> I want to remove the L so that these are character literals and not
> wide-character.  I could not figure out why these were declared as wide
> character and wanted to make sure that it is OK to make them character
> declares before I commit the changes.  On ASCII-based systems the
> wide-character declaration is OK, but on ebcdic-based systems the
> declaration causes problems since wide-character is unicode.
>
>
>
> Nadir K. Amra
>

Reply via email to