Skip to content

Make most steps accept sequences #59

@xatapult

Description

@xatapult

A lot of the standard steps don't accept sequences. E.g. p:wrap, p:delete, etc. Why not? It seems like an arbitrary limitation. Why not make all these steps accept sequences. They then just perform their magic on all members of the sequence (or do nothing in case of an empty sequence).

IMHO the fact that sequences are "special" is a left-over from the XProc 1 days. It is more in line with the XPath standard to think of a single document also as a sequence, but just with one member. If you look at it like that it makes sense to treat sequences of all sizes in the same way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions