Welcome! Please see the About page for a little more info on how this works.

0 votes
in data.zip by

xml-> returns a variable number of strings, depending on what the predicates match.

When using xml-> to filter XML content, it would be very handy to have xml-> return empty strings when there is no match for the predicates. This allows processing malformed XML more accurately.

I've created an example here:
https://gist.github.com/bzg/a35c4f986583e490480b5932d601ffed

1 Answer

0 votes
by
Reference: https://clojure.atlassian.net/browse/DZIP-7 (reported by alex+import)
...