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

Add some comments about uncertainties for structure insert/replace.

parent 8b558420
......@@ -229,7 +229,10 @@ class TALVisitor(CopyingDOMVisitor):
newChild = self.newDocument.createTextNode(str(data))
self.curNode.appendChild(newChild)
elif key == "structure":
# XXX need to copy the nodes
data = self.engine.evaluateStructure(expr)
# XXX maybe data needs to be a documentFragment node;
# then the implementation here isn't quite right
attrDone = not attrDict
for newChild in data:
self.curNode.appendChild(newChild)
......
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