</annotation>
<complexType>
<sequence>
- <element name="Attribute" type="am:AttributeType" maxOccurs="unbounded"/>
<element name="MetadataProvider" type="am:PluggableType" minOccurs="0"/>
<element name="TrustEngine" type="am:PluggableType" minOccurs="0"/>
<element name="AttributeFilter" type="am:PluggableType" minOccurs="0"/>
+ <element name="Attribute" type="am:AttributeType" maxOccurs="unbounded"/>
</sequence>
<attribute name="metadataPolicyId" type="am:string"/>
</complexType>
if (!XMLHelper::isNodeNamed(e, shibspconstants::SHIB2ATTRIBUTEMAP_NS, Attributes))
throw ConfigurationException("XML AttributeExtractor requires am:Attributes at root of configuration.");
- DOMElement* child = XMLHelper::getLastChildElement(e, shibspconstants::SHIB2ATTRIBUTEMAP_NS, _MetadataProvider);
+ DOMElement* child = XMLHelper::getFirstChildElement(e, shibspconstants::SHIB2ATTRIBUTEMAP_NS, _MetadataProvider);
if (child) {
try {
auto_ptr_char type(child->getAttributeNS(NULL, _type));
}
if (m_entityAssertions) {
- child = XMLHelper::getLastChildElement(e, shibspconstants::SHIB2ATTRIBUTEMAP_NS, _TrustEngine);
+ child = XMLHelper::getFirstChildElement(e, shibspconstants::SHIB2ATTRIBUTEMAP_NS, _TrustEngine);
if (child) {
try {
auto_ptr_char type(child->getAttributeNS(NULL, _type));
}
if (m_entityAssertions) {
- child = XMLHelper::getLastChildElement(e, shibspconstants::SHIB2ATTRIBUTEMAP_NS, _AttributeFilter);
+ child = XMLHelper::getFirstChildElement(e, shibspconstants::SHIB2ATTRIBUTEMAP_NS, _AttributeFilter);
if (child) {
try {
auto_ptr_char type(child->getAttributeNS(NULL, _type));