Skip to content

adding libxml to hurl_core adds system dependency #2025

Answered by jcamiel
SilenLoc asked this question in General
Discussion options

You must be logged in to vote

Hi @SilenLoc

There's no bad question of course and we're open to discuss everything!

Yes it was an explicit decision, we think that it'll not be an issue, as libxml being already a mandatory dependency of the hurl binary (used for XPath evaluation). Let me just explained the reason of this change.

With this change, we would like:

  1. to detect the end of XML document in a performant way
  2. remove a dependency on xsd-document Rust crate which has not been updated for 3 years

The first point deals with this hurl file:

POST https://example.org/InStock
Content-Type: application/soap+xml; charset=utf-8
SOAPAction: "http://www.w3.org/2003/05/soap-envelope"
<?xml version="1.0" encoding="UTF-8"?>
<soa…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@SilenLoc
Comment options

Answer selected by SilenLoc
Comment options

You must be logged in to vote
3 replies
@SilenLoc
Comment options

@jcamiel
Comment options

@SilenLoc
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants