Class attributes are added to XML nodes
alexsaalfeld opened this issue · comments
Alex Saalfeld commented
The node and the node of a struct are serialized with class attributes.
The XMLRPC interface I use does not accept that.
<methodName>tickets_session_init</methodName>
<params class="java.util.ArrayList">
<param>
<value class="nl.nl2312.xmlrpc.types.StructValue">
<struct>
<member>
[...]
</member>
</struct>
</value>
</param>
</params>
</methodCall>
Thanks!
Eric Kok commented
Yes indeed these are automatically added for completion sake. Is this a
problem for the xlmrpc server you talk to? I didn't have any particular
issue with it so far.
If so, I'll take a look to remove them.
…On Wed, 8 May 2019, 09:23 Alex Saalfeld, ***@***.***> wrote:
The node and the node of a struct are serialized with class attributes.
The XMLRPC interface I use does not accept `that.
<methodName>tickets_session_init</methodName>
<params class="java.util.ArrayList">
<param>
<value class="nl.nl2312.xmlrpc.types.StructValue">
<struct>
<member>
[...]
</member>
</struct>
</value>
</param>
</params>
</methodCall>
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABP6ZPZSRWDFQG56WIPQVLPUJ5V3ANCNFSM4HLPCKFQ>
.
Alex Saalfeld commented
Yes, unfortunately this is a problem for the XML-RPC server.
There's also a stack overflow question related to this:
https://stackoverflow.com/questions/12113025/remove-class-attribute
Eric Kok commented
Should be fixed. Thanks for the tip on the simple-xml TreeStrategy.
You can get the updated version already by using v1.2
as dependency version.