XDMF3 reader does not seem to populate DataItems referenced by an XPath
The Xdmf format says that an Xdmf DataItem
should be able to reference another one using an XPath within the same file.
However, the Xdmf3 reader does not seem to correctly populate those DataItems. For instance, the following attribute references to a DataItem that has previously been defined with Name="X"
.
<Attribute Name="A" Center="Node" AttributeType="Scalar">
<DataItem ItemType="Uniform" NumberType="Float" Dimensions="441" Format="XML" Reference="XML">
/Xdmf/Domain/DataItem[@Name="X"]
</DataItem>
</Attribute>
When loading into ParaView with the Xdmf3 reader, the grid displays only zeroes for this attribute. However, if I change the content of the DataItem to an actual list of numbers instead of a reference, it works.
Complete example file here. I use ParaView 5.2.0 on MacOs 10.11.6.