Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0-alpha-8
-
Fix Version/s: 1.0-alpha-9
-
Component/s: None
-
Labels:None
-
Environment:Linux, java version "1.4.2-02"
-
Number of attachments :
Description
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">
...
Issue Links
- is related to
-
DOXIA-129
Allow correctly head element in xdoc
-
Activity
| Affects Version/s | 1.0-alpha-8 [ 12361 ] | |
| Affects Version/s | 2.0-beta-6 [ 12151 ] | |
| Key | MSITE-230 |
|
| Project | Maven 2.x Site Plugin [ 11146 ] | Maven Doxia [ 10780 ] |
| Fix Version/s | 1.0-alpha-9 [ 13220 ] | |
| Assignee | Vincent Siveton [ siveton ] | |
| Resolution | Fixed [ 1 ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |
A <head> element is not allowed in site.xml.