[IPP] Conflict between RFC 8010 and RFC 8011 for unsupported / out-of-band encodings?

[IPP] Conflict between RFC 8010 and RFC 8011 for unsupported / out-of-band encodings?

Rizzo, Christopher christopher.rizzo at xerox.com
Thu Oct 31 22:20:02 UTC 2024


RFC 8010 section 3.8: “For “out-of-band” values for the value-tag field defined in this document, such as ‘unsupported’, the “value-length” MUST be 0 and the “value” empty…”

RFC 8011 section 4.1.7: “In the case of an unsupported attribute name, the Printer returns the Client-supplied attribute with a substituted value of ‘unsupported’. “

So for example, if the attribute ‘job-account-id’ is not supported then should the encoding in unsupported attribute list be:

Per RFC 8010:
value-tag = 0x10 (unsupported)
name-length = length(‘job-account-id’) = 14
name = ‘job-account-id’
value-length = 0

OR should it be:

Per RFC 8011
value-tag = 0x10 (unsupported)
name-length = length(‘job-account-id’) = 14
name = ‘job-account-id’
value-length = length(‘unsupported’) = 11
value = ‘unsupported’

Or are both legal encodings?


Thanks,
Chris

Christopher Rizzo
Engineer II, Software Engineering
Design & Development Engineering

[signature_385720276]<http://www.xerox.com/>

Xerox Corporation
Virtual Office Employee
26600 SW Parkway Ave
Wilsonville, OR 97070

[signature_2810891220]<https://www.linkedin.com/company/xerox/>   [signature_3699605372] <https://www.youtube.com/user/XeroxCorp>    [signature_3680685820] <https://twitter.com/Xerox>    [signature_2930859694] <https://www.instagram.com/xerox/>    [signature_1905062644] <https://www.facebook.com/XeroxCorp>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pwg.org/pipermail/ipp/attachments/20241031/3ba8bba1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 9065 bytes
Desc: image001.png
URL: <http://www.pwg.org/pipermail/ipp/attachments/20241031/3ba8bba1/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 1409 bytes
Desc: image002.png
URL: <http://www.pwg.org/pipermail/ipp/attachments/20241031/3ba8bba1/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 1427 bytes
Desc: image003.png
URL: <http://www.pwg.org/pipermail/ipp/attachments/20241031/3ba8bba1/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 1528 bytes
Desc: image004.png
URL: <http://www.pwg.org/pipermail/ipp/attachments/20241031/3ba8bba1/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 1648 bytes
Desc: image005.png
URL: <http://www.pwg.org/pipermail/ipp/attachments/20241031/3ba8bba1/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 1456 bytes
Desc: image006.png
URL: <http://www.pwg.org/pipermail/ipp/attachments/20241031/3ba8bba1/attachment-0005.png>


More information about the ipp mailing list