Issue 4521: unicode/wstring issue (bqs-ftf) Source: Japan Biological Informatics Consortium (Mr. Martin Senger, martin.senger(at)gmail.com) Nature: Uncategorized Issue Severity: Summary: Bibliographic repositories may deal with citations using non-ascii characters (for example MEDLINE is using unicode for foreign characters). Sending such strings using IDL type 'string' will result in a CORBA exception (character encoding error, or something like that). The problem is not with attributes stored and sent in the dynamic properties - they are wrapped in CORBA Anys, and therefore may be encoded using IDL type 'wstring' without changing BQS IDL - but the problem is with explicitly specified attributes. Resolution: To change the type of the following attributes (and typedefs) from 'string' to 'wstring': - in DsLSRBibObjects module: Keywords, surname, first_name, mid_initials, postal_address, affiliation, name (in Organisation, Service, and Journal), the_abstract, table_of_contents, title - in DsLSRBibQuery module: PhraseList Resolution: see below Revised Text: To change the type of the following attributes (and typedefs) from 'string' to 'wstring': in DsLSRBibObjects module: Keywords, surname, first_name, mid_initials, postal_address, affiliation, name (in Organisation, Service, and Journal), the_abstract, table_of_contents, title in DsLSRBibQuery module: PhraseList Actions taken: August 20, 2001: received issue May 13, 2002: closed issue Discussion: End of Annotations:===== Date: Mon, 20 Aug 2001 08:23:55 +0100 (BST) From: Martin Senger To: bqs-ftf@emerald.omg.org cc: Juergen Boldt Subject: issue: unicode/wstring In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-UIDL: @>[!!CT$e9%UXd9p`=e9 [ Juergen, could you please post it to the 'issues'. Thanks. ] Problem: Bibliographic repositories may deal with citations using non-ascii characters (for example MEDLINE is using unicode for foreign characters). Sending such strings using IDL type 'string' will result in a CORBA exception (character encoding error, or something like that). The problem is not with attributes stored and sent in the dynamic properties - they are wrapped in CORBA Anys, and therefore may be encoded using IDL type 'wstring' without changing BQS IDL - but the problem is with explicitly specified attributes. Resolution: To change the type of the following attributes (and typedefs) from 'string' to 'wstring': - in DsLSRBibObjects module: Keywords, surname, first_name, mid_initials, postal_address, affiliation, name (in Organisation, Service, and Journal), the_abstract, table_of_contents, title - in DsLSRBibQuery module: PhraseList Martin -- Martin Senger EMBL Outstation - Hinxton Senger@EBI.ac.uk European Bioinformatics Institute Phone: (+44) 1223 494636 Wellcome Trust Genome Campus (Switchboard: 494444) Hinxton Fax : (+44) 1223 494468 Cambridge CB10 1SD United Kingdom http://industry.ebi.ac.uk/~senger Date: Sat, 17 Nov 2001 15:24:46 +0000 (GMT) From: Martin Senger To: bqs-ftf@omg.org cc: openbqs-dev@ebi.ac.uk Subject: Call to vote: Issue 4521 - unicode/wstring issue Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-UIDL: >&]!!/!#e9=dJ!!8k2!! This message *is* a vote. The voting deadline is Friday, 30 November, at 5:00pm GMT. I encourage you to vote publically. In any case, your votes will appear in my vote summary and in the FTF final report. When you reply to this message, please delete all of the proposed resolution text. I hope to hear from all FTF members soon. Thank you. ------------------------------------------------------------------------ Summary: Bibliographic repositories may deal with citations using non-ascii characters (for example MEDLINE is using unicode for foreign characters). Sending such strings using IDL type 'string' will result in a CORBA exception (character encoding error, or something like that). The problem is not with attributes stored and sent in the dynamic properties - they are wrapped in CORBA Anys, and therefore may be encoded using IDL type 'wstring' without changing BQS IDL - but the problem is with explicitly specified attributes. Proposed resolution: To change the type of the following attributes (and typedefs) from 'string' to 'wstring': - in DsLSRBibObjects module: Keywords, surname, first_name, mid_initials, postal_address, affiliation, name (in Organisation, Service, and Journal), the_abstract, table_of_contents, title - in DsLSRBibQuery module: PhraseList -- Martin Senger EMBL Outstation - Hinxton Senger@EBI.ac.uk European Bioinformatics Institute Phone: (+44) 1223 494636 Wellcome Trust Genome Campus (Switchboard: 494444) Hinxton Fax : (+44) 1223 494468 Cambridge CB10 1SD United Kingdom http://industry.ebi.ac.uk/~senger