Commit da5ed0d8 authored by Guido van Rossum's avatar Guido van Rossum

Fix output for new style treatment of xmlns attributes.

parent 7d656298
<?xml version="1.0" ?>
<p>
<span xmlns:z="http://xml.zope.org/namespaces/tal" z:define="local x str:hello brave new world">
<p xmlns:z="http://xml.zope.org/namespaces/tal">
<span z:define="local x str:hello brave new world">
<span z:insert="text local:x">hello brave new world</span>
<span z:define="local x str:goodbye cruel world">
<span z:insert="text local:x">goodbye cruel world</span>
......
<?xml version="1.0" ?>
<html>
<body xmlns:m="http://xml.zope.org/namespaces/metal" xmlns:z="http://xml.zope.org/namespaces/tal" m:define-macro="body" z:define="global count python:0">
<body xmlns:z="http://xml.zope.org/namespaces/tal" xmlns:m="http://xml.zope.org/namespaces/metal" m:define-macro="body" z:define="global count python:0">
<ul m:define-macro="whoops">
......
<?xml version="1.0" ?>
<p>
<span xmlns:z="http://xml.zope.org/namespaces/tal" z:define="local x str:hello brave new world">
<p xmlns:z="http://xml.zope.org/namespaces/tal">
<span z:define="local x str:hello brave new world">
<span z:insert="text local:x">hello brave new world</span>
<span z:define="local x str:goodbye cruel world">
<span z:insert="text local:x">goodbye cruel world</span>
......
<?xml version="1.0" ?>
<html>
<body xmlns:m="http://xml.zope.org/namespaces/metal" xmlns:z="http://xml.zope.org/namespaces/tal" m:define-macro="body" z:define="global count python:0">
<body xmlns:z="http://xml.zope.org/namespaces/tal" xmlns:m="http://xml.zope.org/namespaces/metal" m:define-macro="body" z:define="global count python:0">
<ul m:define-macro="whoops">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment