gwt-plugins / gwt-plugins/gwt-eclipse-plugin

Eclipse errors about lineStart and lineEnd due to reference to old xsd file

Abierto
#356 1 comentario 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Java
Estrellas
117
Forks
49
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I'm using DockLayoutPanel in ui binder. I want RTL support therefor need to use lineStart and lineEnd instead of east and west. This is working fine, however Eclipse reports errors for these elements.
The reason is that the XML Catalog refers to the following schema file:
http://dl.google.com/gwt/dtd/com.google.gwt.user.client.ui.xsd
This one does not yet contain lineStart and lineEnd.

Sample ui binder:
```


lineStart


west


center


east


lineEnd

```
The error is: cvc-complex-type.2.4.a: Invalid content was found starting with element 'g:lineStart'. One of '{"urn:import:com.google.gwt.user.client.ui":north,
"urn:import:com.google.gwt.user.client.ui":south, "urn:import:com.google.gwt.user.client.ui":west, "urn:import:com.google.gwt.user.client.ui":east,
"urn:import:com.google.gwt.user.client.ui":center}' is expected.
Same for lineEnd.

See also https://github.com/gwtproject/gwt/issues/9524

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start with the XML Catalog reference to http://dl.google.com/gwt/dtd/com.google.gwt.user.client.ui.xsd and the DockLayoutPanel UiBinder sample in the issue. Check how the schema handles lineStart and lineEnd, then verify Eclipse no longer reports them as invalid while retaining the existing directional elements.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java, xml
Área
tooling
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.