From: Don Armstrong Date: Mon, 10 Aug 2009 19:40:42 +0000 (-0700) Subject: * set up the serializers twice to avoid warnings X-Git-Tag: release/2.6.0~456^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=8b40c099ffd3f1a46ba40eed9d572dc8b4211f0e;p=debbugs.git * set up the serializers twice to avoid warnings --- diff --git a/cgi/soap.cgi b/cgi/soap.cgi index 31b43bab..53f73685 100755 --- a/cgi/soap.cgi +++ b/cgi/soap.cgi @@ -19,6 +19,10 @@ my $soap = Debbugs::SOAP::Server # soapy is stupid, and is using the 1999 schema; override it. *SOAP::XMLSchema1999::Serializer::as_base64Binary = \&SOAP::XMLSchema2001::Serializer::as_base64Binary; *SOAP::Serializer::as_anyURI = \&SOAP::XMLSchema2001::Serializer::as_string; +# do this twice to avoid the warning if the serializer doesn't get +# used +*SOAP::XMLSchema1999::Serializer::as_base64Binary = \&SOAP::XMLSchema2001::Serializer::as_base64Binary; +*SOAP::Serializer::as_anyURI = \&SOAP::XMLSchema2001::Serializer::as_string; # to work around the serializer improperly using date/time stuff # (Nothing in Debbugs should be looked at as if it were date/time) we # kill off all of the date/time related bits in the serializer.