Visitar URL original
Support more recent XPath versions · Issue #5064 · Orange-OpenSource/hurl · GitHub
Skip to content

Support more recent XPath versions #5064

Open

Description

@jhemelhof

Problem to solve

We're dealing with a lot of legacy SOAP services for which we're creating Hurl validation requests. This works fine but assertions are a bit painful since we heavily rely on XPaths and Hurl only supports XPath 1.0 expressions.

Proposal

Support more recent XPath expression versions.

Additional context and resources

Tasks to complete

  • Support XPath 2.0 expressions
  • Support XPath 3.0 expressions
  • Support XPath 3.1 expressions

Activity

  1. jcamiel commented on Jun 5, 2026

    @jcamiel
    Collaborator

    Hi @jhemelhof

    Thanks for the issue. For XPath, we're using libxml2 that only supports XPath 1.0. So, for the moment, we won't be able to support XPath 2.0, 3.0 and 3.1.

    That said, in Hurl syntax we have filters that could help writing assertions and capture. Would you be able to give XML samples and XPath expressions/use-cases that you're using today and that could be improved? With samples, we can see if we could improve things for theses use-cases,

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions