This problem occurs when the calculations in the InfoPath form contain an XPath expression that starts with two slash marks (//). The OriginalData nodes are in the same namespace as the nodes in the
DataSet object.
For example, the following calculation returns the correct results.
xdMath:Avg(//dfs:dataFields/tns:UntypedDataSetQueryResponse/tns:UntypedDataSetQueryResult/ns1:NewDataSet/ns1:untypedDataSetTable/ns1:id)
However, if the XPath expression is truncated like the following example, this problem occurs.
xdMath:Avg(//ns1:NewDataSet/ns1:untypedDataSetTable/ns1:id)