Commit ca37484
committed
getLocalName causes NPE if xml has \n
getLocalName causes NullPointerExceptions if the XML is fancy formatted with new lines. This is because getLocalName() will always return null if the node type is not Element or Attribute. The libraries treat new lines in SubjectConfirmation as child nodes which causes getLocalName() to be null.1 parent 06984a3 commit ca37484
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
0 commit comments