Solved

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

Posted on 2009-07-03
5
584 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

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…
The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

746 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

10 Experts available now in Live!

Get 1:1 Help Now