P-McG / BT-MatML-Editor

Material Text Editor for the xml MatML schema (https://www.matml.org)
GNU General Public License v3.0
6 stars 0 forks source link

Figure out the namespace problem #7

Open P-McG opened 2 years ago

P-McG commented 2 years ago

The examples and the xsd are in different namespaces.

The xml file must have xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance". examples given with MatML is xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" which doesn't work because it is not the same namespace as the matml31.xsd.

P-McG commented 2 years ago

Reached out to MatML.org and received no response on why the different namespaces between the .xsd file and the .xml example files.

P-McG commented 2 years ago

Oasis had the MatML Committee labelled as complete. It is possible to get the original *.xsd from the link below. It has the namespace of xmlns:xsd="http://www.w3.org/2001/XMLSchema"

Links: https://www.oasis-open.org/committees/download.php/20324/matml31.xsd https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=materials