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

ab-text-sort-010 #347

Closed
ndw opened this issue Dec 17, 2019 · 2 comments
Closed

ab-text-sort-010 #347

ndw opened this issue Dec 17, 2019 · 2 comments
Assignees

Comments

@ndw
Copy link
Contributor

@ndw ndw commented Dec 17, 2019

As written, I think the test requires a comparison between xs:integer and xs:untypedAtomic and those aren't comparable. (The integer 1 must be compared against 'C' and 'A'.) This could be a limitation of my implementation, but I'm not sure that's the case.

I propose to rewrite the key to avoid this problem:

if (position() lt 3) then '@' else .

Thoughts?

@xml-project

This comment has been minimized.

Copy link
Contributor

@xml-project xml-project commented Dec 18, 2019

Of course you are right. It is not a limation in your implementation, but a bug in mine. Will fix this.

@xml-project xml-project self-assigned this Dec 18, 2019
@ndw

This comment has been minimized.

Copy link
Contributor Author

@ndw ndw commented Dec 20, 2019

@xml-project pushed a fix for this, so I'm closing it.

@ndw ndw closed this Dec 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.