TODO.txt 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. ===============
  2. ToDo's for lxml
  3. ===============
  4. lxml
  5. ====
  6. In general
  7. ----------
  8. * test namespaces more in-depth
  9. * more testing on multi-threading
  10. * better exception messages for XPath and schemas based on error log,
  11. e.g. missing namespace mappings in XPath
  12. * more testing on input/output of encoded filenames, including custom
  13. resolvers, relative XSLT imports, ...
  14. * always use '<string>' as URL when tree was parsed from string? (can libxml2
  15. handle this?)
  16. * follow PEP 8 in API naming (avoidCamelCase in_favour_of_underscores)
  17. * use per-call or per-thread error logs in XSLT/XPath/etc. to keep the
  18. messages separate, especially in exceptions
  19. QName
  20. -----
  21. * expose prefix support?
  22. Entities
  23. --------
  24. * clean support for entities (is the Entity element class enough?)
  25. Objectify
  26. ---------
  27. * emulate setting special __attributes__ on ObjectifiedElement's as Python
  28. attributes, not XML children
  29. Maybe
  30. -----
  31. * rewrite iterparse() to accept a parser as argument instead of being
  32. one (or maybe not: iterparse() can't deal with all parser options
  33. anyway).