Jump to content

MariusG

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by MariusG

  1. Hello,

    I am having the following situation:

    In a XML file, there is a parameter of ENUMERATION type (let's call it Time {AM, PM}).

    In an XPath expression, I need to evaluate the value of this parameter (as in Time != 'AM').

    If the provider of the parameter Seasons decides to change the enum to {24H}, does my evaluation Time != 'AM' have any chance to return false?

    The only explanation for this would be that XPath does not check for the string itself, but for its value as a member of an enumeration (AM is expected to be 0 and 24H is indeed 0).

    Does anyone know how XPath makes these kind of evaluations, that involve enumerations?

    Thank you!

×
×
  • Create New...