XStream
  1. XStream
  2. XSTR-272

Alias mechanism for constant attributes

    Details

    • Type: New Feature New Feature
    • Status: Closed 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.

        People

        • Assignee:
          Unassigned
          Reporter:
          Paul Hammant
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: