Details
-
Bug
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
-
New
Description
https://docs.oracle.com/javase/8/docs/api/org/w3c/dom/Element.html#getAttribute-java.lang.String- describes the Element.getAttribute return value as "The Attr value as a string, or the empty string if that attribute does not have a specified or default value." but DOMUtils.getAttributeOrFail only checks for null and so it never fails.
Attachments
Attachments
Issue Links
- is related to
-
LUCENE-8742 SpanNearBuilder: add 'missing slop attribute' test coverage
- Closed