Link to home
Start Free TrialLog in
Avatar of tanboonchiat
tanboonchiat

asked on

How to validate xml content according to its DTD or XML schema in Flex 3?

Hi,

 How to validate xml content according to its DTD or XML schema in Flex 3? Or any open source library for this in flex 3?
 
Avatar of danyul_c
danyul_c
Flag of Canada image

Flex will only check for well formatted XML. It cannot check it against an XSD/DTD etc.

If you HAD to check it against an XSD and were running PHP or nearly any other server side language then you can just validate in that before passing it through to Flex.

If you are using AMF as the transporter then you can easily send an error when it doesn't validate and have Flex handle the error as a standard error event.
ASKER CERTIFIED SOLUTION
Avatar of danyul_c
danyul_c
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tanboonchiat
tanboonchiat

ASKER

Thanks for your answer anyway.
Would you be able to post the name and URL where I can get this library? I would be interested in checking it out.
Hi,

  We are developing ourselves the library. Not yet fully tested.