Solved

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

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Image decoding from Camera 3 106
XSLT Help 12 36
Add to XML (Powershell) 1 55
DTD and JAVA versions 1 53
Browsing the questions asked to the Experts of this forum, you will be amazed to see how many times people are headaching about monster regular expressions (regex) to select that specific part of some HTML or XML file they want to extract. The examp…
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, …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

738 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