projects
/
shibboleth
/
cpp-xmltooling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update copyright.
[shibboleth/cpp-xmltooling.git]
/
xmltooling
/
encryption
/
impl
/
EncryptionSchemaValidators.cpp
diff --git
a/xmltooling/encryption/impl/EncryptionSchemaValidators.cpp
b/xmltooling/encryption/impl/EncryptionSchemaValidators.cpp
index
5bf1218
..
4adcb7b
100644
(file)
--- a/
xmltooling/encryption/impl/EncryptionSchemaValidators.cpp
+++ b/
xmltooling/encryption/impl/EncryptionSchemaValidators.cpp
@@
-1,5
+1,5
@@
/*
/*
-* Copyright 2001-200
6
Internet2
+* Copyright 2001-200
7
Internet2
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-69,7
+69,7
@@
namespace xmlencryption {
BEGIN_XMLOBJECTVALIDATOR(XMLTOOL_DLLLOCAL,EncryptionProperty);
if (!ptr->hasChildren())
throw ValidationException("EncryptionProperty must have at least one child element.");
BEGIN_XMLOBJECTVALIDATOR(XMLTOOL_DLLLOCAL,EncryptionProperty);
if (!ptr->hasChildren())
throw ValidationException("EncryptionProperty must have at least one child element.");
- const
list<XMLObject*>& anys=ptr->get
XMLObjects();
+ const
vector<XMLObject*>& anys=ptr->getUnknown
XMLObjects();
for_each(anys.begin(),anys.end(),checkWildcardNS());
END_XMLOBJECTVALIDATOR;
for_each(anys.begin(),anys.end(),checkWildcardNS());
END_XMLOBJECTVALIDATOR;
@@
-79,7
+79,7
@@
namespace xmlencryption {
BEGIN_XMLOBJECTVALIDATOR(XMLTOOL_DLLLOCAL,ReferenceType);
XMLOBJECTVALIDATOR_REQUIRE(DataReference,URI);
BEGIN_XMLOBJECTVALIDATOR(XMLTOOL_DLLLOCAL,ReferenceType);
XMLOBJECTVALIDATOR_REQUIRE(DataReference,URI);
- const
list<XMLObject*>& anys=ptr->get
XMLObjects();
+ const
vector<XMLObject*>& anys=ptr->getUnknown
XMLObjects();
for_each(anys.begin(),anys.end(),checkWildcardNS());
END_XMLOBJECTVALIDATOR;
for_each(anys.begin(),anys.end(),checkWildcardNS());
END_XMLOBJECTVALIDATOR;