Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xbow:pluck limited to maps #3

Closed
line-o opened this issue Feb 15, 2020 · 1 comment
Closed

xbow:pluck limited to maps #3

line-o opened this issue Feb 15, 2020 · 1 comment

Comments

@line-o
Copy link
Owner

line-o commented Feb 15, 2020

Expected behavior

xquery version "3.1";
module namespace xbow="http://line-o.de/xq/xbow";

xbow:pluck([1, 2], 1)

to return 1

Actual behavior

throws err:XPTY0004 xs:integer is not a subtype of xs:string

Reproduction steps

run the above xquery

Please provide the following

xbow version: 1.1.0

@line-o
Copy link
Owner Author

line-o commented Apr 11, 2020

fixed with 8247589

@line-o line-o closed this as completed Apr 11, 2020
github-actions bot pushed a commit that referenced this issue Jan 17, 2021
# [2.0.0](v1.0.0...v2.0.0) (2021-01-17)

### Bug Fixes

* **xbow:** categorize[#3](#3) return type is array ([34f81a3](34f81a3))

### Code Refactoring

* rename map-reverse to map-flip ([f4660b2](f4660b2))

### Features

* **xbow:** add xbow:last ([ce76ab9](ce76ab9))

### BREAKING CHANGES

* `xbow:map-reverse` is now `xbow:map-flip`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant