Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in declaration for validate-with-json-schema #556

Closed
ndw opened this issue Apr 24, 2024 · 0 comments · Fixed by #558
Closed

Error in declaration for validate-with-json-schema #556

ndw opened this issue Apr 24, 2024 · 0 comments · Fixed by #558

Comments

@ndw
Copy link
Collaborator

ndw commented Apr 24, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant