Skip to content

Steps when the context value contains multiple nodes #2084

Description

@michaelhkay

We have two conflicting statements in the spec.

§4.6.4 says: "The step expression S is equivalent to ./S. Thus, if the context value is a sequence containing multiple nodes, the semantics of a step expression are equivalent to a path expression in which the step is always applied to a single node."

§4.6.5 says: "When the context value for evaluation of a step includes multiple nodes, the step is evaluated separately for each of those nodes, and the results are combined without reordering."

I'm not sure which is intended: does S means. / S, or . ! S?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething that doesn't work in the current specificationPR PendingA PR has been raised to resolve this issueXPathAn issue related to XPath

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions