Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
26dc1971
Commit
26dc1971
authored
Mar 17, 2001
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expanded TO-DO list.
parent
5ebac31c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
2 deletions
+25
-2
lib/python/TAL/README.txt
lib/python/TAL/README.txt
+25
-2
No files found.
lib/python/TAL/README.txt
View file @
26dc1971
...
@@ -77,14 +77,37 @@ TO DO
...
@@ -77,14 +77,37 @@ TO DO
- Implement on-error, when it's approved.
- Implement on-error, when it's approved.
- The call to emitSubstitution() in emitEndElement() for "replace"
doesn't pass in anything for attrDict.
- Finish implementing insertStructure(): attribute replacement isn't
- Finish implementing insertStructure(): attribute replacement isn't
implemented yet.
implemented yet.
- TALInterpreter currently always uses an XML parser to parse inserted
- TALInterpreter currently always uses an XML parser to parse inserted
structure; it should use a parser appropriate to the mode.
structure; it should use a parser appropriate to the mode.
- Insert line number and offset information into generated code.
- Incorporate line number and offset information into remaining
compile-time exceptions.
- Incorporate line number and offset information into run-time
exceptions, including those raised by eval() of "python:..."
expressions. (But how? Can we just stick lineno, offset attributes
on existing exceptions?)
- nsgmllib.py is a pretty silly name. Maybe HTMLParser.py?
- HTMLTALParser.py and TALParser.py are silly names too. Should be
HTMLTALCompiler.py and XMLTALCompiler.py (or maybe shortened,
without "TAL"?)
- The HTML parser should complain about garbage in start elements
attributes, e.g. <a href="foo" !@#$%>.
- The HTML TAL compiler should preserve more information about the
start element, e.g. <img ismap /> should be output like that, not as
<img ismap="ismap">.
- Should we preserve case of tags and attribute names in HTML?
- Should we preserve case of tags and attribute names in HTML?
- Optimize more?
- Do we still need the HTML mode for TALInterpreter, which tries to
generate HTML from an XML template?
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment