| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi, I'm converting the IDL string data to ASN Graphic String .. After coping the string the length of the ASN String data is one more than the IDL data. I'm using jacorb and TAO orb for CORBA implementation. Is this is a known problem ? Thanks in Advance, Arun V. |
|
#2
| |||
| |||
| Hi Arun, >I'm converting the IDL string data to ASN Graphic String .. After >coping the string the length of the ASN String data is one more than >the IDL data. I'm using jacorb and TAO orb for CORBA implementation. >Is this is a known problem ? It's not really clear what problem you're having. In addition to give a small example that shows the problem, please make sure to send all questions related to TAO to the TAO mailing list or ACE+TAO newsgroup comp.soft-sys-ace, rather than to comp.object.corba directly since the TAO gurus tend to hang out there. See http://www.cs.wustl.edu/~schmidt/TAO-mail.html for more info on how to access these resources. In addition, to ensure that we have proper version/platform/compiler information, please make sure you fill out the appropriate problem report form (PRF), which is in $ACE_ROOT/PROBLEM-REPORT-FORM $TAO_ROOT/PROBLEM-REPORT-FORM or in $ACE_ROOT/BUG-REPORT-FORM $TAO_ROOT/BUG-REPORT-FORM in older versions of ACE+TAO. Make sure to include this information when asking any questions about ACE+TAO since otherwise we have to "guess" what version/platform/compiler/options you've using, which is very error-prone and slows down our responsiveness. Thanks, Doug -- Dr. Douglas C. Schmidt Professor and Associate Chair Electrical Engineering and Computer Science TEL: (615) 343-8197 Vanderbilt University WEB: www.dre.vanderbilt.edu/~schmidt Nashville, TN 37203 NET: d.schmidt@vanderbilt.edu |
|
#3
| |||
| |||
| On 31 Jul, 04:06, "arun.viswan...@gmail.com" <arun.viswan...@gmail.com> wrote: > I'm converting the IDL string data to ASN Graphic String .. *After > coping the string the length of the ASN String data is one more than > the IDL data. I'm using jacorb and TAO orb for CORBA implementation. > Is this is a known problem ? I've never used ASN, but I did a Google search to find some information on its encoding rules. From what I read I suspect that a string is being encoded as <length><characters><null-byte> and <length> is set to be the length of the string plus 1, with the extra 1 in the length being for the terminating null byte. Regards, Ciaran. |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.