Solved

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

Posted on 2009-07-03
5
594 Views
Last Modified: 2012-06-21
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?
 
0
Comment
Question by:tanboonchiat
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:danyul_c
ID: 24798860
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.
0
 
LVL 9

Accepted Solution

by:
danyul_c earned 250 total points
ID: 24995518
I have not ever heard of a flex library that does this. I still believe my answer is correct and should be at least awarded some points.

If there IS a library then it's best that its name and URL be posted as an answer by the author in the question for future use by people who need to know this same answer.

I have scoured the net for such a library and never come up against one.
0
 

Author Closing Comment

by:tanboonchiat
ID: 31599712
Thanks for your answer anyway.
0
 
LVL 9

Expert Comment

by:danyul_c
ID: 24995760
Would you be able to post the name and URL where I can get this library? I would be interested in checking it out.
0
 

Author Comment

by:tanboonchiat
ID: 24995824
Hi,

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

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Problem to DocumentFormat 8 74
How do I bind the results to a grid 3 34
microsoft access - xml 10 58
configure dependency in POM for new database 3 15
First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
The Client Need Led Us to RSS I recently had an investment company ask me how they might notify their constituents about their newsworthy publications.  Probably you would think "Facebook" or "Twitter" but this is an interesting client.  Their cons…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now