You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Vlad Bailescu (JIRA)" <ji...@apache.org> on 2015/03/11 15:00:44 UTC

[jira] [Closed] (SLING-4346) Sightly: HtmlParser does not parse documents correctly when comments span across internal char buffer size

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

Vlad Bailescu closed SLING-4346.
--------------------------------

> Sightly: HtmlParser does not parse documents correctly when comments span across internal char buffer size
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-4346
>                 URL: https://issues.apache.org/jira/browse/SLING-4346
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>            Reporter: Vlad Bailescu
>            Assignee: Felix Meschberger
>             Fix For: Scripting Sightly Engine 1.0.0
>
>         Attachments: SLING-4346_Sightly__HtmlParser_does_not_parse_documents_correctly_when_comments_span_acros.patch
>
>
> The HTML parser used by Sightly to process templates is parsing incorrectly comments that span across it's internal char buffer size. Right now the buffer is set to 2048 characters, making the problem hard to see.
> The problem can be exposed by lowering the buffer size to 10 and feeding a string such as {code:java}"test test <!--/*comment*/-->"{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)