Odd TypeErrors When Loading and Parsing XML in AS3

Recently I was running into this issue with three TypeErrors when loading an XML file. The following errors were:

  • TypeError: Error #1088: The markup in the document following the root element must be well-formed.
  • TypeError: Error #1089: Assignment to lists with more than one item is not supported.
  • TypeError: Error #1090: XML parser failure: element is malformed.

The errors that were getting thrown were not consistent and made no sense as the XML file was, in fact, well formed.I did a bit of research and found some interesting things out on the erros. Continue reading…