[Freeciv-Dev] [patch #2903] [Metaticket] xml-files instead of self-made section-file format
Update of patch #2903 (project freeciv): Depends on: = patch #4884 ___ Reply to this item at: http://gna.org/patch/?2903 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [patch #2903] [Metaticket] xml-files instead of self-made section-file format
Update of patch #2903 (project freeciv): Depends on: = patch #4915 ___ Reply to this item at: http://gna.org/patch/?2903 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [patch #2903] [Metaticket] xml-files instead of self-made section-file format
Update of patch #2903 (project freeciv): Depends on: = patch #5505 ___ Reply to this item at: http://gna.org/patch/?2903 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [patch #2903] [Metaticket] xml-files instead of self-made section-file format
Update of patch #2903 (project freeciv): Status:None = In Progress Planned Release: = 3.0.0 ___ Reply to this item at: http://gna.org/patch/?2903 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [patch #2903] [Metaticket] xml-files instead of self-made section-file format
Follow-up Comment #2, patch #2903 (project freeciv): All the textual freeciv data files are in section file format: rulesets, tileset specifications, savegames, configuration files... I also have been thinking about freeciv version numbering in relation to possible usage of xml-files. If we start using xml-files in large scale, I'd like to call that freeciv version 3.0, especially if there's major compatibility breaks: 2012 - Release 2.4 with no xml-stuff at all 2013 - Release 2.5 with xml supported to some extend, but not required 2014 - Release 3.0 with major switch to xml-files. ___ Reply to this item at: http://gna.org/patch/?2903 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [patch #2903] [Metaticket] xml-files instead of self-made section-file format
Follow-up Comment #3, patch #2903 (project freeciv): Let me start out by saying that i think this is a good idea, but the implementation will determine whether users have a good experience or not. - Dedicated xml-editors are easier for modpack authors to use than editing our section file format in notepad Absolutely. My feeling is that it should always be *possible* to do stuff like this by hand [in a text editor], being able to use off the shelf tools would be an improvement. - Adds libxml2 or expat dependency I'm not familiar with whether this is a more lightweight or heavyweight need. I guess there might be problems in Windows due to the usual MS tactic of them redefining the standard in some non-standard way? - Some features our own section file format has can be hard to implement using xml Is this abundant caution, or do you know of specific fields that would be mangled by XML? As long as we don't have anything that resembles an XML tag our stuff *should* pass through unmodified... I like the initial view of the roadmap. I suppose during the transitional period we have a few choices: 1) Have the server able to read in several versions of savefiles and write them in a few selected [stable] versions. This will probably lead to charges of bloat. 2) Provide a converter utility for the interim period. It's extra work, but it keeps the server smaller and the user can delete it when no longer needed. Optionally such a function could be provided on the web where the user uploads an old savefile and downloads it in the new format. 3) Define a series of steps such that each release will only be able to read in files from the current or last release and only save in current release format. This puts a burden on the user when switching between different computers or even upgrading their distro. ___ Reply to this item at: http://gna.org/patch/?2903 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [patch #2903] [Metaticket] xml-files instead of self-made section-file format
Follow-up Comment #4, patch #2903 (project freeciv): I did the create the new savegame format. At that time I did not change the basic structure (secfile). But XML seems to be a good idea. I do not know much about it, but one of the first tests could be the creation of a Document Type Definition (dtd) for the xml file. It could answer if it is possible: - Some features our own section file format has can be hard to implement using xml ___ Reply to this item at: http://gna.org/patch/?2903 ___ Nachricht geschickt von/durch Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [patch #2903] [Metaticket] xml-files instead of self-made section-file format
Follow-up Comment #1, patch #2903 (project freeciv): Which freeciv-specific section file format? Scenarios? Rulesets? Maybe Wesnoth system (files .cfg for scenarios, units, etc.)? I don't know xml/xslt, but I am interested (especially scenarios). ___ Reply to this item at: http://gna.org/patch/?2903 ___ Messaggio inviato con/da Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev