Commons Configuration
  1. Commons Configuration
  2. CONFIGURATION-100

[Configuration] XMLConfiguration.save() drops<! DOCTYPE... >

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      I want to programmatically update an XML-styled configuration file and
      everything works very well except for one thing: It fails to save back
      the line specifying my DTD:

      <!DOCTYPE Config SYSTEM "../../../dtds/Schedule.dtd">

        Activity

        Hide
        Oliver Heger added a comment -

        The DOCTYPE's public and system ID are now extracted when loading an XML
        document. On saving, they are written back. With the new publicID and systemID
        properties of XMLConfiguration they can be accessed and modified.

        Show
        Oliver Heger added a comment - The DOCTYPE's public and system ID are now extracted when loading an XML document. On saving, they are written back. With the new publicID and systemID properties of XMLConfiguration they can be accessed and modified.

          People

          • Assignee:
            Unassigned
            Reporter:
            Bill Evans
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development