You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2009/04/08 09:19:20 UTC

[jira] Closed: (DOXIA-129) Allow correctly head element in xdoc

     [ http://jira.codehaus.org/browse/DOXIA-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl closed DOXIA-129.
-------------------------------

         Assignee: Lukas Theussl
       Resolution: Fixed
    Fix Version/s:     (was: 1.2)
                   1.1.1

Fixed in r763127. The meta tags are emitted as 'unknown' Sink events that are picked up by the XhtmlBaseSink.
In order to profit from this in the site plugin (MSITE-194), we still need to fix DOXIASITETOOLS-19.

> Allow correctly head element in xdoc
> ------------------------------------
>
>                 Key: DOXIA-129
>                 URL: http://jira.codehaus.org/browse/DOXIA-129
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Module - Xdoc
>    Affects Versions: 1.0-alpha-9
>            Reporter: Vincent Siveton
>            Assignee: Lukas Theussl
>             Fix For: 1.1.1
>
>
> head element is actually allowed *but* not correctly processed by the parser: the content of head is directly put in the core of the document.
> Here is a short sample: the following is a valid m1 xdoc (correct me if I am wrong!) 
> {code:xml} 
> <document>
>   <properties>
>     <title>Dummy Page</title>
>   </properties>
>   <head>
>     <meta name="keyword" content="maven"/>
>   </head>
>   <body>
>     <section name="blabla">
> ...
>     </section>
>   </body>
> </document>
> {code} 
> and produces the following html
> {code:xml} 
> ...
>       <div id="contentBox">
>       <head>
>         <meta name="keyword" content="maven"></meta>
>       </head>
> <a name="blabla"></a><div class="section"><h2>blabla</h2>
> ...
> {code} 

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