-
Notifications
You must be signed in to change notification settings - Fork 31
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
Schema: Move node-selection's href and user-content into choice #307
Conversation
…c-rule # Conflicts: # build.xml # test/saxon-custom-options/config.xml # test/saxon-custom-options/test.xspec # test/xspec-bat.cmd # test/xspec.bats
…tion_cumulative # Conflicts: # build.xml # test/saxon-custom-options/config.xml # test/saxon-custom-options/test.xspec # test/xspec-bat.cmd # test/xspec.bats
…k/xspec into valid-xspec-rule # Conflicts: # test/xspec-bat.cmd # test/xspec.bats
…c-rule # Conflicts: # build.xml # test/end-to-end/generate-expected.cmd # test/end-to-end/generate-expected.sh # test/end-to-end/processor/html/_normalizer.xsl # test/end-to-end/run-e2e-tests.cmd # test/end-to-end/run-e2e-tests.sh # test/run-xspec-tests-ant.cmd # test/run-xspec-tests-ant.sh
…tion_cumulative # Conflicts: # build.xml # test/end-to-end/generate-expected.cmd # test/end-to-end/generate-expected.sh # test/end-to-end/processor/html/_normalizer.xsl # test/end-to-end/run-e2e-tests.cmd # test/end-to-end/run-e2e-tests.sh # test/run-xspec-tests-ant.cmd # test/run-xspec-tests-ant.sh
…c-rule # Conflicts: # test/xspec-bat.cmd # test/xspec.bats
…tion_cumulative # Conflicts: # test/xspec-bat.cmd # test/xspec.bats
…c-rule # Conflicts: # test/xspec-bat.cmd # test/xspec.bats
…into node-selection_cumulative
…tion_cumulative # Conflicts: # test/run-bats.cmd # test/run-bats.sh # test/win-bats/collection.xml # test/xspec.bats
…tion_cumulative # Conflicts: # bin/xspec.bat # test/win-bats/collection.xml # test/xspec.bats
Although this pull request contains a lot of commits for historical reasons, all that needs to be reviewed in the end is a set of commits mentioned in the initial comment: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @galtm for the review. It's very helpful. If you're interested, So, in the commit, the test runs Jing to validate
If you're not interested in d2fc959, feel free to review it just shallowly. |
Thanks for the background information, @AirQuick. You saved me some time. The tests look good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed the three commits, and they look fine.
Thanks. I recorded it in the release notes as enhancement/new feature. |
This pull request derives from #306. So needs to be handled after that.
Obsoletes #171.
In the current schema,
node-selection
makes bothhref
anduser-content
optional:xspec/src/schemas/xspec.rnc
Lines 190 to 195 in 5c87ec0
xspec/src/schemas/xspec.rnc
Line 215 in 5c87ec0
So it allows these elements
which don't make sense.
As for
x:context
, the scenario is terminated:xspec/src/compiler/generate-xspec-tests.xsl
Lines 125 to 132 in 5c87ec0
As for
x:param
andx:expect
, content is ignored in favor of@href
:xspec/src/compiler/generate-tests-helper.xsl
Lines 51 to 66 in 5c87ec0
This pull request updates the schema to reflect it. The elements above are no longer allowed by the updated schema.
This pull request consists of three commits:
href
overuser-content
.