More debug.

This commit is contained in:
Paulo Gustavo Veiga 2013-02-26 23:30:56 -03:00
parent b5a7a11920
commit def2034fa0

View File

@ -167,7 +167,7 @@ mindplot.persistence.XMLSerializer_Beta = new Class({
$assert(documentElement.nodeName != "parsererror", "Error while parsing: '" + documentElement.childNodes[0].nodeValue); $assert(documentElement.nodeName != "parsererror", "Error while parsing: '" + documentElement.childNodes[0].nodeValue);
// Is a wisemap?. // Is a wisemap?.
$assert(documentElement.tagName == mindplot.persistence.XMLSerializer_Beta.MAP_ROOT_NODE, "This seem not to be a map document. Root Tag: '" + documentElement.tagName + ",HTML:"+dom.innerHTML); $assert(documentElement.tagName == mindplot.persistence.XMLSerializer_Beta.MAP_ROOT_NODE, "This seem not to be a map document. Root Tag: '" + documentElement.tagName + ",',HTML:" +dom.innerHTML + ",XML:"+ core.Utils.innerXML(dom));
// Start the loading process ... // Start the loading process ...
var version = documentElement.getAttribute("version"); var version = documentElement.getAttribute("version");