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

Spurious <?xml version="1.0" encoding="UTF-8"?> in generated <head> section

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0-alpha-8
    • 1.0-alpha-9
    • None
    • None
    • Linux, java version "1.4.2-02"

    Description

      The string "<?xml version="1.0" encoding="UTF-8"?>" appears before each element of the project.body.head tag of the site.xml file. Example follows.

      <-- pom.xml -->

      <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
      <modelVersion>4.0.0</modelVersion>
      <groupId>org.hello</groupId>
      <artifactId>hello</artifactId>
      <version>1.0</version>
      <name>Hello</name>
      </project>

      <-- src/site/site.xml -->

      <?xml version="1.0" encoding="ISO-8859-1"?>
      <project name="Hello">
      <body>
      <head>
      <link href="favicon.ico" rel="SHORTCUT ICON" />
      </head>
      <menu ref="reports" />
      </body>
      </project>

      <-- index.html generated by 'mvn site' -->

      <html>
      <head>
      <title>Hello - About</title>
      ...
      <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />

      <?xml version="1.0" encoding="UTF-8"?>
      <link href="favicon.ico" rel="SHORTCUT ICON"></link>

      </head>
      <body class="composite">
      ...

      Attachments

        Issue Links

          Activity

            People

              siveton Siveton Vincent
              lacton Antoine Contal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: