maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (MSITE-752) Cannot use server side includes.
Date Wed, 02 Dec 2015 17:11:11 GMT

    [ https://issues.apache.org/jira/browse/MSITE-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15036141#comment-15036141
] 

Michael Osipov edited comment on MSITE-752 at 12/2/15 5:10 PM:
---------------------------------------------------------------

Well, one can change the tests of course. Moreover, will someone ever parse those comments
at all?
Touching the parser to support {{<!--#}} seems like a look of work because there are too
many levels. {{org.codehaus.plexus.util.xml.pull.MXParser}} needs to be changed. Create an
issue or PR here: https://github.com/codehaus-plexus/plexus-utils/issues


was (Author: michael-o):
Well, one can change the tests of course. Moreover, will someone ever parse those comments
at all?
Touching the parser to support {{<!--#}} seems like a look of work because there are too
many levels. {{org.codehaus.plexus.util.xml.pull.MXParser}} needs to be changed.

> 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.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)

Mime
View raw message