gwt-plugins / gwt-plugins/gwt-eclipse-plugin
Eclipse errors about lineStart and lineEnd due to reference to old xsd file
- Langage dominant
- Java
- Étoiles
- 117
- Forks
- 49
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par la référence XML Catalog vers http://dl.google.com/gwt/dtd/com.google.gwt.user.client.ui.xsd et par l’exemple DockLayoutPanel UiBinder de l’issue. Vérifiez comment le schéma gère lineStart et lineEnd, puis vérifiez qu’Eclipse ne les signale plus comme invalides tout en conservant les éléments directionnels existants.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java, xml
- Domaine
- tooling
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 25/100