Solved

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

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Test ddwrt:UserLookup 1 69
Create html table using xsl 8 42
Get the parent node - XMLTYPE 9 101
Eliminate additional border 1 23
The Problem How to write an Xquery that works like a SQL outer join, providing placeholders for absent data on the outer side?  I give a bit more background at the end. The situation expressed as relational data Let’s work through this.  I’ve …
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, …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

821 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