IPP> NOT> "notify-status-code" is undefined

IPP> NOT> "notify-status-code" is undefined

McDonald, Ira imcdonald at sharplabs.com
Sat Oct 21 00:09:13 EDT 2000


Hi Tom and Carl,

Good proposed resolution.  Make the changes.

Cheers,
- Ira McDonald

-----Original Message-----
From: Hastings, Tom N [mailto:hastings at cp10.es.xerox.com]
Sent: Friday, October 20, 2000 6:52 PM
To: Carl Kugler/Boulder/IBM
Cc: ipp at pwg.org
Subject: RE: IPP> NOT> "notify-status-code" is undefined


At the Bake Off 3 we have discussed the following resolution.  Please send
comments.

Thanks,
Tom

Problem:  [ipp-ntfy] doesn't specify the attribute syntax for the
"notify-status-code" that is returned in each Subscription Attributes group
in a Subscription Creation response.

Suggested solution:   [ipp-indp] defines the attribute syntax for the
"notification-status-code" (which should be spelled "notify-status-code")
attribute returned in each Notification Attributes group as 'type2 enum'.
[ipp-mod] defines the attribute syntax of the "status-code" parameter as
'type2 enum'.  The 'type2 enum' attribute syntax, rather than 'integer' is
intended to be used when the specification defines specific meanings for
each value.  Therefore, [ipp-ntfy] should define the "notify-status-code" to
have the 'type2 enum' attribute syntax.  Change name in [ipp-indp] from
"notification-status-code" to "notify-status-code" for consistency of
attribute names.

Suggested text:  
Add to [ipp-ntfy] section 11.1.1.2 Create-Job Response: 
"notify-status-code" (type2 enum):
Indicates the status of this subscription (see section 17 for the status
code definitions).  This attribute MUST be returned in each Subscription
Attributes Group.

Change [ipp-indp] section 8.1.2 Send-Notifications Response from
"notification-status-code" to "notify-status-code".


-----Original Message-----
From: Carl Kugler/Boulder/IBM [mailto:kugler at us.ibm.com]
Sent: Tuesday, October 10, 2000 14:57
To: ipp at pwg.org
Subject: IPP> NOT> "notify-status-code" is undefined


ipp-not-spec-000830 fails to specify the attribute syntax for
"notify-status-code" (returned in the Subscription Attributes Groups of
responses).

It's not really obvious how to encode it, either.  The operation attribute
group's "status-code" is a SIGNED-SHORT in a special location.  There is no
attribute tag for a SIGNED-SHORT.  "Integer" and "enum" are SIGNED-INTEGER.

I'm guessing it should be (integer(0x00000001:0x00000415))?

     -Carl



More information about the Ipp mailing list