MoPat internally uses an ODM implementation that creates a valid ODM file with a namespace "xmlns:odm=..."
That causes every element to be prefixed with "". Since we are manually processing the document to determine the filetype, we currently only search for the element "ODM".
In order to support our own filetype, we should also search for "odm:ODM" in the document nodes.
MoPat internally uses an ODM implementation that creates a valid ODM file with a namespace "xmlns:odm=..."
That causes every element to be prefixed with "". Since we are manually processing the document to determine the filetype, we currently only search for the element "ODM".
In order to support our own filetype, we should also search for "odm:ODM" in the document nodes.