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

Fred Drake fdrake at gmail.com
Mon Jul 26 12:50:09 EDT 2004


On Mon, 26 Jul 2004 16:56:50 +0100, Stuart Bishop
<stuart at stuartbishop.net> wrote:
>  From the XML 1.0 spec:
>         http://www.w3.org/TR/REC-xml/

And in that context, it makes more sense.  The XML processor must
accept colons in names:

- When namespaces are used, 0 or 1 may be present in a qualified name
(to separate the prefix from the local name).

- When namespaces are not used, any number may be present, but they
are not interpreted in any way.

> Drats. Foiled again.

Yes, the specification says "don't do that", and the implementation
protects you from being misled by an accident of implementation into
thinking that's how TAL works.  ;-)  (Yes, there are TAL
implementations that might not use Expat as the XML parser; Petal, for
instance, probably uses libxml2.)


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>


More information about the Zope3-dev mailing list