Re: XML in core
Peter Bienstman <[email protected]> Fri, 7 Nov 2003 15:18:14 +0100
| Newsgroups | gmane.comp.tools.memaid.devel |
|---|---|
| Organization | Ghent University |
| Message-ID | <[email protected]> |
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 07 November 2003 15:04, David Calinski wrote: > IIRC Bruno prefers to have short ones (me too), but what do you think? > It would be nice to have format self-explanatory, but these variables can > be misterious even with full names. (not to mention that full name of > "stm_t_rpt" is unknown.) =46ine by me. As I said, I don't have strong feelings about the variable na= mes. > I made it that way that at the begin of elements.xml there is added comme= nt > with some basic instruction and legend about variables. Is the comment enclosed in xml tags? I'm no expert, but you have to make su= re=20 that those comments don't interfere with the parsing. > 3. <id> versus <cat> field - both fields are using the same internal > variable AFAIK, but aplication can be different (e.g. AFAIK Richard is > using <id> field to have an "identification" - a string to identify > element). Hmm, I can make core can use <cat> instead of <id>, anyways. > Is this a good idea..? Probably not a good idea to mix them, as my use of the id field is just a=20 hack. Also the ID tag and the CAT tag are conceptually different beasts. I suggest that you use the ID tag in the core. When (in the far future) I=20 switch to full Python datastructures for the elements, I'll make sure that = my=20 client can also parse the ID tag. Cheers, Peter =2D --=20 =2D ------------------------------------------------ Peter Bienstman Ghent University, Dep. of Information Technology Sint-Pietersnieuwstraat 41, B-9000 Gent, Belgium tel: +32 9 264 34 45, fax: +32 9 264 35 93 WWW: http://photonics.intec.ugent.be email: [email protected] =2D ------------------------------------------------ =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/q6mm4dgPAIjyquoRAgPUAKDm/YZOIro994oSdjO7llnaLF3GSACg2fJq oZkA0lAz8CTl3KhrL9zHoyI=3D =3Dj4DF =2D----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/