[Zope3-dev] Re: idea: attr:foo addition to tal

Stuart Bishop stuart at stuartbishop.net
Sat Jul 24 18:34:31 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 23/07/2004, at 10:06 AM, Tonico Strasser wrote:

> -1 for me.
>
>   <a attr:xml:lang="here/lang"/>
>
> Would this be possible? If yes, is it still valid XML?

I suspect it is perfectly valid XML (':' is valid in XML
names, which is how come they were able to use it for
XML namespaces). A quick look at the namespaces spec
seems to tell me that the namespace prefix is 'attr' and
the attribute name 'xml:lang',

'''The Namespaces in XML Recommendation [XML Names] assigns a meaning 
to names containing colon characters. Therefore, authors should not use 
the colon in XML names except for namespace purposes, but XML 
processors must accept the colon as a name character'''

- --  
Stuart Bishop <stuart at stuartbishop.net>
http://www.stuartbishop.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFBAuP3AfqZj7rGN0oRAr0QAJ9c7twcXTkJWfM6xOBil15upGu2egCfWBsc
v0yBVyo2qe3gHRvwkc7csfk=
=nV59
-----END PGP SIGNATURE-----



More information about the Zope3-dev mailing list