You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Anthony Whitford (JIRA)" <ji...@codehaus.org> on 2011/08/20 19:35:32 UTC
[jira] Closed: (DOXIA-440) Unable to place XML in
[ https://jira.codehaus.org/browse/DOXIA-440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anthony Whitford closed DOXIA-440.
----------------------------------
Resolution: Not A Bug
This problem is resolved by wrapping the {{<source>}} contents in CDATA.
> Unable to place XML in <source> in FML
> --------------------------------------
>
> Key: DOXIA-440
> URL: https://jira.codehaus.org/browse/DOXIA-440
> Project: Maven Doxia
> Issue Type: Bug
> Components: Module - Fml
> Environment: maven-site-plugin 3.0
> Mac OS X Lion
> Java 6 Update 26, Maven 3.0.3
> Reporter: Anthony Whitford
>
> I have a {{faq.fml.vm}} file that has XML embedded in a <source> tag like this:
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <faqs id="FAQ" title="Frequently Asked Questions">
> <part id="General">
> <title>General</title>
> <faq id="needed">
> <question>Is the question important?</question>
> <answer>
> <p>No. I am merely trying to illustrate that I can't render XML correctly as part of the <em>source</em> tag.</p>
> <source>
> <dependencies>
> <dependency>
> <groupId>org.projectlombok</groupId>
> <artifactId>lombok</artifactId>
> <version>${LombokVersion}</version>
> <scope>provided</scope>
> </dependency>
> </dependencies>
> </source>
> </answer>
> </faq>
> </part>
> </faqs>
> {code}
> Note that this used to display correctly with Maven2/Site2.x... (I haven't isolated precisely what was changed to break this.)
> If there is a bug in my FML, then I suggest tweaking the documentation to include this case as I could not find documentation explaining how to do this.
> Thanks!
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira