Uploaded image for project: 'Maven Doxia'
  1. Maven Doxia
  2. DOXIA-129

Allow correctly head element in xdoc

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-alpha-9
    • 1.1.1
    • Module - Xdoc
    • None

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

      Attachments

        Issue Links

          Activity

            People

              ltheussl Lukas Theussl
              siveton Siveton Vincent
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: