Re: XML validation with XSD (SXML Schema) validation in GWT
On 3 juin, 16:21, Michaël michaelf@gmail.com wrote: On 31 mai, 19:56, Jeff Chimene jchim...@gmail.com wrote: On 05/31/2011 08:52 AM, Micha l wrote: Hi, After a lot of research on the web I don't find how to validate a XML file with a XSD (XML Schema) in GWT (2.3.0). I saw that on the JSE 6 there is a SchemaFactory class, but not in GWT. So, how can I do this validation? Best regards. You won't be able to invoke a validating parser on the client side, You can use GWT RPC to cause your server to perform that task, and return the results to your client. Hi, Thanks for your answer. But my problem is how to implement the SchemaFactory class (javax.xml.validation.SchemaFactory) on GWT. I try to put import javax.xml.validation.SchemaFactory; on my code, but when I launch it, there are some errors : Errors in 'file:/home/my_user/workspace/Test/src/com/exemple/projet/ client/Test.java' Line 56: No source code is available for type javax.xml.validation.SchemaFactory; did you forget to inherit a required module? ... I try to put (inherits name='javax.xml.validation.SchemaFactory'/) on my src/com.exemple.projet/Test.gwt.xml file, but it doesn't work too. I understand that inherits .../ must be done for framework classes. PS : Sorry if I don't speak very good english, but my first language is french. Thanks for your answer. Up! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: XML validation with XSD (SXML Schema) validation in GWT
On 31 mai, 19:56, Jeff Chimene jchim...@gmail.com wrote: On 05/31/2011 08:52 AM, Micha l wrote: Hi, After a lot of research on the web I don't find how to validate a XML file with a XSD (XML Schema) in GWT (2.3.0). I saw that on the JSE 6 there is a SchemaFactory class, but not in GWT. So, how can I do this validation? Best regards. You won't be able to invoke a validating parser on the client side, You can use GWT RPC to cause your server to perform that task, and return the results to your client. Hi, Thanks for your answer. But my problem is how to implement the SchemaFactory class (javax.xml.validation.SchemaFactory) on GWT. I try to put import javax.xml.validation.SchemaFactory; on my code, but when I launch it, there are some errors : Errors in 'file:/home/my_user/workspace/Test/src/com/exemple/projet/ client/Test.java' Line 56: No source code is available for type javax.xml.validation.SchemaFactory; did you forget to inherit a required module? ... I try to put (inherits name='javax.xml.validation.SchemaFactory'/) on my src/com.exemple.projet/Test.gwt.xml file, but it doesn't work too. I understand that inherits .../ must be done for framework classes. PS : Sorry if I don't speak very good english, but my first language is french. Thanks for your answer. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
XML validation with XSD (SXML Schema) validation in GWT
Hi, After a lot of research on the web I don't find how to validate a XML file with a XSD (XML Schema) in GWT (2.3.0). I saw that on the JSE 6 there is a SchemaFactory class, but not in GWT. So, how can I do this validation? Best regards. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: XML validation with XSD (SXML Schema) validation in GWT
On 05/31/2011 08:52 AM, Michaël wrote: Hi, After a lot of research on the web I don't find how to validate a XML file with a XSD (XML Schema) in GWT (2.3.0). I saw that on the JSE 6 there is a SchemaFactory class, but not in GWT. So, how can I do this validation? Best regards. You won't be able to invoke a validating parser on the client side, You can use GWT RPC to cause your server to perform that task, and return the results to your client. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.