Allow correctly head element in xdoc
------------------------------------

                 Key: DOXIA-129
                 URL: http://jira.codehaus.org/browse/DOXIA-129
             Project: doxia
          Issue Type: Bug
          Components: Module - Xdoc
    Affects Versions: 1.0-alpha-9
            Reporter: Vincent Siveton
             Fix For: 1.0


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

        

Reply via email to