On 3 juin, 16:21, Michaël <[email protected]> wrote:
> On 31 mai, 19:56, Jeff Chimene <[email protected]> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to