HPInc / jipp

A Java-compatible implementation of IPP
MIT License
153 stars 42 forks source link

Support ABNF types #51

Closed GladeDiviney closed 4 years ago

GladeDiviney commented 5 years ago

These have snuck into several specs as Octet Strings with well-defined form. For example, https://ftp.pwg.org/pub/pwg/candidates/cs-ippjobprinterext3v10-20120727-5100.13.pdf defines several keys such as printer-output-tray.

JIPP can process these as "KeyValues" but this is unsatisfying because well-known keys and frequently well-known values exist, but neither keys nor values appear in as IANA defined terms. Manually retyping these into client/server code can lead to bugs.

It would be ideal to identify the relevant specs and where possible extract the acceptable fields and values wherever possible.

GladeDiviney commented 4 years ago

This really is limited by these fields not being registered and present in https://www.iana.org/assignments/ipp-registrations/ipp-registrations.xml.