Invalid XPointer in XDMF output if `XdmfDomain::accept()` is called more than once...
If XdmfDomain::accept()
is called more than once on the same XdmfDomain
object then the XPointers in the resulting .xmf
file are invalid.
For example, if the last line of the example file XdmfExampleWrite.py
:
primaryDomain.accept(exampleWriter)
is replaced with two calls to accept()
:
primaryDomain.accept(exampleWriter)
primaryDomain.accept(exampleWriter)
then the resulting .xmf
file is corrupted and contains invalid XPointers.