You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christian Schulte (JIRA)" <ji...@apache.org> on 2015/12/02 23:28:11 UTC

[jira] [Updated] (MSITE-752) Cannot use server side includes.

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

Christian Schulte updated MSITE-752:
------------------------------------
    Attachment: MSITE-752.patch

Here is a patch adding support for SSI directives to doxia. I am not sure the XML parser should be updated to support those directives. They are just XML comments and are not of interest during parsing XML documents in general, I think.


> Cannot use server side includes.
> --------------------------------
>
>                 Key: MSITE-752
>                 URL: https://issues.apache.org/jira/browse/MSITE-752
>             Project: Maven Site Plugin
>          Issue Type: Bug
>    Affects Versions: 3.4
>         Environment: Java version: 1.8.0_45, vendor: Oracle Corporation
> Java home: /usr/local/jdk-1.8.0/jre
> Default locale: de_DE, platform encoding: UTF-8
>            Reporter: Christian Schulte
>         Attachments: MSITE-752.patch, MSITE-752.zip
>
>
> Please see the attached example project. The 'index.xml' document contains some server side include directives. Executing 'mvn site', the server side includes won't work as the comments have been processed in a way that
> {code}
> <!--#set var="code" value="" -->
> {code}
>  becomes
> {code}
> <!-- #set var="code" value="" -->
> {code}
> Note the extra space.



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