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

Schematron Ant: Do not set bogus phase parameter when phase is undefined #169

Merged
merged 3 commits into from
May 19, 2018

Conversation

AirQuick
Copy link
Member

Fixes #168

If the user sets no xspec.phase property and the .xspec file defines no phase in Schematron testing, build.xml sets a bogus phase parameter at STEP 3.
So the user has to set xspec.phase explicitly, when testing demo-03.xspec. Though that's how the original PR #160 was designed, the design is not aligned with xspec.bat/sh which works more friendly.

With this PR, the user no longer has to set xspec.phase when testing demo-03.xspec and the like.

@vincentml
Copy link
Collaborator

Another variance between the Ant script and xspec.bat/sh is that the Ant script is only picking up the phase parameter. xspec.bat/sh pick up phase and any other parameters defined using XSpec param elements.

@AirQuick
Copy link
Member Author

Right. That too was missing from the original PR.
I added TODO comments.

@AirQuick
Copy link
Member Author

AirQuick commented Mar 23, 2018

This change has been integrated in oxygen 20. So I proposed this for v.1.1.0.

@AirQuick
Copy link
Member Author

Two months have passed since oxygen was shipped with this change.
I'll merge this in a few days.

@AirQuick AirQuick merged commit 6e46603 into xspec:master May 19, 2018
@AirQuick AirQuick deleted the fix_issue-168 branch May 19, 2018 08:48
@AirQuick
Copy link
Member Author

@cirulls
Merged this.

@cirulls cirulls added this to the v1.1.0 milestone Jun 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants