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

From pull request #129 discussion: suppress warning message and clean up temporary files #131

Merged
merged 6 commits into from
Jun 26, 2017

Conversation

vincentml
Copy link
Collaborator

As discussed in pull request #129: suppress warning message "Running an XSLT 10 stylesheet with an XSLT 20 processor" during Schematron compilation and clean up temporary files.

@vincentml vincentml changed the title As discussed in pull request #129: suppress warning message and clean up temporary files From pull request #129 discussion: suppress warning message and clean up temporary files May 16, 2017
cirulls pushed a commit that referenced this pull request May 16, 2017
@cirulls cirulls self-assigned this May 16, 2017
@cirulls cirulls self-requested a review May 16, 2017 19:43
@cirulls
Copy link
Member

cirulls commented May 16, 2017

This looks good to me, I'm the process of writing some tests for this pull request, I'll keep you posted.

Copy link
Member

@cirulls cirulls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. I tested it by running the shell script under Linux and the batch script under Windows and I confirm that the Schematron warnings are not showing up anymore.

In branch test/131 I added two tests, one for the shell script and one for the batch script. These tests make sure that the warnings do not appear: they check the position of the output "Compiling the Schematron tests...", if there are warning the position of this output is not at the given lines. Branch test/131 also contains your changes.

@vincentml: would you be able to integrate these tests in your pull request? Alternatively you can close this pull request and initiate a new one from branch test/131 - if you agree with the logic of my tests, of course.

@cirulls cirulls assigned vincentml and unassigned cirulls May 17, 2017
@cirulls cirulls added this to the v0.6.0 milestone May 17, 2017
vincentml added a commit to vincentml/xspec that referenced this pull request May 22, 2017
* add tests for removal of Schematron warnings xspec#131
* create directory for schematron at setup/teardown stages
@vincentml
Copy link
Collaborator Author

@cirulls , I've merged the tests that you added into this pull request.

I also added a test to show that the cleanup removes temporary files for the batch script, however I've not been able to write a similar working test for the shell script.

@vincentml
Copy link
Collaborator Author

I've added an equivalent test for the shell script to check that temporary files are removed.

…ning an XSLT 10 stylesheet with an XSLT 20 processor" during Schematron compilation and clean up temporary files.
* add tests for removal of Schematron warnings xspec#131
* create directory for schematron at setup/teardown stages
@vincentml vincentml merged commit c25a849 into xspec:master Jun 26, 2017
@vincentml vincentml deleted the schematron02 branch June 26, 2017 02:47
AirQuick added a commit to AirQuick/xspec that referenced this pull request Aug 25, 2017
* 'master' of git://github.com/xspec/xspec:
  Allow Schematron XSLTs to be provided externally (xspec#133)
  From pull request xspec#129 discussion: suppress warning message and clean up temporary files (xspec#131)
  add XProc harness for BaseX standalone (review xspec#103) (xspec#136)
  Add documentation for Schematron support (xspec#129)
  add Schematron support (xspec#105)
  add checks for saxon script + test (xspec#124)
  Run tests with XML Calabash 1.1.16-97 (xspec#123)
  Escape apostrophe in URI (xspec#119)
  xspec.bat (Windows) fails when path contains parentheses
AirQuick added a commit to AirQuick/xspec that referenced this pull request Aug 31, 2017
* 'master' of git://github.com/xspec/xspec:
  Add TODO comments for focus/pending tests in #4 (#61)
  End-to-end test for XSpec itself (#81)
  Allow Schematron XSLTs to be provided externally (xspec#133)
  From pull request xspec#129 discussion: suppress warning message and clean up temporary files (xspec#131)
  add XProc harness for BaseX standalone (review xspec#103) (xspec#136)
  Add documentation for Schematron support (xspec#129)
  add Schematron support (xspec#105)
  add checks for saxon script + test (xspec#124)
  Run tests with XML Calabash 1.1.16-97 (xspec#123)
  Escape apostrophe in URI (xspec#119)
  xspec.bat (Windows) fails when path contains parentheses
  Do not copy unused namespaces from format utils to output (xspec#91)
  Stop using functx namespace (xspec#104)
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.

2 participants