XStream
  1. XStream
  2. XSTR-633

XML Escaping variable names with JettisonMappedXmlDriver

    Details

    • Type: Task Task
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.1
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None
    • JDK version and platform:
      jdk5.0 for Linux (64 bit)

      Description

      When I serialize a simple User (first_name, lastName) object into JSON,
      for some reason when I use JettisonMappedXmlDriver it converts single
      underscores '' into double underscores '_'. When I use the
      JsonHierarchicalStreamDriver I do not have this problem, however I need
      to be able to de-serialize so I must use the Jettison driver.

        People

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

          Dates

          • Created:
            Updated:
            Resolved: