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

Update error codes for XS0096 tests #244

Merged
merged 1 commit into from Jul 25, 2019

Conversation

@ndw
Copy link
Contributor

commented Jul 25, 2019

I think err:XD0015 is an equally valid error code for these tests.

@ndw ndw requested a review from xml-project Jul 25, 2019

@xml-project
Copy link
Contributor

left a comment

Sorry, I miss something here. The purpose of the test is to check that sequence-type in "as" is valid. So XS0096 should be raised to my reading. Where does the dynamic error come into play?

@ndw

This comment has been minimized.

Copy link
Contributor Author

commented Jul 25, 2019

XD0015 says "It is a dynamic error if a QName is specified and it cannot be resolved with the in-scope namespace declarations" which is clearly what's wrong in this case. We say that dynamic errors can be raised statically.

@xml-project xml-project self-requested a review Jul 25, 2019

@xml-project
Copy link
Contributor

left a comment

Its your implementation to raise this error ;-))

@ndw ndw merged commit 128ea1a into xproc:master Jul 25, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@ndw ndw deleted the ndw:err-s0096 branch Jul 25, 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.