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

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

オープン
#356 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Java
スター
117
フォーク
49
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java, xml
領域
tooling
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。