You could write a dll to be used in zinc. Cheers, Ralf. On 10/7/06, wayneposner <[EMAIL PROTECTED]> wrote: > So is there no way to do this in flex when dealing strictly with a > client side app? > > Wayne > > --- In flexcoders@yahoogroups.com, "wayneposner" <[EMAIL PROTECTED]> > wrote: > > > > The XML is generated on the client and resides on the client. > There > > is no server for this app. It is a desktop application wrapped in > > Zinc. Think of this as kind of like Microsoft Word--no server > > involved. You open a text doc, but for some reason it's corrupt. > > Word tells you that it can't read the file you tried to open. > Same > > thing with this app. I'm a client side app opening a client side > > XML file and want to verify that it's valid. > > > > Wayne > > > > --- In flexcoders@yahoogroups.com, "Samuel R. Neff" > > <srneff.lists@> wrote: > > > > > > Where is the XML coming from? Can you use server-side code to > > validate the > > > XML before sending it to Flex? That's probably the simpler > > solution. > > > > > > Sam > > > > > > > > > -----Original Message----- > > > From: flexcoders@yahoogroups.com > > [mailto:[EMAIL PROTECTED] On > > > Behalf Of wayneposner > > > Sent: Friday, October 06, 2006 9:29 AM > > > To: flexcoders@yahoogroups.com > > > Subject: [flexcoders] Validating XML with XSD Schema in Flex? > > > > > > I've been scouring the web tyring to find information on XML > > validation > > > using an XSD file, but the only results I keep finding relate to > > the MXML > > > schema which is not what I'm looking for. > > > > > > Has anyone written any code that validates an XML file against > > it's schema? > > > Or is this of of the coding practices that Flex does not > implement? > > > > > > The point being, if I want to explicity define what my input XML > > looks like > > > to my flex application, right now, the only way this seems > > possible to to > > > write code that defines the business logic of each > node/attribute > > and > > > whether or not there is a value restrition. > > > Should my business logic change, then I have to go and change my > > code. > > > > > > If there is some way to simply read the XSD and validate > directly > > against > > > that, the only place I have to go to change my business logic is > > to the > > > XSD--no code changes/recompilations necessary. > > > > > > Thanks, > > > Wayne > > > > > > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > > > > > > > >
-- Ralf Bokelberg <[EMAIL PROTECTED]> Flex & Flash Consultant based in Cologne/Germany -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/