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 in declaration for validate-with-json-schema #556

Closed ndw closed 4 months ago

ndw commented 5 months ago

The default-version option is defined:

<p:option name="default-version" as="xs:string"/>

But the prose goes on to speak about what it means if the option isn't provided. If the option isn't provided, its value is () which raises a type error. The default-version should have the type xs:string?, I believe.