Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 2.1
-
Fix Version/s: None
-
Component/s: doxia integration
-
Labels:None
-
Environment:Ubuntu, maven 2.2.1, Java 6
Description
Here is a simple test.xml with a <head> tag.
<?xml version="1.0" encoding="ISO-8859-1"?>
<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
<head>
<link href="css/mysite.css" type="text/css" media="print" />
</head>
<body>
<section name="Test">
Hello
</section>
</body>
</document>
In the generated html :
<div id="bodyColumn">
<div id="contentBox">
<head><link href="css/mysite.css" type="text/css" media="print"></head> <= bad position
<div class="section"><h2><a name="Test"></a>Test</h2>
Issue Links
- is related to
-
MSITE-194
xdoc's <head/> gets rendered in the HTML body, not in head
-
I cannot reproduce that, see attached test project. Are you sure you are using site plugin 2.1? Your xdoc above should actually give a validation error because a <title> is required within <head>.