X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=xmltooling%2Fsoap%2Fimpl%2FSOAPSchemaValidators.cpp;h=32f58c060ded5c77987cf858f23b4e3c2d8cab95;hb=81b488b2790e7bdeb2f43560b1d4a7d22c3dfdf5;hp=405aaf8fead1c381030abf9a66fe545f731eb0a7;hpb=5cb314df178f78c6fa7b9826c2c5a5298ec7a473;p=shibboleth%2Fcpp-xmltooling.git diff --git a/xmltooling/soap/impl/SOAPSchemaValidators.cpp b/xmltooling/soap/impl/SOAPSchemaValidators.cpp index 405aaf8..32f58c0 100644 --- a/xmltooling/soap/impl/SOAPSchemaValidators.cpp +++ b/xmltooling/soap/impl/SOAPSchemaValidators.cpp @@ -1,28 +1,33 @@ -/* -* Copyright 2001-2007 Internet2 - * -* Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at +/** + * Licensed to the University Corporation for Advanced Internet + * Development, Inc. (UCAID) under one or more contributor license + * agreements. See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + * + * UCAID licenses this file to you under the Apache License, + * Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the + * License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, + * either express or implied. See the License for the specific + * language governing permissions and limitations under the License. */ /** * SOAPSchemaValidators.cpp * - * Schema validators for SOAP schema + * Schema validators for SOAP schema. */ #include "internal.h" #include "exceptions.h" #include "soap/SOAP.h" +#include "validation/Validator.h" #include "validation/ValidatorSuite.h" using namespace soap11; @@ -72,12 +77,12 @@ void soap11::registerSOAPClasses() { QName q; REGISTER_ELEMENT_NOVAL(SOAP11ENV_NS,Body); - REGISTER_ELEMENT_NOVAL(SOAP11ENV_NS,Detail); + REGISTER_ELEMENT_NOVAL(nullptr,Detail); REGISTER_ELEMENT(SOAP11ENV_NS,Envelope); REGISTER_ELEMENT(SOAP11ENV_NS,Fault); - REGISTER_ELEMENT(SOAP11ENV_NS,Faultactor); - REGISTER_ELEMENT(SOAP11ENV_NS,Faultcode); - REGISTER_ELEMENT(SOAP11ENV_NS,Faultstring); + REGISTER_ELEMENT(nullptr,Faultactor); + REGISTER_ELEMENT(nullptr,Faultcode); + REGISTER_ELEMENT(nullptr,Faultstring); REGISTER_ELEMENT_NOVAL(SOAP11ENV_NS,Header); REGISTER_TYPE_NOVAL(SOAP11ENV_NS,Body); REGISTER_TYPE_NOVAL(SOAP11ENV_NS,Detail);