[zope2-tracker] [Bug 428571] Re: zpt and javascript xhtml errors

macadames jeanmat.grimaldi at gmail.com
Sat Sep 12 16:13:25 EDT 2009


Perhaps it's not exactly the same problem. When publishing the same html
content, the error message is  :

<!-- Page Template Diagnostics
 Compilation failed
 zope.tal.htmltalparser.NestingError: Open tags <html>, <body>, <script> do not match close tag </title>, at line 14, column 42
-->

Perhaps a new bug ?

I can reproduce the same problem with this simple html code :

<html>
  <head>
    <title>Enter the title of your XHTML document here</title>
    
    <script type="JavaScript">

      <![CDATA[

      toto='<p>test</p>';
      alert (toto);

      ]]>

    </script>
  </head>
  <body> 
    <div>test</div>  
  </body>
</html>

The </p> tag inside <![CDATA[  is not invalid

Thanks

-- 
zpt and javascript xhtml errors
https://bugs.launchpad.net/bugs/428571
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.


More information about the zope2-tracker mailing list