3341Re: Element name escaping
- May 18, 2001--- In soapbuilders@y..., paulclinger@y... wrote:
> Hi, All!because
> I hope previous message  was just lost in number if posts,
> nobody responded and I can't believe that nobody cares. I wouldlike
> to know other opinions on encoding elements with XML-invalid names.Can you post an actual example of what the XML looks like for the
> Best wishes, Paul.
>  http://groups.yahoo.com/group/soapbuilders/message/2909
first case of using Map structure. Having trouble finding any
documentation in SOAP-Lite or ApacheSoap which gives an example. I
can't easily get SOAP-Lite to a state that it would run and have it
produce output to look at and reading Perl code isn't something I am
The third case is basically the same thing I do now in an XML format
I use in MOM style distributed messaging system and RPC over HTTP
mechanism. Only difference is I use "name" instead of "realname". I
have found in the past that using an attribute is the simplest way of
doing it. You are limited to key being a string however.
I too would like to see this issue discussed further, as without an
accepted means of doing this, I can't put together a gateway for SOAP
for the systems I have. If I just come up with my own way, chances
are that nothing could then ever talk to it except clients I produce
BTW, the PythonWare SOAP library defines a type which is possibly
similar to Map. Reading the code, they encode Python dictionaries as:
I believe they support any type as the key and not just string. This
is more generic than using an attribute, as an attribute would only
allow a string key.
Does this Map type only allow string key or any type?
- << Previous post in topic Next post in topic >>