[flexcoders] Re: Validating XML with XSD Schema in Flex?
You're right, I could, but then I'd be back in the same boat when I need to wrap this app with Apollo. I need something native to Flex that will work across the board--regardless of how the app is being delivered. Anyone else have any ideas? Wayne --- In flexcoders@yahoogroups.com, Ralf Bokelberg [EMAIL PROTECTED] wrote: 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 wayne.posner@ 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/
[flexcoders] Re: Validating XML with XSD Schema in Flex?
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 * 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/
Re: [flexcoders] Re: Validating XML with XSD Schema in Flex?
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/
[flexcoders] Re: Validating XML with XSD Schema in Flex?
--- In flexcoders@yahoogroups.com, "wayneposner" [EMAIL PROTECTED] wrote: 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 Hi, may i suggest to do this validation on the server side. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Re: Validating XML with XSD Schema in Flex?
Unfortunately, for the app I'm writing, there is no server side logic. It's all client based and being wrapped by Zinc. Wayne --- In flexcoders@yahoogroups.com, Bela Hajzer [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, wayneposner wayne.posner@ wrote: 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 -- -\ - Hi, may i suggest to do this validation on the server side. -- 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/
[flexcoders] Re: Validating XML with XSD Schema in Flex?
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 [EMAIL PROTECTED] 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 * 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/