Solved

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

Posted on 2009-07-03
5
625 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
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, …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

688 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