I know how you feel about XML, we've discussed it before

Maybe, but the schema design is really horrid.trixie wrote:@nbache
No, PrefsObjects is great, and easy to use.
Maybe Utilities/PrefsObjectEditor is what you are looking for?JosDuchIt wrote:The Amidock preferences is an xml file
I was able to generate one that crashed Amidock as well as the workbench
I copied it to an other name and would like to correct it 'manually' to restore the lost info by removing the last app added.
So i got interested in this format.
The prefs file points to
http://www.amiga.com/DTDs/PrefsObjects-1.0.dtd
this link does not work. The file is not on my HD either Where can i get it ?
How can the prefs be interpreted without the dtd ?
Thanks for the suggestion. works greatMaybe Utilities/PrefsObjectEditor is what you are looking for?
I was told it will display (and even fix) errors in XML files.
+1 +1 +1 +1nbache wrote:Maybe, but the schema design is really horrid.trixie wrote:@nbache
No, PrefsObjects is great, and easy to use.
Every tag is either called "key" or "string" or "integer" or similar, so the real schema definition ends up being "hidden" in the values of the tags. That's not how good XML is designed. (And it bloats it even more as well.)
In effect, all XML documents using this schema end up being constructed out of a few super-general building blocks. That's why I likened it to Morse code (which has dots and dashes, and maybe a convention about the lengths of pauses between some of them, but that's it).
Fair enough, I take your point. But why was it designed like that? Am I to understand that nobody in the team even bothered to check what the guy responsible for PrefsObjects actually did, before releasing it as part of the OS?the schema design is really horrid.
Good XML design requires some special skills (no, I don't necessarily have them all myself either, but I have used XML enough to recognize well designed and poorly designed varieties). I don't know whether (and how many) persons with these skills are/were on the team, but even if there were, they might have been busy with other stuff at the time. And the alternative, hiring a pro from the outside to do it, costs money, a resource which as we all know is not abundant in AmigaOS development.trixie wrote:@nbacheFair enough, I take your point. But why was it designed like that? Am I to understand that nobody in the team even bothered to check what the guy responsible for PrefsObjects actually did, before releasing it as part of the OS?the schema design is really horrid.