XStream
  1. XStream
  2. XSTR-257

XML tags with underscores cannot be matched to classes

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2
    • Component/s: None
    • Labels:
      None
    • JDK version and platform:
      Sun 1.4.2_01 on Suse Linux 10.0

      Description

      If there is a tag in the XML file, say: Date_Time this seems to be impossble to make it match an object. I get:

      com.thoughtworks.xstream.converters.ConversionException: Date_Time : Date_Time
      ---- Debugging information ----
      required-type : Flowsync$Export
      cause-message : Date_Time : Date_Time
      class : Flowsync$Dataroot
      message : Date_Time : Date_Time
      line number : 6
      path : /dataroot/Export/Date_Time
      cause-exception : com.thoughtworks.xstream.alias.CannotResolveClassException

      No matter what i try.

      Kind regards
      Henrik

        Issue Links

          People

          • Assignee:
            Unassigned
            Reporter:
            Henrik Winther Jensen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: