[
https://issues.apache.org/jira/browse/SHINDIG-1158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthieu Huguet updated SHINDIG-1158:
-------------------------------------
Attachment: shindig-template-regexp.diff
Here is a patch to fix the problem
> 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
> 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.