X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=xmltooling%2Fencryption%2Fimpl%2FEncryptionSchemaValidators.cpp;h=72ac584d5ab3cdeb6116272a05214a5ea7661cdf;hb=1f87cef41f9948492e13d3d9dc1495652606c441;hp=5bf121892edaed84efaada36f17422fa88ed86dc;hpb=c50f3cc9a47e95fc3518e61703791d098ce3253d;p=shibboleth%2Fcpp-xmltooling.git diff --git a/xmltooling/encryption/impl/EncryptionSchemaValidators.cpp b/xmltooling/encryption/impl/EncryptionSchemaValidators.cpp index 5bf1218..72ac584 100644 --- a/xmltooling/encryption/impl/EncryptionSchemaValidators.cpp +++ b/xmltooling/encryption/impl/EncryptionSchemaValidators.cpp @@ -69,7 +69,7 @@ namespace xmlencryption { BEGIN_XMLOBJECTVALIDATOR(XMLTOOL_DLLLOCAL,EncryptionProperty); if (!ptr->hasChildren()) throw ValidationException("EncryptionProperty must have at least one child element."); - const list& anys=ptr->getXMLObjects(); + const vector& anys=ptr->getUnknownXMLObjects(); for_each(anys.begin(),anys.end(),checkWildcardNS()); END_XMLOBJECTVALIDATOR; @@ -79,7 +79,7 @@ namespace xmlencryption { BEGIN_XMLOBJECTVALIDATOR(XMLTOOL_DLLLOCAL,ReferenceType); XMLOBJECTVALIDATOR_REQUIRE(DataReference,URI); - const list& anys=ptr->getXMLObjects(); + const vector& anys=ptr->getUnknownXMLObjects(); for_each(anys.begin(),anys.end(),checkWildcardNS()); END_XMLOBJECTVALIDATOR;