Skip to content

@AirQuick AirQuick released this May 7, 2019 · 6 commits to master since this release

Summary

Release v1.3.0 introduces new features and enhancements, fixes bugs, and improves the test suite and the documentation. These are the highlights for XSpec v1.3.0:

  • Various bugs in the report files have been fixed (#177, #355, #367, etc.)
  • Handling whitespace-only text nodes has been fixed and documented (#346, etc.)
  • Testing Schematron with text nodes has been improved and documented (#396, etc.)
  • Code Coverage has been stabilized (#214, #354, etc.)
  • Some XQuery bugs have been fixed (#440, #441, etc.). Other known bugs will be fixed in the next release.
  • Source document at runtime has been removed (#423). Some XSpec users may be surprised when they find their XSpec crashing on the v1.3.0 release but the fact is that such stylesheets were running on XSpec just luckily.

Many thanks to the many XSpec contributors who made this release possible. They are listed next to the relevant code change (the first name is usually the person who started the pull request, the next names are people who contributed or reviewed the pull request).

New features and enhancements

Issue PR Description Contributors
#321 Common utils @AirQuick
#324 Centralize catalog resolver function @AirQuick
#336 Indent XQuery report XML @AirQuick
#354 Write coverage XML to file @AirQuick
#369 Remove disable-output-escaping @AirQuick
#371 Organize namespace prefixes @AirQuick
#374 Simplify test:serialize templates @AirQuick
#376 Flags for test:deep-equal() @AirQuick
#378 Rename test:report-value to report-sequence or report-node @AirQuick
#381 Compile in UTF-8 @AirQuick
#382 Remove unnecessary namespace alias @AirQuick
#383 Use common functions to wrap nodes in document node @AirQuick
#388 Use generic font families @AirQuick
#390 Add xsl:otherwise (in preparation for Saxon 9.9) @AirQuick
#408 Ant: Parameterize Schematron XSLT file path @AirQuick
#411 Ant: Extract Schematron parameters from XSpec file @AirQuick
#417 Publish x:text text node constructor (formerly x:space) @AirQuick
#419 Simplify coverage report H2 text @AirQuick
#423 #435 Provide .xspec file URI at runtime @AirQuick
#423 #436 Remove runtime source document (XQuery) @AirQuick
#442 Import XQuery module without prefix if not required @AirQuick
#456 Define EQName in schema @AirQuick

Bug fixes

Issue PR Description Contributors
#322 Fix Schematron temporary context file location @AirQuick
#325 Fix command line Schematron to resolve URI with catalog @AirQuick
#226 #329 JUnit report is not indented @AirQuick, @cirulls
#211 #330 JUnit report: Premature end of failure element text @AirQuick
#333 Remove unused namespaces from junit-report.xsl @AirQuick
#334 Fix URI in XQuery report HTML @AirQuick
#337 Remove unused xmlns:pkg from XQuery report XML @AirQuick
#339 Fix xml-stylesheet processing instruction in XSLT report XML @AirQuick
#214 #342 Fix coverage-report.xsl fails to parse CDATA @AirQuick
#204 #343 xspec.sh fails to generate code coverage report when stderr contains other outputs @AirQuick
#208 #344 Non alphanumeric path can make code coverage fail @AirQuick
#177 #345 Unhelpful report when test attribute is a boolean @AirQuick
#348 Schema: Add common-attributes to global-param @AirQuick, @galtm
#350 Schema: Add as? to global-param @AirQuick, @galtm
#351 Remove inconsistent xml-model processing instructions @AirQuick
#346 #353 Comparison always discards whitespace-only text nodes @AirQuick
#356 #366 ! is missing from reported comment @AirQuick
#368 Replace CSS CR LF with LF @AirQuick
#370 Fix image path in format-xspec-report-folding.xsl @AirQuick
#359, #367 #375 Fix serialization bugs @AirQuick
#377 Fix HTML report diff issue when a child node is indented @AirQuick
#355, #357, #358, #360, #361 #380 Fix broken report for XSLT @AirQuick
#379 #384 Ellipsis in Result does not have style @AirQuick
#386 #387 Significant whitespace-only text node in the report HTML does not have style @AirQuick
#404 Remove /q option from DEL command in xspec.bat @AirQuick
#410 Command line: Extract Schematron parameters from XSpec file @AirQuick
#412 #413 select with href or child node always sorts nodes and eliminates duplicates @AirQuick
#420 Report whitespace-only text nodes on XQuery @AirQuick
#427 Fix XQuery TODO in generate-tests-utils.xspec (x:param) @AirQuick
#428 Fix x:expect FIXME in generate-query-tests.xsl @AirQuick
#308 #432 x:label affects expectation for XQuery @AirQuick
#423 #437 Remove source document at runtime (XSLT) @AirQuick
#438 #439 x:label affects attribute(test) evaluation on XQuery @AirQuick
#440 #443 XQuery x:expect with select and test is terminated with XPTY0004 @AirQuick
#441 #444 XQuery x:expect with href and test is terminated with XPTY0004 @AirQuick
#29, #453, #538 #454 Fix XSLT ns prefix is changed, x:context/x:param curly bracket, and add test for AVT in user content @AirQuick, @cmarchand, @galtm
#445 #455 Cannot use EQName in name attributes @AirQuick
#452 #455 XQuery report XML describes parameters incorrectly when not element @AirQuick
#458 Test ... on XQuery and fix reporting node order @AirQuick

Tests

Issue PR Description Contributors
#323 Relativize links in expected results of end-to-end test @AirQuick
#326 Regression test for code coverage @AirQuick
#327 Regression test for schema-aware XSLT @AirQuick
#328 Compare namespace, comment and processing instruction in end-to-end test @AirQuick
#331 Run end-to-end test for XQuery @AirQuick
#332 Remove xquery-tutorial from end-to-end test @AirQuick
#520 JUnit end-to-end test: More specific template result type @AirQuick
#335 Test XML report files (as well as HTML and JUnit) @AirQuick
#340 End-to-end test for schema-aware XSLT @AirQuick
#341 Test code coverage report files (as well as XML, HTML and JUnit) @AirQuick
#347 Test for base URI @AirQuick, @galtm
#349 Test for x:param/attribute(as) @AirQuick, @galtm
#352 Test for whitespace-only text node @AirQuick, @galtm
#363 Test more .xspec files and schema @AirQuick
#364 Fix xspec-result-naming-collision.xspec label @AirQuick
#362 #365 Test the report files of xspec-result-naming-collision.xspec @AirQuick
#372 Test cases for serialization @AirQuick
#151 #385 Test terminates with FOTY0012 in test:report-sequence on XSLT @AirQuick
#405 Reset public environment variables before running tests @AirQuick
#407 Test more cleanly with Schematron XSLTs provided externally @AirQuick
#409 Verify the whole output dir @AirQuick
#421 Update test deps (as of 2018-11-12Z) @AirQuick
#424 Add attribute(as) to some risky x:param in tests @AirQuick
#425 Transfer a test for test:node-deep-equal() to test:deep-equal() @AirQuick
#426 Rename test:create-xslt-generator mode to test:create-node-generator @AirQuick
#429 Fix a test error in xspec-three-dots.xspec (multiple nodes in a document) @AirQuick
#430 Test for issue 59 use case 2 on XQuery @AirQuick
#431 Test node-selection on XQuery @AirQuick
#423 #433 Add XSLT test for source document at runtime (XProc) @AirQuick
#423 #434 Add XQuery test for source document at runtime @AirQuick
#457 Make xspec-three-dots.xspec more portable @AirQuick

Documentation

Issue PR Description Contributors
Release Workflow @cirulls, @AirQuick, @cmarchand
#326 How to run the test suite locally (Ant update) @AirQuick, @galtm
#521 Fix up namespaces in Compilation.md @AirQuick, @galtm
#526 Document xspec.result.html and xspec.coverage.html Ant properties @AirQuick
#346 #352, #353 Whitespace-only Text Nodes @AirQuick
#373 Annotate format-*.xsl @AirQuick
#517 Update Function Scenario section @AirQuick, @cmarchand
#389 Minor edit in XSLT files @AirQuick
#396 #411 Testing Schematron with Text Nodes @AirQuick
#555 #411 Document xspec.schematron.preprocessor.step* Ant properties @AirQuick
#417 x:text @AirQuick
#423 #437 Global variables/parameters in the tested XSLT are evaluated with no context @AirQuick
#234 #437 Use $x:result instead of context item in test attribute @AirQuick
Assets 2
You can’t perform that action at this time.