Astrid Ke�ler wrote: > > An id has to be unique within the doument. CDATA not. Since the id > attribute will become an anchor in the generated html file, uniqueness > is postulated. > > An id comes with some restrictions. The same restrictions (and more, if > I'm not mistaken) applys to anchors. When using a slash within the > anchor name, we will get an invalid html document.
I only suggested the CDATA because the HTML 4.01 strict DTD uses it for <a> name attributes, meaning it doesn't error against the validator.
I'm not recommending it should be changed... only that it is a solution to the problem and is consistant with the DTD. I'd prefer keeping the ID type myself for the same reason you said above, and because XHTML doesn't like the slash.
Shane
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
