- From: thierry michel <tmichel@w3.org>
- Date: Fri, 17 Nov 2000 10:52:26 +0100
- To: "Elliotte Rusty Harold" <elharo@metalab.unc.edu>, <www-smil@w3.org>
----- Original Message ----- From: "Elliotte Rusty Harold" <elharo@metalab.unc.edu> To: <www-smil@w3.org> Sent: Thursday, November 16, 2000 8:23 PM Subject: [Moderator Action] Namespace prefixes for attributes > I'm still making my way through the SMIL 2.0 DTDs so I may be a little > off-base here, but I do think I've noticed something strange. > > If the %SMIL.pfx; entity is defined as a non-empty string, and prefixing > is turned on, then the attributes have names like smil:transIn and > smil:transOut. If %SMIL.pfx; is defined as the empty string, then the > attributes have names like transIn and transOut. (The specific attribute > used is not important here.) This is what's intended, I think. > > However what I suspect is unintentional is that for attributes, unlike > for elements, this changes what namespace the attributes are in. > Unprefixed attributes are never in any namespace, whether the default > namespace or the namespace of the element they belong to. So adding the > prefix here moves the attributes from no namespace at all to the > http://www.w3.org/TR/REC-smil/2000/SMIL20 namespace (or whatever URI has > been defined). That seems to me to be unexpected and unnecessary > behavior. > > Since these attributes are always placed on SMIL elements only, wouldn't > it be more consistent if they never had any prefixes at all and were > always in no namespace? > > -- > +-----------------------+------------------------+-------------------+ > | Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer | > +-----------------------+------------------------+-------------------+ > | Java I/O (O'Reilly & Associates, 1999) | > | http://metalab.unc.edu/javafaq/books/javaio/ | > | http://www.amazon.com/exec/obidos/ISBN=1565924851/cafeaulaitA/ | > +----------------------------------+---------------------------------+ > | Read Cafe au Lait for Java News: http://metalab.unc.edu/javafaq/ | > | Read Cafe con Leche for XML News: http://metalab.unc.edu/xml/ | > +----------------------------------+---------------------------------+ >
Received on Friday, 17 November 2000 04:52:34 UTC