Friday, March 24, 2017

Errors in UIBinder XML files

Hello,

while moving a project to maven, I copied a source tree into src/main/java of the maven tree. This source tree also contains UIBinder xml files.

There is no error in the original project, but in the maven project, the same UIBinder xml files cause errors like this:

cvc-complex-type.2.4.a: Invalid content was found starting with element 'g:MenuItemSeparator'. One of '{"urn:import:com.google.gwt.user.client.ui":MenuItem}' is expected. MainMenuBar.ui.xml /msm-app-bcs/src/main/java/msm/app/bcs/client/sys/uib line 58 XML Problem

I guess the xml files are handled like java source files.
What's the problem here?

Magnus

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment