Maven Doxia
  1. Maven Doxia
  2. DOXIA-129

Allow correctly head element in xdoc

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-alpha-9
    • Fix Version/s: 1.1.1
    • Component/s: Module - Xdoc
    • Labels:
      None
    • Number of attachments :
      0

      Description

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

       
      <document>
        <properties>
          <title>Dummy Page</title>
        </properties>
        <head>
          <meta name="keyword" content="maven"/>
        </head>
        <body>
          <section name="blabla">
      ...
          </section>
        </body>
      </document>
      

      and produces the following html

       
      ...
            <div id="contentBox">
      
            <head>
              <meta name="keyword" content="maven"></meta>
            </head>
      
      <a name="blabla"></a><div class="section"><h2>blabla</h2>
      ...
      

        Issue Links

          Activity

            People

            • Assignee:
              Lukas Theussl
              Reporter:
              Vincent Siveton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: