Hi @dmj,
I've found some issues in the test cases of the next branch. Most are just careless mistakes (I hope), so I don't think it is worth to make for each a separete ticket:
- rule-based-validation/let-value-as.xml has the wrong default phase
pattern-templating/*-abstract-name-path.xml (1, 2) produces something like <sch:name path="name()"/> instead of <sch:name path="."/>
- instance-document-selection/pattern-subordinate-document-from.xml has
<sch:phase name="">, should be <sch:phase id="".
reporting/svrl-*-lang.xml (1, 2, 3, 4): each contains an assertion like //svrl:failed-assert[lang('de')]. Correct would be //svrl:failed-assert/svrl:text[lang('de')], wouldn't it?
- reporting/svrl-name-path.xml: the assertion
normalize-space(//svrl:successful-report) = 'attribute' may correct, but it would be more precise with normalize-space(//svrl:successful-report/svrl:text) = 'attribute'.
- schema-composition/schema-phase-when.xml: two things...
- the
when should be /root/element instead of element, shouldn't it?
- the test case has a generall problem: there is no difference if the
when triggers the phase or the default behavior (#ALL) is applied. I would recommend to make the when-phase valid and introduce a second phase that would make the result invalid. The expected result should be valid then.
Do you prefer a pull request with my fixes?
Hi @dmj,
I've found some issues in the test cases of the
nextbranch. Most are just careless mistakes (I hope), so I don't think it is worth to make for each a separete ticket:pattern-templating/*-abstract-name-path.xml(1, 2) produces something like<sch:name path="name()"/>instead of<sch:name path="."/><sch:phase name="">, should be<sch:phase id="".reporting/svrl-*-lang.xml(1, 2, 3, 4): each contains an assertion like//svrl:failed-assert[lang('de')]. Correct would be//svrl:failed-assert/svrl:text[lang('de')], wouldn't it?normalize-space(//svrl:successful-report) = 'attribute'may correct, but it would be more precise withnormalize-space(//svrl:successful-report/svrl:text) = 'attribute'.whenshould be/root/elementinstead ofelement, shouldn't it?whentriggers the phase or the default behavior (#ALL) is applied. I would recommend to make thewhen-phase valid and introduce a second phase that would make the result invalid. The expected result should be valid then.Do you prefer a pull request with my fixes?