Details
-
Type: New Feature
-
Status: Closed
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
xStream.alias("S:Envelope xmlns:S=\"http://www.w3.org/2003/05/soap-envelope\"", SoapEnvelope.class) is neat and nearly works.
It gives ....
<S:Envelope xmlns:S="http://www.w3.org/2003/05/soap-envelope">
....
</S:Envelope xmlns:S="http://www.w3.org/2003/05/soap-envelope">
And should give ....
<S:Envelope xmlns:S="http://www.w3.org/2003/05/soap-envelope">
....
</S:Envelope>
Can, the close function break on first space? It sould be such a easy solution.
This may be important for cheap SOAP-envelope interop again.
Hi Paul,
I would consider this usage of aliases as abuse. If you deal with namespaces, use a QNameMap. Unfortunately this works crrently only with the StaxDriver (we must port namespace support also to the other drivers), but for Stax it was especially created to process SOAP (by James).