W3C home > Mailing lists > Public > public-xformsusers@w3.org > January 2019

References to XPath

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Wed, 09 Jan 2019 11:35:01 +0100
To: " XForms" <public-xformsusers@w3.org>
Message-ID: <op.zvcicnbksmjzpq@steven-xps>
The Spec refers to XPath in multiple ways, which I think need unifying and  
cleaning up.

Here are the main examples:

"Binding expressions in XForms use [XPath]"
Where [XPath] is XPath 2.0
XML Path Language (XPath) 2.0, Anders Berglund et al., 2010. W3C  
Recommendation available at:  
http://www.w3.org/TR/2010/REC-xpath20-20101214/.

"All data relevant to the XPath data model must be preserved"
(and many other uses of "XPath Data Model", sometime capitalised,  
sometimes not),
referring to:
XPath Data Model
XQuery 1.0 and XPath 2.0 Data Model, Anders Berglund et al., 2010. W3C  
Recommendation available at:  
http://www.w3.org/TR/2010/REC-xpath-datamodel-20101214/ .

"The datatype is associated with the string-value (as defined in [XPath  
1.0]) of the instance node." (in 5.3.2 The type Property  
https://www.w3.org/community/xformsusers/wiki/XForms_2.0#The_type_Property)
Referring to:
XPath 1.0
XML Path Language (XPath) Version 1.0, James Clark, Steve DeRose, 1999.  
W3C Recommendation available at:  
http://www.w3.org/TR/1999/REC-xpath-19991116.

"If a control binds to an element node, then regardless of how many child  
nodes the element has, the result of the control writing to it is that it  
has either a single non-empty text node child, or no children if the value  
written is the empty string (see [XPath 1.0])."

"All XForms Containing Documents must conform to the following  
specifications, except as qualified below:
  [XML 1.0]
  [XML Names]
  [XPath 1.0]
  [XML Events]
  [XML Schema part 2]"

"An XForms Processor therefore must conform to the following  
specifications, except as qualified below:
  [XML 1.0]
  [XML Names]
  [XPath 2.0]
  [XML Events] (not all aspects are required)
  [XML Schema part 2]"

"An XForms Model Processor must support:
  all attributes of the model element;
  all attributes and content of the instance element;
  all attributes, content and other aspects of bind elements, except  
p3ptype which is implementation-optional;
  all of [XPath 1.0],"

"Instance data node
  An [XPath 1.0] node from the instance data."

"Node
  The definition as used in the XPath Data Model."

Steven
Received on Wednesday, 9 January 2019 10:35:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:37:50 UTC