Xdmf2: 3-component arrays saved to XDMF and re-read do not have 3 components
Steps to reproduce:
- Launch ParaView/builtin server
- Sources -> Sphere
- File -> Save Data. Save as an Xdmf Data File (*.xmf)
- Reset session.
- Load the previously saved Xdmf file. The Normals array from the Sphere source will be present, but it will have a single component.
The attached files are from the Xdmf file export in this series of steps.
Note that the
Attribute element has an XML attribute named
Type which is set to
"None". Changing this to an XML attribute named
AttributeType and setting its value to
"Vector" causes the "Normals" array to be read in correctly as a vector.