Diff of /branches/0.71/lib/SOAP/Lite.pm [r414] .. [r415] Maximize Restore

  Switch to side-by-side view

--- a/branches/0.71/lib/SOAP/Lite.pm
+++ b/branches/0.71/lib/SOAP/Lite.pm
@@ -4,7 +4,7 @@
 # SOAP::Lite is free software; you can redistribute it
 # and/or modify it under the same terms as Perl itself.
 #
-# $Id: Lite.pm 414 2012-07-15 09:18:42Z kutterma $
+# $Id: Lite.pm 415 2012-07-15 09:22:04Z kutterma $
 #
 # ======================================================================
 
@@ -1462,7 +1462,7 @@
     # check for special attribute
     return "$indent$value" if exists $attrs->{_xml} && delete $attrs->{_xml};
 
-    die "Element '$tag' can't be allowed in valid XML message. Died."
+    warn "Element '$tag' can't be allowed in valid XML message. Died."
         if $tag !~ /^(?![xX][mM][lL])$SOAP::Constants::NSMASK$/o;
 
     my $prolog = $readable ? "\n" : "";