Skip to content

Commit

Permalink
Fix 'Undefined namespace prefix' error.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimeperez committed Nov 9, 2016
1 parent d01b753 commit 9a2ffdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SAML2/Assertion.php
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ private function parseAttributeValue($attribute, $attributeName)

if ($attributeName === Constants::EPTI_URN_MACE || $attributeName === Constants::EPTI_URN_OID) {
foreach ($values as $index => $eptiAttributeValue) {
$eptiNameId = Utils::xpQuery($eptiAttributeValue, './saml:NameID');
$eptiNameId = Utils::xpQuery($eptiAttributeValue, './saml_assertion:NameID');

if (count($eptiNameId) !== 1) {
throw new RuntimeException(sprintf(
Expand Down

0 comments on commit 9a2ffdd

Please sign in to comment.