You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Data Nucleus (JIRA)" <ji...@codehaus.org> on 2011/05/15 17:33:22 UTC

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

    [ http://jira.codehaus.org/browse/DOXIA-129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=267061#action_267061 ] 

Data Nucleus commented on DOXIA-129:
------------------------------------

Anyone know how do I access such <head> meta elements from a Velocity file (site.vm) ? got an example?

> 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