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

Refine XC0038 "version not supported" #182

Closed
xml-project opened this issue Aug 2, 2019 · 1 comment

Comments

@xml-project
Copy link
Contributor

commented Aug 2, 2019

Currently we use XC0038 ("version not supported") in different steps, e.g. p:xslt, p:xquery and p:validate-with-xml-schema.
I propose to have a different error for each step, so authors can write better catch pipeline, like:

<p:try>
  <p:xquery />
  <p:validate-with-xml-schema />
  <p:xslt />

  <p:catch code="xquery-code">
    <!-- Error message -->
  </p:catch>
  <p:catch code="validate-with-xml-schema-code>
    <!-- Error message -->
  </p:catch>
  <!-- ... -->
</p:try>
@ndw

This comment has been minimized.

Copy link
Collaborator

commented Aug 5, 2019

Fine by me.

@xml-project xml-project self-assigned this Aug 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.