dkuspawono / google-plugin-for-eclipse

Automatically exported from code.google.com/p/google-plugin-for-eclipse
Eclipse Public License 1.0
0 stars 0 forks source link

MenuItemSeparator in ui.xml is flagged as invalid content #217

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a MenuBar with UiBinder
2. Add some MenuItem to MenuBar
3. Add MenuItemSeparator between MenuItem
4. Save file view reported error:
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.

What is the expected output? What do you see instead?
This should compile and launch without warnings or exceptions. Instead a popup 
warning is displayed asking if you would like to continue even though there are 
errors in the project. Hiding this warning, would also hide any other errors at 
launch time, making errors less visible.

What version of the product are you using? On what operating system?
Google Plugin Suite 2.5.1.v201201120043-rel-r37
Eclipse 3.7 (JBoss Developer Studio)
Windows 7 64-bit
Java 1.7.0_21 (jdk)

Please provide any additional information below.
Original post:
https://code.google.com/p/google-web-toolkit/issues/detail?id=4550#c7

Original issue reported on code.google.com by Jared.Bu...@gmail.com on 20 Jun 2013 at 4:13