Skip to content
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.

Switch to jaxb xpath #7

Merged
merged 16 commits into from
May 12, 2016
Merged

Switch to jaxb xpath #7

merged 16 commits into from
May 12, 2016

Conversation

pieterbos
Copy link
Member

@pieterbos pieterbos commented May 6, 2016

JAXB is really a lot of work to annotate, compared to the simple things I can do with jackson. But it works and now full XPATH support is available for the RM.

Somehow some test fails in gradle, but not from intellij. Needs work.

  • JAXB-annotations on RM model
  • XPATH-queries on RM Model using JAXB
  • XPATH queries with paths containing only numerical indexes as a return value so client/web applications do not need full xpath support
  • Test with XSD, or bind code to actual XSD using xjc
  • APath-shorthand-notation other than idxxx

A few things are quiet hard to do with apath queries because of differences. Not sure if we should switch to an actual library, since our old approach sort of worked.

XJPath has synchronized static locking in its context creation, and that's REALLY not necessary. It makes me wonder if this library is the right thing to use.
… 'name' -> name/value = 'name' support

Perhaps I should fully write the parser tree walker, instead of this very selectively applied one?
@pieterbos pieterbos merged commit 4609f48 into master May 12, 2016
@pieterbos pieterbos deleted the switch_to_jaxb_xpath branch May 12, 2016 12:45
pieterbos added a commit that referenced this pull request Dec 27, 2017
Split flattener into separate parts
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant