File: TODO

package info (click to toggle)
libhtml-parser-perl 3.56-1%2Blenny1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 536 kB
  • ctags: 192
  • sloc: ansic: 1,985; perl: 1,935; makefile: 43
file content (31 lines) | stat: -rw-r--r-- 1,044 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
TODO

 - limit the length of markup elements that never end.   Perhaps by
   configurable limits on the length that markup can have and still
   be recongnized.  Report stuff as 'text' when this happens?
 - remove 255 char limit on literal argspec strings
 - implement backslash escapes in literal argspec string
 - <![%app1;[...]]> (parameter entities)
 - make literal tags configurable.  The current list is hardcoded
   to be ""script", "style", "title", "textarea", "xmp", and "plaintext".

SGML FEATURES WE WILL PROBABLY IGNORE FOREVER
 - Empty tags: <> </>  (repeat previous start tag)
 - <foo<bar>  (same as <foo><bar>)
 - NET tags <name/.../
 

POSSIBLE OPTIMIZATIONS
 - none that I can think of right now
 - run the profiler


MINOR "BUGS" (alias FEATURES)
 - no way to clear "boolean_attribute_value".
 - <style> and <script> do not end with the first "</".


MSIE bug compatibility
 - recognize server side includes as comments; <% ... %>
   if no matching %> found tread "<% ..." as text
 - skip quoted strings when looking for PIC