[PR] Update VersionNotSupported error message to include XML 1 .1 [xerces-j]
elharo (via GitHub) <[email protected]> Sun, 19 Jul 2026 12:31:07 -0000
| Newsgroups | gmane.text.xml.xerces-j.devel |
|---|---|
| Message-ID | <[email protected]> |
elharo opened a new pull request, #117: URL: https://github.com/apache/xerces-j/pull/117 Fixes the first part of [XERCESJ-841](https://issues.apache.org/jira/browse/XERCESJ-841). The error message for unsupported XML versions now says "only XML 1.0 and XML 1.1 are supported" instead of "only XML 1.0 is supported", since Xerces supports both versions. Changes: - `XMLMessages.properties`: merged `VersionNotSupported` and `VersionNotSupported11` into a single message that mentions both XML 1.0 and 1.1 - `XML11DocumentScannerImpl.java`: removed `getVersionNotSupportedKey()` override (redundant — base class now returns the correct message) - `XML11DTDScannerImpl.java`: same The System.out printing issue will be addressed in a follow-up PR. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]