How to validate XML with respect to XML Schema in ActionScript?

I do not need to parse the XML or decode it into an ActionScript object. I'm interested in loading both XSD and XML and figuring out if the latter is legal XML as defined in the document in the previous one.

+3
source share
3 answers

Flex has support for the xml runtime scheme in its package mx.rpc.xml, which are hidden from liveocs. Look at the post , you can find much more information there.

+2
source

DTD/Schema, - , , .

+1

I couldn't find anything either, but I would recommend Relax NG on DTD (if you have an option). It is much cleaner and more flexible.

0
source

Source: https://habr.com/ru/post/1759492/


All Articles