kestra-io / plugin-serdes

https://kestra.io/plugins/plugin-serdes/
Apache License 2.0
2 stars 6 forks source link

Empty XML bug with xpath #64

Closed Ben8t closed 11 months ago

Ben8t commented 11 months ago

When parsing an empty XML file, the xpath rule leads to nothing resolving in a bug

Actual Behaviour

No response

Steps To Reproduce

XML path sample : http://www.mytalentplug.com/xml.aspx?jbID=1iKhlPwuKf4=&eid=Qt8Bka2GAhk=e9Q3qMaSd/0=

tasks :

- id: download
    type: io.kestra.plugin.fs.http.Download
    uri: "{{ inputs.uri }}"

  - id: read
    type: io.kestra.plugin.serdes.xml.XmlReader
    from: "{{ outputs.download.uri }}"
    query: /flux/offre

Environment Information

Example flow

No response