BaseXdb / basex

BaseX Main Repository.
http://basex.org
BSD 3-Clause "New" or "Revised" License
685 stars 265 forks source link

XQuery: Simple maps, functions with higher-order arguments #2137

Closed ChristianGruen closed 2 years ago

ChristianGruen commented 2 years ago

The following query is simplified to an empty sequence. It should raise an error instead:

<x/> ! for-each-pair(., ., function($x, $y) {
  update:output(1)
})