3rd.
Ramaswamy R - CTD, Chennai. wrote: Dear Shingu, Your understand is perfect...but there is something that I would like to add to this. Im sure you must be aware of it but just in case... ----------------------------------------------------------------- OCTET STRING (SIZE (1 .. 20 )) (SIZE (1 .. 9 )) (SIZE (3..12)) = OCTET STRING (SIZE(3..9)) ----------------------------------------------------------------- Considering the topic of intersection this is perfectly correct. But ASN.1 would give a little bit of trouble. ----------------------------------------------------------------- OCTET STRING (SIZE (1 .. 20 )) (SIZE (1 .. 9 )) reduces to OCTET STRING (SIZE(1..9)) ----------------------------------------------------------------- so the original e.g. u gave reduces to ----------------------------------------------------------------- OCTET STRING (SIZE (1 .. 9 )) (SIZE (3..12)) ----------------------------------------------------------------- ASN.1 does not permit this coz 3..12 is not within 1..9. For such reason ASN.1 compilers would complaint. Additional constraint can only be within the realms of the existing ones. One suggestion...lets try to keep as much q&a withing the forum since it would help a lot of ppl...i hope you had sent this mail to me alone intentionally... it is always a pleasure to give back to the community what it has given me :) Regards Ramaswamy R "Do or do not. There is no try." - Yoda Disclaimer: This message and any attachment(s) contained here are information that is confidential, proprietary to HCL Technologies and its customers. Contents may be privileged or otherwise protected by law. The information is solely intended for the individual or the entity it is addressed to. If you are not the intended recipient of this message, you are not authorized to read, forward, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer. -----Original Message----- From: Hideki Shingu [mailto:[EMAIL PROTECTED] Sent: Thursday, August 05, 2004 11:15 AM To: Ramaswamy R - CTD, Chennai. Subject: Re: [ASN1] Re: [ASN.1] 3GPP TS24.080 forwardedToNumber IE Dear Ramaswamy R san, I'm sorry for my misunderstanding. You said, "intersection". I see what you meant. So, some examples. OCTET STRING (SIZE (1 .. 20 )) (SIZE (1 .. 9 )) (SIZE (3..7)) = OCTET STRING (SIZE(3..7)) OCTET STRING (SIZE (1 .. 20 )) (SIZE (1 .. 9 )) (SIZE (3..12)) = OCTET STRING (SIZE(3..9)) You said as above, didn't you ? Your comments made my quetion about that syntax clear accurately. If above examples are wrong, I'm sorry, but could you please give me a comment which corrects my misunderstanding. I appreciate all your advice and help you gave me. Thank you very much. Hideki SHINGU ([EMAIL PROTECTED]) Core Technology Development Center Panasonic Mobile Communications Co.,Ltd. TEL:+81-45-939-1054 Ext.7-352-2132 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hideki SHINGU ([EMAIL PROTECTED]) Core Technology Development Center Panasonic Mobile Communications Co.,Ltd. TEL:+81-45-939-1054 Ext.7-352-2132 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> _______________________________________________ ASN1 mailing list [EMAIL PROTECTED] http://lists.asn1.org/mailman/listinfo/asn1
