Migrating gwt-widgets to gwt-uibinder reveals the following issue:
Using
<ui:UiBinder xmlns:ui='urn:ui:org.gwtproject.uibinder'
xmlns:g='urn:import:org.gwtproject.user.client.ui'>
fails with
/.../src/main/java/org/gwtproject/user/client/ui/NotificationMole.java:44:
error: Bad prefix on <ui:UiBinder>? The root element must be in
xml namespace "urn:ui:com.google.gwt.uibinder" (usually with prefix "ui:"),
but this has prefix "ui": <ui:UiBinder> (:3)
interface Binder extends UiBinder<HTMLPanel, NotificationMole> {
Changing namespace back to com.google.gwt as suggested/required by the error above, results in:
/.../src/main/java/org/gwtproject/user/client/ui/NotificationMole.java:44:
error: Found unexpected child element:
<div class='{style.centered}' style='display:none' ui:field='borderElement'> (:30)
interface Binder extends UiBinder<HTMLPanel, NotificationMole> {
I guess XML schema files, validation and maybe some code need to be updated to check/allow both com.google.gwt and org.gwtproject packages.
Migrating gwt-widgets to gwt-uibinder reveals the following issue:
Using
fails with
Changing namespace back to
com.google.gwtas suggested/required by the error above, results in:I guess XML schema files, validation and maybe some code need to be updated to check/allow both
com.google.gwtandorg.gwtprojectpackages.