Thank you for your kindly comments.
We don't know why the definers choose such a way of discription, but we should assume
that "OCTET STRING (SIZE(1..20))" is new Type difinition, shouldn't we?
So now, a new question about that syntax comes up. How is that syntax,
"forwardedToNumber OCTET STRING (SIZE (1 .. 20 )) (SIZE (1 .. 9 ))",
encoded to by BER? Now I think as follws,
0x04(T) 0x02(L) 0x01 0x02(V)
0x04(T) 0x03(L) 0x03 0x04 0x05(V)
........ (up to 9th column)
where Type value which shows "OCTET STRING" is 0x04. The maximum value of (V) is 20,
and
the maximum value of column is 9.
If the BER encoded pattern is not correct, should new Type value be assigned to
ConstrainedType? Or, is there a correct encoded pattern for above syntax?
Could you please give me some clues.
Thanks.
Hideki SHINGU ([EMAIL PROTECTED])
Core Technology Development Center
Panasonic Mobile Communications Co.,Ltd.
TEL:+81-45-939-1054 Ext.7-352-2132
John Larmouth wrote:
>I completely agree that this is what the syntax means!
>
>But why the definers chose this cumbersome way of saying SIZE 1..9, if that is
>what they intended, is a more difficult question, and makes one think that they
>did not, in fact, **intend** this meaning.
>
>Someone else closer to 3GPP may be able to shed more light on this.
>
>John L
>
>Ramaswamy R - CTD, Chennai. wrote:
>
>> Hi,
>>
>> The type "OCTET STRING (SIZE (1 .. 20 )) (SIZE (1 .. 9 ))" specified,
>> falls under the notation -
>>
>> ConstrainedType ::= Type Contrstraint
>>
>> This notation is used twice in the above type specified. "SIZE(1..20)"
>> is the Constraint for the Type: "OCTET STRING" and "SIZE(1..9)" is the
>> Constraint for the Type: "OCTET STRING (SIZE(1..20))". When such situations
>> are encountered it evaluates to the Constraint effectively being the
>> intersection of the two constraints. IN this case effectively it shoudl
>> evaluate to a single constraint - "SIZE(1..9)".
>>
>> Regards
>> Ramaswamy R
>> Member Technical Staff
>> HCL Technologies Ltd
>> Chennai - 600026
>>
>> "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: Friday, July 30, 2004 6:55 AM
>> To: [EMAIL PROTECTED]
>> Subject: [ASN.1] 3GPP TS24.080 forwardedToNumber IE
>>
>>
>> I am a newcomer to this ML.
>> Please forgive me if my question is not suitable for the force of this ML.
>>
>> I have a question about ASN.1 syntax in 3GPP TS24.080.
>> The syntax bothering me is as follows,
>>
>>
>> forwardedToNumber [5] IMPLICIT OCTET STRING (SIZE (1 .. 20 )) (SIZE (1 .. 9
>> )) OPTIONAL,
>>
>>
>> I don't understand why there are no Type difinition between "SIZE"s.
>> I can't find this syntax in ITU-T specificaiton. I think this means as
>> follows,
>>
>>
>> =forwardedToNumber SEQUENCE SIZE(1 .. 9) OF (OCTET STRING(SIZE(1 .. 20)))
>>
>>
>> Is that right? or not?
>>
>> If anyone know this, please let me know. If this subject has already
>> discussed,
>> please tell me where I should go to see the process of this discussion.
>>
>> Thanks.
>>
>>
>> Hideki SHINGU ([EMAIL PROTECTED])
>>
>> Core Technology Development Center
>> Panasonic Mobile Communications Co.,Ltd.
>> TEL:+81-45-939-1054 Ext.7-352-2132
>>
>>
>>
>
>--
> Prof John Larmouth
> Larmouth T&PDS Ltd
> (Training and Protocol Development Services Ltd)
> 1 Blueberry Road
> Bowdon [EMAIL PROTECTED]
> Cheshire WA14 3LS
> England
> Tel: +44 161 928 1605 Fax: +44 161 928 8069
>
>
>
_______________________________________________
ASN1 mailing list
[EMAIL PROTECTED]
http://lists.asn1.org/mailman/listinfo/asn1