in reply to SOAP string conversion problem

From the SOAP/Lite.pm file (line #349 in my version):
# Q: why only '&' and '<' are encoded, but not '>'? # A: because it is not required according to XML spec. # # [http://www.w3.org/TR/REC-xml#syntax] # The ampersand character (&) and the left angle bracket (<) may appea +r in # their literal form only when used as markup delimiters, or within a +comment, # a processing instruction, or a CDATA section. If they are needed els +ewhere, # they must be escaped using either numeric character references or th +e # strings "&amp;" and "&lt;" respectively. The right angle bracket (>) + may be # represented using the string "&gt;", and must, for compatibility, be + # escaped using "&gt;" or a character reference when it appears in t +he # string "]]>" in content, when that string is not marking the end of +a # CDATA section.

Replies are listed 'Best First'.
Re^2: SOAP string conversion problem
by Hammy (Scribe) on Sep 20, 2004 at 18:57 UTC
    Thanks you very much that answers my question - The service is having a problem retrieving this info with the '>' not being encoded, but it appears (as it usually does) that Perl is doing what it should. Thank you again for your help!