Re: XML in core

Peter Bienstman <[email protected]> Fri, 7 Nov 2003 18:08:06 +0100
Newsgroups gmane.comp.tools.memaid.devel
Organization Ghent University
Message-ID <[email protected]>
On Friday 07 November 2003 17:55, David Calinski wrote:

> The question that emerges here is: what use of "id" string?
> Should we clarify the use (and tell what characters (maybe just a number?)
> are allowed in it, how long can it be, etc.)?
> Or leave full freedom and "id" can be in fact used for anything
> (description, category name, blah blah, 'your ideas here').

FWIW, I don't use the id field in XML as a category name, so I don't mind if 
it becomes an attribute.

I use the id field in the C element datatype as a place to temporarily store 
category info, but that's an entirely different matter (and also a temporary 
solution).

So, I propose either restrict it and make it a attribute, or allow full 
freedom in a separate tag protected by CDATA.

Peter

------------------------------------------------
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]
------------------------------------------------



-------------------------------------------------------
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/