Re: Use-cases for strictinsert=True?
Fred Drake <[email protected]> Tue, 20 Sep 2005 11:54:20 -0400
| Newsgroups | gmane.comp.web.zope.page-templates |
|---|---|
| Message-ID | <[email protected]> |
On 9/20/05, Ian Bicking <[email protected]> wrote: > I don't use it, but wouldn't strictinsert have been intended to protect > the XML/HTML validity of the source? That is, shouldn't it parse the > structure, but not special TAL constructs, thus ensuring that using > structure doesn't mess up your XML? It would be nice to have a feature like you describe. Unfortunately, that isn't what strictinsert=True does. (Well, it does check for fragment well-formedness in XML mode, at least.) While the name "strictinsert" is reasonable for such a feature, I don't think we'd want to re-purpose the name. That should probably be kept, but the implementation should simply assert that strictinsert is false. New options would need to be added for new features. -Fred -- Fred L. Drake, Jr. <fdrake at gmail.com> Zope Corporation