View Issue Details

IDProjectCategoryView StatusLast Update
0013453ScribusGeneralpublic2015-10-22 15:58
Reporterhtgoebel Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status newResolutionopen 
Product Version1.5.0 
Summary0013453: Consider using a nested XML structure in .sla
DescriptionI know, I'm opening a new barrel (German proverb) by requesting yet another file format change.

Please consider changing the file-format again and using a more structured approach. I had search bugs in the XML file and it is very hard to spot relevant portions since most elements are flat.

The structure of ODT could be a guideline to follow. So something like this would be much more easier to understand by human:

Dokument
- Settings
  .... group the current "Document" attributes into some xml-elements like
       pages, text, pictures
  - CheckProfiles -- container for all <Checkprofile> elements
     - CheckProfile
  - Printer
  - PDF
  - Pagesets
  ...
- Styles
  - CharStyles -- container for CHARSTYLE
  - TableStyles -- container for table style
  ...and so on
- Sections
- Pages
  - Page
    - PageObject ...
  - Page
    - PageObjects ...
  ...
Additional InformationThis can be implemented with less effort using this trick:
- When writing the XML, write according to the structure.
- When reading, *ignore* the structure and process only based on the (old) tag-name.
TagsNo tags attached.
PatchNo

Activities

htgoebel

2015-10-22 12:40

reporter   ~0036816

Addendum: You can take the change and change the attribute "ItemID" into just "id", which is common in XML .

JLuc

2015-10-22 15:58

developer   ~0036825

That proposal is simple and logic.

Issue History

Date Modified Username Field Change
2015-10-22 12:37 htgoebel New Issue
2015-10-22 12:40 htgoebel Note Added: 0036816
2015-10-22 12:51 jghali Severity minor => feature
2015-10-22 15:58 JLuc Note Added: 0036825