Validation error in generated XSD catalog for DTD files

Đang mở
#847 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
java, xml
Lĩnh vực
devtools

Hướng nghiên cứu

Bắt đầu bằng cách kiểm tra system-catalog.xml được tạo cùng với catalog.dtd, sau đó so sánh mẫu xác thực publicIdentifier với identifier hợp lệ được hiển thị trong application_1_3.dtd. Tái hiện các lỗi khi đặt xác thực dựa trên schema thành Always và xác nhận rằng các DTD public identifier hợp lệ không còn tạo ra lỗi xác thực.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I installed the "JBoss Tools" plugin, which adds the JavaEE schemas to the old Eclipse XML catalog, and this one is converted to "system-catalog.xml".
When opening this file and the setting "Enable schema based validation" is "Always"...
schemabasedvalidation

... there are errors reported for all DTD files:
validationerror

cvc-pattern-valid: Value '-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN' is not facet-valid with respect to pattern '[a-zA-Z0-9\-'\(\)+,./:=?;!*#@$_%]*' for type 'publicIdentifier'.

It seems the space is missing in the RegEx for CDATA? The attribute "publicIdentifier" is defined as "CDATA" according to "catalog.dtd".

According to "application_1_3.dtd", this is valid:

<!--
This is the XML DTD for the J2EE 1.3 application deployment
descriptor.  All J2EE 1.3 application deployment descriptors
must include a DOCTYPE of the following form:

  <!DOCTYPE application PUBLIC
	"-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
	"http://java.sun.com/dtd/application_1_3.dtd">

-->


Ngôn ngữ chính
Java
Star
203
Fork
76
Merge trung bình
1 ngày 5 giờ
Pull request đã merge (30 ngày)
30

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của eclipse-wildwebdeveloper/wildwebdeveloper

Tất cả issue của eclipse-wildwebdeveloper/wildwebdeveloper

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.