1Fermer3
GodzilLe 04/12/2008 à 09:26
About XML, even if you think that it is a bit bloated for what we need, there is at least some reason that can led to use XML instead of another format :

- With simple XSLT processor and XSL file, we can transform the XML Project file to anything else (like TPR, Makefile etc..)
- XML is handled in a numerous lib (in .Net, Java, even C/C++ !) and we don't need to write a parser and any file verification functions
- XML is text, so human readable
- XML is extensible, so even if we add new non critical functionality and that we done it correctly, old version of GCC4TI could use new XML Project files
- and more

For example, Makefile files are really horrible to parse and is, for me, not useable for storing project informations. Maybe Ant files, but it's a bit too tied to Java. CMake files are more like Makefiles.. No seriously I can't see anything else that can surpass the XML...

But with XML we need to make and publish it the XSchema of the XML Project file to validate them, and it's really a boring task...




Not really linked with this topic, but, I think that if we post a lot of topic about trac ticket, it will be more correct to add a new category, even if the forum is not really hyperactive, for storing them...

And I think that it could be a good idea if trac can post automaticaly new tickets (and comments on trac) in the good forum.. (but this will need an autorisation from yAro like for PocketMag's forum)