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

Command line: Extract Schematron parameters from XSpec file #410

Merged
merged 600 commits into from
Mar 27, 2019

Conversation

AirQuick
Copy link
Member

This pull request derives from #409. So needs to be handled after that.


CLI (xspec.bat and xspec.sh) already extracts Schematron parameters. But they are extracted as strings in a primitive way.

This pull request fixes it by extracting the parameters in the same way as XSpec for XSLT.

As a result,

  • Problems mentioned in schematron-param-001.xspec are fixed.
  • Schematron parameters are now tested. (test/schematron-param-001.xspec used to do no tests.)

…-cmdline

# Conflicts:
#	build.xml
#	test/xspec-bat.cmd
#	test/xspec.bats
…185_cumulative

# Conflicts:
#	test/saxon-custom-options/config.xml
#	test/saxon-custom-options/test.xspec
#	test/xspec-bat.cmd
#	test/xspec.bats
…ic-env-vars

# Conflicts:
#	bin/xspec.bat
#	bin/xspec.sh
#	build.xml
#	test/saxon-custom-options/config.xml
#	test/saxon-custom-options/test.xspec
#	test/xspec-bat.cmd
#	test/xspec.bats
…sult-prefixes

# Conflicts:
#	bin/xspec.bat
#	bin/xspec.sh
#	build.xml
#	test/saxon-custom-options/config.xml
#	test/saxon-custom-options/test.xspec
#	test/xspec-bat.cmd
#	test/xspec.bats
…185_cumulative

# Conflicts:
#	test/xspec-bat.cmd
#	test/xspec.bats
…talog

# Conflicts:
#	build.xml
#	test/saxon-custom-options/config.xml
#	test/saxon-custom-options/test.xspec
#	test/xspec-bat.cmd
#	test/xspec.bats
…from-xquery-xml

# Conflicts:
#	build.xml
#	test/saxon-custom-options/config.xml
#	test/saxon-custom-options/test.xspec
#	test/xspec-bat.cmd
#	test/xspec.bats
…result-naming-collision_label

# Conflicts:
#	bin/xspec.bat
#	bin/xspec.sh
#	build.xml
#	test/saxon-custom-options/config.xml
#	test/saxon-custom-options/test.xspec
#	test/xspec-bat.cmd
#	test/xspec.bats
# Conflicts:
#	bin/xspec.bat
#	bin/xspec.sh
#	build.xml
#	test/saxon-custom-options/config.xml
#	test/saxon-custom-options/test.xspec
#	test/xspec-bat.cmd
#	test/xspec.bats
# Conflicts:
#	bin/xspec.bat
#	bin/xspec.sh
#	build.xml
#	test/saxon-custom-options/config.xml
#	test/saxon-custom-options/test.xspec
#	test/xspec-bat.cmd
#	test/xspec.bats
…-output-escaping

# Conflicts:
#	bin/xspec.bat
#	bin/xspec.sh
#	build.xml
#	test/saxon-custom-options/config.xml
#	test/saxon-custom-options/test.xspec
#	test/xspec-bat.cmd
#	test/xspec.bats
…-folding-img-src

# Conflicts:
#	bin/xspec.bat
#	bin/xspec.sh
#	build.xml
#	test/saxon-custom-options/config.xml
#	test/saxon-custom-options/test.xspec
#	test/xspec-bat.cmd
#	test/xspec.bats
…lize

# Conflicts:
#	bin/xspec.bat
#	bin/xspec.sh
#	build.xml
#	test/saxon-custom-options/config.xml
#	test/saxon-custom-options/test.xspec
#	test/xspec-bat.cmd
#	test/xspec.bats
…ormat-xslt

# Conflicts:
#	bin/xspec.bat
#	bin/xspec.sh
#	build.xml
#	test/saxon-custom-options/config.xml
#	test/saxon-custom-options/test.xspec
#	test/xspec-bat.cmd
#	test/xspec.bats
…erialize

# Conflicts:
#	bin/xspec.bat
#	bin/xspec.sh
#	build.xml
#	test/saxon-custom-options/config.xml
#	test/saxon-custom-options/test.xspec
#	test/xspec-bat.cmd
#	test/xspec.bats
…359-367

# Conflicts:
#	bin/xspec.bat
#	bin/xspec.sh
#	build.xml
#	test/saxon-custom-options/config.xml
#	test/saxon-custom-options/test.xspec
#	test/xspec-bat.cmd
#	test/xspec.bats
…-flags

# Conflicts:
#	bin/xspec.bat
#	bin/xspec.sh
#	build.xml
#	test/saxon-custom-options/config.xml
#	test/saxon-custom-options/test.xspec
#	test/xspec-bat.cmd
#	test/xspec.bats
…diff

# Conflicts:
#	bin/xspec.bat
#	bin/xspec.sh
#	build.xml
#	test/saxon-custom-options/config.xml
#	test/saxon-custom-options/test.xspec
#	test/xspec-bat.cmd
#	test/xspec.bats
…-cmdline

# Conflicts:
#	bin/xspec.bat
#	test/end-to-end/cases/expected/schematron/schematron-01-result.xml
#	test/win-bats/collection.xml
#	test/xspec.bats
@AirQuick AirQuick merged commit e1ca268 into xspec:master Mar 27, 2019
@AirQuick AirQuick deleted the sch-params-cmdline branch March 27, 2019 04:38
@AirQuick
Copy link
Member Author

@cirulls
Merged this bug fix.

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

Successfully merging this pull request may close these issues.

None yet

1 participant