Skip to content

Fix RMPathQuery to not ignore node ID name, if index was given#801

Open
jakesmolka wants to merge 1 commit into
openEHR:masterfrom
jakesmolka:query-ignores-name-when-index
Open

Fix RMPathQuery to not ignore node ID name, if index was given#801
jakesmolka wants to merge 1 commit into
openEHR:masterfrom
jakesmolka:query-ignores-name-when-index

Conversation

@jakesmolka

Copy link
Copy Markdown
Member

Hello,

I had a problem where an invalid RMPathQuery path with index like

composition.itemsAtPath("/content[openEHR-EHR-OBSERVATION.invaild.v1, 1]")

resulted in just the indexed match. See the test for details.

This MR is a proposal to fix this, if this behavior is indeed not as intended (as the TODO suggests).

Thanks and best,
Jake

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

Successfully merging this pull request may close these issues.

1 participant