Re: [PR] [XERCES-1781] fix incorrect Javadoc re SAXNotRe cognizedException [xerces-j]
elharo (via GitHub) <[email protected]> Wed, 19 Nov 2025 23:56:26 -0000
| Newsgroups | gmane.text.xml.xerces-j.devel |
|---|---|
| Message-ID | <PR_kwDOLzdO6M60dkcw-c82ffe72-7bd2-4f24-bb9e-a76726bb1ecb@gitbox.apache.org> |
elharo commented on code in PR #61:
URL: https://github.com/apache/xerces-j/pull/61#discussion_r2543908747
##########
src/org/apache/xerces/impl/dtd/XMLDTDLoader.java:
##########
@@ -203,10 +203,7 @@ public String[] getRecognizedFeatures() {
* @param featureId The feature identifier.
* @param state The state of the feature.
*
- * @throws SAXNotRecognizedException The component should not throw
- * this exception.
- * @throws SAXNotSupportedException The component should not throw
- * this exception.
+ * @throws XMLConfigurationException when a feature is not recognised or cannot be set
Review Comment:
I don't know if we have a standard for this, but my personal preference is for American spelling - recognized - instead of British recognized. Others might feel differently
--
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]