Subject: | Change to warning / add configuration variable to allow XML tags starting with /xml/i |
Even though the character sequence XML (in any case) is invalid at the
start of user defined XML tag names (as defined in the XML standard),
it's use is (unfortunately) popular.
SOAP::Lite enforces the XML standard (See http://www.w3.org/TR/2008/REC-
xml-20081126/#sec-common-syn which says: "Names beginning with the
string "xml", or with any string which would match (('X'|'x') ('M'|'m')
('L'|'l')), are reserved for standardization in this or future versions
of this specification.") by disallowing such tags names.
This makes the use of SOAP::Lite infeasible, whereever a web service
uses a tag name starting with XML.
The error thrown by SOAP::Lite should be changed to a warning. As an
alternative, a configuration variable could be introduced to make the
check optional.
Code to change: SOAP/Lite.pm around line 1410
Martin