You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Chris Chabot (JIRA)" <ji...@apache.org> on 2009/09/01 13:03:32 UTC

[jira] Resolved: (SHINDIG-1158) Template parsing error

     [ https://issues.apache.org/jira/browse/SHINDIG-1158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Chabot resolved SHINDIG-1158.
-----------------------------------

    Resolution: Fixed
      Assignee: Chris Chabot

Thanks for tracing down the issue and fixing it! Patch's been committed

> Template parsing error
> ----------------------
>
>                 Key: SHINDIG-1158
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1158
>             Project: Shindig
>          Issue Type: Bug
>          Components: PHP
>         Environment: PHP shindig (rev 805795)
>            Reporter: Matthieu Huguet
>            Assignee: Chris Chabot
>         Attachments: shindig-template-regexp.diff
>
>
> To reproduce the problem, here is a sample gadget with a "text/javascript" block and a "text/os-template" block :
> http://bigornot.buddingprojects.com/os/test-template.xml
> When rendering it, i've this error :
> "Error parsing os-template:
> ---^ Fatal Error 5: Extra content at the end of the document Line: 5 Column: 3"
> It seems that there is an error in GadgetBaseRenderer::parseTemplates() : the regexp is mathing the two <script> blocks together.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.