[Home] [By Thread] [By Date] [Recent Entries]

  • From: Stephen D Green <stephengreenubl@g...>
  • To: "Costello, Roger L." <costello@m...>
  • Date: Fri, 15 Nov 2019 08:09:35 +0000

It is too easy to forget to supply XPath version numbers with XPath expressions. The version can turn true into false quite easily. The same expression, even a fairly basic one, can return true in version 1 and false in version 2. I do not think it is sensible to rely on XPath alone in critical systems. It can help to formalise specifications combining it with human readable statements but beyond that it requires great care, especially in long persisted domains such as procurement documentation where prominence of versions of XPath can change during the life of the specifications and systems and XML documents. 

On Thu, 14 Nov 2019 at 20:01, Costello, Roger L. <costello@m...> wrote:
Hi Folks,

Are you using XML in life-critical applications such as controlling nuclear power plants or controlling aircraft flight systems?

Can I rely on an XPath query engine to always return the correct results when given a valid XPath query and a well-formed XML document? Is it possible to quantify or bound the correctness of an XPath query engine? Are there XPath query engines that limit the probability of getting an incorrect result to 10**(-9)?

/Roger

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

--
----
Stephen D Green


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member