XStream
  1. XStream
  2. XSTR-460

JettisonMappedXmlDriver doesn't work for collection object

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.2.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • JDK version and platform:
      1.6u3 for linux

      Description

      //the following test will always failed
      public void testArrayListOrder()

      { XStream xs = new XStream(new JettisonMappedXmlDriver()); ArrayList list1 = new ArrayList(); list1.clear(); list1.add(12); list1.add("string"); list1.add(13); String json = xs.toXML(list1); ArrayList list2 = (ArrayList)xs.fromXML(json); assertEquals(json,xs.toXML(list2)); }

        People

        • Assignee:
          Jörg Schaible
          Reporter:
          Wang Qi
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: