XPath2.0 or XQuery

Idea ID 2780777

XPath2.0 or XQuery

Looking to gauge the communities needs/desire/thoughts about upgrading our processing engine to support XQuery. Typically the benefit vs risk is not sufficient as XPath 1.0 supports most capabilities. This thread is intended to start a discussion around whether or not the risk is worth the reward for future releases.
2 Comments
Knowledge Partner
Knowledge Partner
Dream scenario would be to have XPATH + XSLT 3.1 and streaming support added so that large XML input stops being such a bottleneck for us in driver development. A 200Mb XML input doc should not choke IDM, but it does. Having support for millions or billions of objects at Flaim level doesn't help if we can't import moderately sized raw data because we can't stream or pre-process it into discrete chunks that IDM likes. XSLT - should be a key part of the discussion regardless. It is with XSLT that we see the biggest downside to being stuck on the 1.x era tech. Implementation wise this should be enabled/disabled via an ECV on a per driver/driverset level.
New Member.
Getting xPath 2.0 (and possible xQuery) would make things very much simpler. One of the major issues which many people face is that do-query is very limited, meaning it's only possible to query with fixed values, eg. wild cards are not allowed in attribute matching. Which means that sometimes a query will result in thousands of results, which one then have to loop through. With xPath it is possible to filter using wildcards (contains with xPath v1.1), and with xPath 2.0 we would get lower-case, upper-case, and last but not least matches. Matches will allow us to use regEx to filter on node sets, which would make processing of large result documents faster, and very much easier than what we are faced with today. Make it optional if one wants to use xPath 1.x or 2.0 via an ECV....
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.