[ http://jira.codehaus.org/browse/DOXIA-150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_106760 ]
Lukas Theussl commented on DOXIA-150: ------------------------------------- Just for reference, the <head> element *is* allowed in site.xml, see http://www.nabble.com/head-element-in-site.xml--tf4396612s177.html > Spurious <?xml version="1.0" encoding="UTF-8"?> in generated <head> section > --------------------------------------------------------------------------- > > Key: DOXIA-150 > URL: http://jira.codehaus.org/browse/DOXIA-150 > Project: Maven Doxia > Issue Type: Bug > Affects Versions: 1.0-alpha-8 > Environment: Linux, java version "1.4.2-02" > Reporter: lacton > Assignee: Vincent Siveton > Priority: Minor > Fix For: 1.0-alpha-9 > > > The string "<?xml version="1.0" encoding="UTF-8"?>" appears before each > element of the project.body.head tag of the site.xml file. Example follows. > <-- pom.xml --> > <project xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/maven-v4_0_0.xsd"> > <modelVersion>4.0.0</modelVersion> > <groupId>org.hello</groupId> > <artifactId>hello</artifactId> > <version>1.0</version> > <name>Hello</name> > </project> > <-- src/site/site.xml --> > <?xml version="1.0" encoding="ISO-8859-1"?> > <project name="Hello"> > <body> > <head> > <link href="favicon.ico" rel="SHORTCUT ICON" /> > </head> > <menu ref="reports" /> > </body> > </project> > <-- index.html generated by 'mvn site' --> > <html> > <head> > <title>Hello - About</title> > ... > <link rel="stylesheet" href="./css/print.css" type="text/css" > media="print" /> > <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> > <?xml version="1.0" encoding="UTF-8"?> > <link href="favicon.ico" rel="SHORTCUT ICON"></link> > </head> > <body class="composite"> > ... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira