You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michenaud Laurent (JIRA)" <ji...@codehaus.org> on 2009/12/23 10:16:55 UTC

[jira] Commented: (MSITE-441) generated at bad place in html (xdoc format)

    [ http://jira.codehaus.org/browse/MSITE-441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=203922#action_203922 ] 

Michenaud Laurent commented on MSITE-441:
-----------------------------------------

Thanks a lot.

My problem was that I declared the site plugin with it version in 
the reporting part instead of the build part in pom.xml.

I have another problem. Respecting the xsd, i have to declare
twice the title (in properties and in head) and it generates a warning.

<properties>
	<title>My title</title>	
	<author email="*****">Michel</author>
</properties>

<head>
	<title>My title</title>
	<link href="css/mycss.css" type="text/css" media="screen"/>
</head>

> <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
>            Assignee: Lukas Theussl
>         Attachments: msite-441.zip
>
>
> 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