How about xmlobj.status ?
If the xml is successfully loaded and parsed, you get 0 on the output
panel. Otherwise, you get a negative number (-2 , ... -10).

-2: A CDATA is not closed
-3: The initial XML declaration is malformed
-4: The DOCTYPE declaration is malformed
-5: A comment has no closed syntax
-6: An element node is malformed
-7: Out of memory
-8: An attribute is malformed
-9: A start tag has no matching close tag
-10: An end tag has no matching start tag

hth,
--
Anggie Bratadinata
www.masputih.com
I N D O N E S I A

Mendelsohn, Michael wrote:
Hi list...

According to the help docs, public parseXML(value:String) : Void
doesn't return an integer or anything to indicate successful parsing of
the xml.  How can I be certain that I've passed in some error free xml
and it was able to parse?

Thanks,
- Michael M.

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to