HBSMR v3.x MIDAS XML export: bad schema reference

The MIDAS xml export from the HBSMR Monument Index form includes an out-of-date URL link for the MIDAS xml schema. This means that anybody trying to import the data into a database or other application from the exported xml is unlikely to succeed because the schema is required to understand the xml data.

The schema location is added to the export by the xsl transform file xgMIDASxmlMon.xsl which is located in the mdb\xsl folder of the HBSMR application. You can correct the URL link to the schema by opening the xsl file (best done using Notepad) and replacing the section near the top between

<xsl:template match="/">

and

<!-- metadata inserted here - do not remove or alter these tags -->

with

<monuments xmlns="http://www.heritage-standards.org.uk/midas/schema/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.heritage-standards.org.uk/midas/schema/1.0 http://www.heritage-standards.org.uk/midas/schema/1.0/midas_monument.xsd">

This will be fixed in the version 4 upgrade.

Comments

Comments are closed on this post.
Find out more