Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Doesn’t distinguish PathExpr from PrimaryExpr #3

@simonjwright

Description

@simonjwright

(quoting from XSLT Programmer’s Reference, Michael Kay, Wrox Press, 2000 page 387):

//section/para[1] returns all para elements that are the first para child of a section parent.
(//section/para)[1]returns the first element in the document that is a para child of a section parent.

XIA treats the first case as the second, and finds the second case syntactically incorrect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions