Thread View: comp.protocols.iso
4 messages
4 total messages
Started by Mark Smith
Wed, 08 Apr 1992 17:41
negative integers in ObjectIdentifierValue?
Author: Mark Smith
Date: Wed, 08 Apr 1992 17:41
Date: Wed, 08 Apr 1992 17:41
25 lines
1117 bytes
1117 bytes
While I'm sure this was not the intent, it appears that negative integers are valid within an ObjectIdentifierValue. My reasoning is thus: ISO/IEC 8824: 1990 states NumberForm ::= number | DefinedValue NameAndNumberForm ::= identifier (NumberForm) 28.4 The "DefinedValue" in "NumberForm" shall be a reference to a value of type integer, or of a type derived from integer by tagging. Since section 28.4 does NOT restrict DefinedValue to be a reference to a non-negative integer value, it appears valid to use negative integers in an ObjectIdentifierValue. Does 8824 specifically disallow negative integers in an ObjectIdentifierValue? If so, where? Has the intent always been to allow the use of negative integers? Mark Smith
Re: negative integers in ObjectIdentifierValue?
Author: Bancroft Scott
Date: Thu, 09 Apr 1992 14:34
Date: Thu, 09 Apr 1992 14:34
12 lines
917 bytes
917 bytes
mds@hpcndaw.CND.HP.COM (Mark Smith) writes: >While I'm sure this was not the intent, it appears that negative integers >are valid within an ObjectIdentifierValue. ... >Has the intent always been to allow the use of negative integers? No, it never was the intent to allow the use of negative numbers within an ObjectIdentifierValue. Note in ISO 8825 (1990), clause 22.2, it states that each subidentifier is an unsigned binary number. Bancroft Scott
Re: negative integers in ObjectIdentifierValue?
Author: Mark Smith
Date: Fri, 10 Apr 1992 20:44
Date: Fri, 10 Apr 1992 20:44
10 lines
770 bytes
770 bytes
>No, it never was the intent to allow the use of negative numbers within >an ObjectIdentifierValue. Note in ISO 8825 (1990), clause 22.2, it states >that each subidentifier is an unsigned binary number. > >Bancroft Scott So then, is there a defect in section 28.4 ?? Should 28.4 be limited to a reference to an integer with a non-negative value ? Mark Smith
Re: negative integers in ObjectIdentifierValue?
Author: Bancroft Scott
Date: Sun, 12 Apr 1992 13:08
Date: Sun, 12 Apr 1992 13:08
12 lines
887 bytes
887 bytes
mds@hpcndaw.CND.HP.COM (Mark Smith) writes: |>No, it never was the intent to allow the use of negative numbers within |>an ObjectIdentifierValue. Note in ISO 8825 (1990), clause 22.2, it states |>that each subidentifier is an unsigned binary number. |So then, is there a defect in section 28.4 ?? Should 28.4 be limited to |a reference to an integer with a non-negative value ? I agree. I'll submit it as a defect. Bancroft Scott
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads