Commit bdc4a9e

mo <mo.khan@gmail.com>
2018-02-26 01:53:35
start from current node.
1 parent 1181741
Changed files (1)
lib
saml
lib/saml/kit/document.rb
@@ -34,7 +34,7 @@ module Saml
 
       # Returns the Issuer for the SAML document.
       def issuer
-        at_xpath('/*/saml:Issuer').try(:text)
+        at_xpath('./*/saml:Issuer').try(:text)
       end
 
       # Returns the Version of the SAML document.