[ZCM] [ZC] 1915/ 4 Reject "TAL parsing error"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Wed Oct 12 04:21:05 EDT 2005


Issue #1915 Update (Reject) "TAL parsing error"
 Status Rejected, Zope/bug medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/1915

==============================================================
= Reject - Entry #4 by chrisw on Oct 12, 2005 4:21 am

 Status: Pending => Rejected

This is by design, google for it.

While I happen to agree with you that it sucks, I don't see it changing anytime soon :-(

Chris
________________________________________
= Comment - Entry #3 by cm_patric on Oct 11, 2005 6:57 pm

This arose when we migrated a Page Template (working) from an old Zope 2.7.0-prerelease instance to our new 2.8.1 install.  The bug is present even on a fresh Page Template with the offending code.
________________________________________
= Comment - Entry #2 by cm_patric on Oct 11, 2005 6:51 pm

The following parses fine without an error:

    <script language="JavaScript1.2" type="text/javascript"><!--
   
       document.writeln('<div' + '>Wow some text' + '<' + '/div' + '>');
       //-->
    </script>
________________________________________
= Request - Entry #1 by cm_patric on Oct 11, 2005 6:48 pm

When creating a Page Template containing the following code, compilation fails saying "Compilation failed
TAL.HTMLTALParser.NestingError: Open tag <script> does not match close tag </div>, at line 3, column 54"

   <script language="JavaScript1.2" type="text/javascript"><!--
      
      document.writeln('<div>Wow some text</div>');
      //-->
   </script>

I tried a number of approaches to escaping parts of that string, and had only 1 success which I can't seem to reproduce other than that I split up some of the HTML characters and elements with "<di" + "v>" type notation.
==============================================================



More information about the Zope-Collector-Monitor mailing list