Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None
    • JDK version and platform:
      Apple JDK 1.5.0_06, Mac OS 10.4.6 (PPC)

      Description

      I have a number of XStream serialised files which have been hand edited to refer to a DTD containing entity declarations to encapsulate data (file paths in my case) which is shared between the files.

      If I try to use the XStream.fromXML methods to load these files it fails, as the parser does not have the system ID of the XML file and so is unable to locate the DTD. It would be nice if XStream provided a fromXML(URL) method that passes the system ID to the parser, as the workaround involves explicitly creating e.g. an XMLStreamReader and StaxReader to pass to XStream.unmarshal, which ties the code to one particular driver.

        People

        • Assignee:
          Jörg Schaible
          Reporter:
          Ian Roberts
        • Votes:
          2 Vote for this issue
          Watchers:
          1 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: