|Re: [Wtp-wst-dev] XPath2 - bugs + tests|
My answers are below.
W dniu 2011-10-12 22:51, Jesper Steen Møller pisze:
Hi Łukasz,Ok, I will upload patches as soon as You open bugs in bugzilla.
What do you mean by saying "not just the Java version of it" ?
2) The implementation started as an academic clean room implementation but from an non-final version of the spec. When David Carver picked it up and work started under the Eclipse WTP umbrella, the focus was on correctness against the test suite, where we attacked it like a black box if it worked, and only took apart the failures. So, the horrible stuff like System.exit which obviously has NO place in a library, kept below the radar for quite a while, but was mostly removed in the 2.0 version this year, when every file was examined.
Maybe we should simple make search for every occurrence of System.exit function calls and replace them with some runtime exception.
No, it is not confidential :). We created XBRL Formula Validator based on yours library. The whole specification (http://www.xbrl.org/Specification/formula/REC-2009-06-22/index.htm ) is based on XPath2.0. Currently we are moving to new API.
After finishing this process, we probably have to have some battle with performance of evaluating XPath expressions. Main thing, which distinguish our solution from other venders is that we are implemented runtime(online) validation of XBRL Formula. We have some taxonomies, which includes many XBRL Formulas and after changing single value in XBRL document we have to evaluate sometime thousands of XPath expressions.
Back to the top