When I post a config node using this markup, an error is thrown: "The body must contain a tag if not empty."

<map config="sites/all/modules/mapbuilder/demo/config.xml" />

This markup does not throw the error.

<map>sites/all/modules/mapbuilder/demo/config.xml</map>

However, in both cases a map tag is present and the XML is well-formed.

(And then the map loads! Hurrah!)

Comments

jpulles’s picture

Status: Active » Closed (works as designed)

The config.xml must always be edited to adapt the <defaultModelUrl> and <skinDir> parameters to your local installation. Config.xml assumes a drupal base_path of /drupal-5.0/. See README.txt.

There was another error though because of a function that was replaced.

Nice that your map shows!

lambert-1’s picture

I don't see this as a base paths issue. I see this as an XML issue where:

<map></map>

is acceptable and

<map/>

is not, even though both are well-formed by the XML spec. Am I missing something?