Error #1088: The markup in the document following the root element must be well-formed.
The XML class has found an error with the XML data you are supplying it.
Typical causes are that the XML is not valid. The most common problem I see is when an XMLNode singleton is not closed. For example,
< myxml label="something" >
Notice how the “myxml” child node does not have a closing slash at the end. This xml is not well formed.
Other causes are that the xml file or content is not even there or there is an error on the server and you are getting the error message returned and not the xml.
To easily figure out what is going on inspect the information that is supposed to be XML data. I’ll say it again, INSPECT THE XML THAT IS COMING BACK FROM THE SERVER. You can see the return data in the console in Flash / Flex Builder. If you are using a HTTPService call set the result format property to “text” instead of “xml” / “e4x” and trace the output in the result handler. I think it is trace(event.result) when it is in the result handler.
You may also have characters before or after the root XML tag:
<-- some blank spaces or new line characters could be here NO NUMERIC NOISE KEY 1003
<-- some blank spaces or new line characters could be here
Please reply in the comments below if this helped you or not. You can also use the Error Lookup to look up Flex compiler or runtime errors.