forked from expath/xspec
-
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
Fix issue 547 (Schematron ignores context select) and 548 (Schematron ignores AVT) #549
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Conflicts: # test/generate-tests-utils.xspec # test/generate-x-utils.xspec
# Conflicts: # test/generate-x-utils.xspec
# Conflicts: # test/generate-tests-utils.xspec # test/generate-x-utils.xspec
# Conflicts: # test/generate-tests-utils.xspec # test/generate-x-utils.xspec
# Conflicts: # test/end-to-end/cases/expected/stylesheet/xspec-three-dots-result.html
# Conflicts: # src/compiler/generate-xspec-tests.xsl
# Conflicts: # test/win-bats/collection.xml # test/xspec.bats
# Conflicts: # test/win-bats/collection.xml # test/xspec.bats
# Conflicts: # test/xspec.bats
# Conflicts: # test/xspec-308.xspec # test/xspec-node-selection.xspec
# Conflicts: # src/compiler/generate-tests-utils.xsl
# Conflicts: # src/compiler/generate-xspec-tests.xsl
# Conflicts: # test/end-to-end/cases/expected/stylesheet/xspec-three-dots-result.html
# Conflicts: # test/end-to-end/cases/expected/stylesheet/xspec-450-451-result.html
# Conflicts: # src/reporter/format-xspec-report.xsl # test/end-to-end/cases/expected/stylesheet/xspec-serialize-result.html # test/end-to-end/cases/expected/stylesheet/xspec-three-dots-result.html
…nario-block # Conflicts: # src/reporter/format-xspec-report.xsl # test/end-to-end/cases/expected/query/xspec-153-result.html # test/end-to-end/cases/expected/query/xspec-177-result.html # test/end-to-end/cases/expected/query/xspec-346-result.html # test/end-to-end/cases/expected/query/xspec-452-result.html # test/end-to-end/cases/expected/query/xspec-467-result.html # test/end-to-end/cases/expected/query/xspec-67-result.html # test/end-to-end/cases/expected/query/xspec-ambiguous-expect-result.html # test/end-to-end/cases/expected/query/xspec-focus-1-result.html # test/end-to-end/cases/expected/query/xspec-function-result.html # test/end-to-end/cases/expected/query/xspec-import-result.html # test/end-to-end/cases/expected/query/xspec-imported-result.html # test/end-to-end/cases/expected/query/xspec-pending-result.html # test/end-to-end/cases/expected/query/xspec-report-result.html # test/end-to-end/cases/expected/query/xspec-serialize-result.html # test/end-to-end/cases/expected/query/xspec-three-dots-result.html # test/end-to-end/cases/expected/stylesheet/xspec-151-result.html # test/end-to-end/cases/expected/stylesheet/xspec-153-result.html # test/end-to-end/cases/expected/stylesheet/xspec-177-result.html # test/end-to-end/cases/expected/stylesheet/xspec-23_2-result.html # test/end-to-end/cases/expected/stylesheet/xspec-346-result.html # test/end-to-end/cases/expected/stylesheet/xspec-452-result.html # test/end-to-end/cases/expected/stylesheet/xspec-467-result.html # test/end-to-end/cases/expected/stylesheet/xspec-50-result.html # test/end-to-end/cases/expected/stylesheet/xspec-528-result.html # test/end-to-end/cases/expected/stylesheet/xspec-55-result.html # test/end-to-end/cases/expected/stylesheet/xspec-67-result.html # test/end-to-end/cases/expected/stylesheet/xspec-ambiguous-expect-result.html # test/end-to-end/cases/expected/stylesheet/xspec-focus-1-result.html # test/end-to-end/cases/expected/stylesheet/xspec-function-result.html # test/end-to-end/cases/expected/stylesheet/xspec-import-result.html # test/end-to-end/cases/expected/stylesheet/xspec-imported-result.html # test/end-to-end/cases/expected/stylesheet/xspec-pending-result.html # test/end-to-end/cases/expected/stylesheet/xspec-report-result.html # test/end-to-end/cases/expected/stylesheet/xspec-result-naming-collision-result.html # test/end-to-end/cases/expected/stylesheet/xspec-rule-result.html # test/end-to-end/cases/expected/stylesheet/xspec-serialize-result.html # test/end-to-end/cases/expected/stylesheet/xspec-three-dots-result.html # test/end-to-end/cases/expected/stylesheet/xspec-xslt2-result.html
@cirulls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request derives from #546. So needs to be handled after that.
Fixes #547
Fixes #548
The root cause of the problems is that in order to create a context document node,
schut-to-xspec.xsl
just copieschild::node()
to an external XML file and specifies the XML file as@href
:xspec/src/schematron/schut-to-xspec.xsl
Lines 68 to 81 in c84e19f
This pull request fixes it by creating a document node on memory at run time.
As a bonus,
test-dir-uri
parameter inschut-to-xspec.xsl
is no longer necessary.xsl:param
inschut-to-xspec.xsl
and its related lines in CLI and Ant have been removed.test/schut-to-xspec.xspec
is now activated.