# XML Validation (DTD, Schema/XSD) in actionscript 3?

**URL:** <https://forum.kirupa.com/t/xml-validation-dtd-schema-xsd-in-actionscript-3/265533>\
**Category:** flash\
**Created:** [July 9, 2008, 10:35pm UTC](https://forum.kirupa.com/t/xml-validation-dtd-schema-xsd-in-actionscript-3/265533 "2008-07-09T22:35:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shadedecho](https://avatars.discourse-cdn.com/v4/letter/s/85e7bf/32.png) [@shadedecho](https://forum.kirupa.com/u/shadedecho)\
**Post date:** [July 9, 2008, 10:35pm UTC](https://forum.kirupa.com/t/xml-validation-dtd-schema-xsd-in-actionscript-3/265533/1 "2008-07-09T22:35:36Z")

</div>

I understand that AS3 now has the “XML” class which is a “validating parser”. This means that the XML has to be well-formed. However, I am wondering if this also means that the AS3 XML class will validate the XML against an inline declared DTD or XSD Schema, or if it only checks for well-formed’ness?

If it doesn’t actually validate an XML against the DTD, does anyone know how one would go about doing that with AS code? Is there any free classes that do this already?

---

<div class="post-metadata">

**Author:** ![sekasi](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@sekasi](https://forum.kirupa.com/u/sekasi)\
**Post date:** [July 9, 2008, 10:37pm UTC](https://forum.kirupa.com/t/xml-validation-dtd-schema-xsd-in-actionscript-3/265533/2 "2008-07-09T22:37:13Z")

</div>

AS3 just checks against well-formed syntax. It won’t pay any regard to the DTD or XSD.
