xproc / 3.0-steps

Repository for change requests to the standard step library and for official extension steps
10 stars 7 forks source link

How are err:XC0081 and err:XC0085 different? #561

Closed ndw closed 4 months ago

ndw commented 5 months ago

err:XC0081 is:

It is a dynamic error (err:XC0081) if the format of the archive does not match the format as specified in the format option.

and a couple of paragraphs later, err:XC0085 is:

It is a dynamic error (err:XC0085) if the format of the archive does not match the specified format, cannot be understood, determined and/or processed.

Was the intent that 81 is "you said ZIP but this isn't a ZIP" and 85 is "I can't figure out what this is or you said it was a ZZ archive and I don't now what a ZZ archive is"?

gimsieke commented 5 months ago

Can we safely exclude the C0081 case (format option doesn’t match) from C0085? So that the latter then reads:

It is a dynamic error (err:XC0085) if the format of the archive cannot be understood, determined and/or processed.

ndw commented 5 months ago

Yes, that's the conclusion I was coming to as I wrote up the issue.