xproc / 3.0-steps

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

Error codes for p:validation steps are missing #397

Closed xml-project closed 4 years ago

xml-project commented 4 years ago

The only error code defined in the specs is:

It is a dynamic error (err:XC0054) if the assert-valid option is true and any Schematron assertions fail or reports succeed.

I think there should dynamic errors defined for other error situations, e.g. what error to raise, if the document on port "schema" is not valid schematron.

ndw commented 4 years ago

Fine by me. Do we have errors for what happens if the schema document provided for other validation steps is invalid?

xml-project commented 4 years ago

Not as far as I can see.

xatapult commented 4 years ago

We have to add an error code for invalid schema documents.

xml-project commented 4 years ago

Consensus: Let's have more errors.