A couple of questions regarding IPP specs

Alexander Pevzner <[email protected]> Thu, 21 Mar 2024 20:25:25 +0300
Newsgroups dev.linux.lists.printing-architecture
Message-ID <[email protected]>
Hi Everybody,

I have a couple of questions regarding IPP specs.

1) Are attribute names case-sensitive or not? Is the answer the same for 
top-level attributes and for member attributes within a collection?

In the CUPS sources, in the ippFindNextAttribute(), I see name is used 
twice for comparison, with strcmp() in one place and with 
_cups_strcasecmp() in another place...

2) If two or more attributes in the same scope have the same name, how 
the conforming implementation SHOULD behave: ignore the second 
occurrence (seems, CUPS does this way), reject such a message with an 
error or merge values?

-- 

	Wishes, Alexander Pevzner ([email protected])