Skip to content

getLocalName causes NPE if xml has \n#36

Merged
pitbulk merged 1 commit intoSAML-Toolkits:masterfrom
tebruno99:patch-1
Nov 18, 2015
Merged

getLocalName causes NPE if xml has \n#36
pitbulk merged 1 commit intoSAML-Toolkits:masterfrom
tebruno99:patch-1

Conversation

@tebruno99
Copy link
Copy Markdown
Contributor

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.

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.
pitbulk added a commit that referenced this pull request Nov 18, 2015
getLocalName causes NPE if xml has \n
@pitbulk pitbulk merged commit f9c4ee9 into SAML-Toolkits:master Nov 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants