[Zope3-dev] Re: idea: attr:foo addition to tal
Stuart Bishop
stuart at stuartbishop.net
Mon Jul 26 11:56:50 EDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 26/07/2004, at 4:18 PM, Fred Drake wrote:
> On Sat, 24 Jul 2004 23:34:31 +0100, Stuart Bishop
> <stuart at stuartbishop.net> wrote:
>> 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'''
>
> I don't know what document you're citing here. This is not from
> either the Namespaces in XML specification:
From the XML 1.0 spec:
http://www.w3.org/TR/REC-xml/
> I'll note that the XML parser used in Zope implements the first
> specification, which clearly states that a qualified name can contain
> at most one colon, so any attribute containing more than one colon
> should not have namespace processing applied.
Drats. Foiled again.
- --
Stuart Bishop <stuart at stuartbishop.net>
http://www.stuartbishop.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)
iD8DBQFBBSnCAfqZj7rGN0oRAiiRAKCKnAolSPVLEetDa6sJ8QPK/baUBgCeP2em
IgJ5AvSc4mTRuKhxaxFSvvQ=
=+WzA
-----END PGP SIGNATURE-----
More information about the Zope3-dev
mailing list