I don't need to parse the XML, or to decode it into an ActionScript object -- I'm only interested in loading both XSD and XML and tell whether the latter is legal XML according to the document definition in the former.
+1
A:
There is no built in support for DTD/Schema validation and I'm not aware about any third party implementation, so I guess that you will have to rely on the server side for that.
Cornel Creanga
2010-08-13 12:38:43
A:
I couldn't find anything either, but I'd recommend Relax NG over a DTD (if you have the option). It's much cleaner and more flexible.
Matt
2010-08-16 16:47:08
Thanks. I don't have any experience with RELAX NG, and the XML Schema is already written -- so I think I'll stick to that.
tripu
2010-08-19 07:51:31
+2
A:
Flex has runtime xml schema support in its mx.rpc.xml package which are hidden from the livedocs. Check out this post, you can find much more info there.
Dave
2010-08-18 05:49:38
Thanks -- I already found that post and it seems that you're right: there's no official, documented way to do it.
tripu
2010-08-19 07:52:33