zpt and javascript xhtml errors

Bug #428571 reported by macadames
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zope.pagetemplate
Invalid
Low
Unassigned

Bug Description

Hello

The bug https://bugs.launchpad.net/bugs/142333 is closed, but i think you can re-open it, i can reproduce it under plone 3.3 (Zope 2.10.9-final, python 2.4.4, win32)

many thanks for your attention

Jean-mat

Revision history for this message
macadames (jeanmat-grimaldi) wrote :

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

Andreas Jung (ajung)
Changed in zope2:
importance: Undecided → Low
affects: zope2 → zope.pagetemplate
Revision history for this message
Colin Watson (cjwatson) wrote :

The zope.pagetemplate project on Launchpad has been archived at the request of the Zope developers (see https://answers.launchpad.net/launchpad/+question/683589 and https://answers.launchpad.net/launchpad/+question/685285). If this bug is still relevant, please refile it at https://github.com/zopefoundation/zope.pagetemplate.

Changed in zope.pagetemplate:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.