Skip to content

Some issues in next branch #4

@nkutsche

Description

@nkutsche

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:

  1. rule-based-validation/let-value-as.xml has the wrong default phase
  2. pattern-templating/*-abstract-name-path.xml (1, 2) produces something like <sch:name path="name()"/> instead of <sch:name path="."/>
  3. instance-document-selection/pattern-subordinate-document-from.xml has <sch:phase name="">, should be <sch:phase id="".
  4. 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?
  5. 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'.
  6. 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions