Re: To wstring or not to wstring...

Smith, Bennett wrote:
> This discussion of wchar/wstring in IDL worries me.  If it is true that
> the various operating systems implement wide characters in various byte
> lengths and encodings, how does proposing that a sequence be used in the
> DOM IDL help anything?  It seems to me that by using the sequence in the
> DOM IDL spec. you are then asking each implementor to handle the data
> marshaling/unmarshaling for wide characters to/from any other platform.
> Is this true?

As I see it, you will only be converting text when reading input
from somewhere (an XML-file or whatever) and building a DOM
hierachy. You might need this conversion anyway, depending
on the file format etc. Then there's a conversion when rendering
text output from a DOM hierachy, but that might still be
necessay, depending on how / where it is rendered.

If at least the DOM spec. is consitent, you have rules to
follow.


Cheers
-- 
,
ANOQ of the Sun / Johnny Andersen

E-Mail:   anoq@vip.cybercity.dk or anoq@berlin-consortium.org
Homepage: http://users.cybercity.dk/~ccc25861/

Received on Tuesday, 7 July 1998 14:19:43 UTC