Hi David,
My interpretation of “semantics” is consistent (I think) with how mathematicians define the semantics of an expression. For example, I believe that a mathematician would say the semantics of this expression: 1 + 1 is: 2 In other words, the semantics of the expression is determined by the actions taken on the expression.
Compare that with what I said: The semantics of an XML document is determined by the actions taken on the XML document. I think that I am being consistent with mathematicians. Do you agree? /Roger From: David Carlisle <d.p.carlisle@gmail.com> On Sat, 8 Jan 2022 at 13:04, Roger L Costello <costello@mitre.org> wrote:
That's a very strange interpretation of "semantics" you have two calculations both with the same data so the semantics (meaning) of the document is the same in both cases and is the interpretation of the elements. For example the interpretation
of <duration units="hours">1</duration> as meaning 1 hour, that interpretation (which is external to the document) is the same in both cases. and (probably) the same if you just store the xml and never do any calculation at all. David |