XML class
215
errorMessage = "A CDATA section was not properly terminated.";
break;
case -3 :
errorMessage = "The XML declaration was not properly terminated.";
break;
case -4 :
errorMessage = "The DOCTYPE declaration was not properly
terminated.";
break;
case -5 :
errorMessage = "A comment was not properly terminated.";
break;
case -6 :
errorMessage = "An XML element was malformed.";
break;
case -7 :
errorMessage = "Out of memory.";
break;
case -8 :
errorMessage = "An attribute value was not properly terminated.";
break;
case -9 :
errorMessage = "A start tag was not matched with an end tag.";
break;
case -10 :
errorMessage = "An end tag was encountered without a matching
start tag.";
break;
default :
errorMessage = "An unknown error has occurred.";
break;
}
trace("status: "+my_xml." ("+error")");
} else {
trace("Unable to load/parse XML. (status: "+my_xml.")");
}
};
my_xml.load("http://www.flash-mx.com/mm/badxml.xml");
NOT
E
In Flash Media Server, the output of
trace()
statements appears in the application log
file and Application inspector.