gwt-plugins / gwt-plugins/gwt-eclipse-plugin
Eclipse errors about lineStart and lineEnd due to reference to old xsd file
- Ngôn ngữ chính
- Java
- Star
- 116
- Fork
- 49
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Bắt đầu với tham chiếu XML Catalog đến http://dl.google.com/gwt/dtd/com.google.gwt.user.client.ui.xsd và mẫu DockLayoutPanel UiBinder trong issue. Kiểm tra cách schema xử lý lineStart và lineEnd, sau đó xác minh rằng Eclipse không còn báo chúng là không hợp lệ, đồng thời vẫn giữ lại các phần tử định hướng hiện có.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java, xml
- Lĩnh vực
- tooling
- Loại issue
- Lỗi
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 25/100