<head> generated at bad place in html (xdoc format)
---------------------------------------------------

                 Key: MSITE-441
                 URL: http://jira.codehaus.org/browse/MSITE-441
             Project: Maven 2.x Site Plugin
          Issue Type: Bug
          Components: doxia integration
    Affects Versions: 2.1
         Environment: Ubuntu, maven 2.2.1, Java 6
            Reporter: Michenaud Laurent


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>


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

        

Reply via email to