Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-130

Site generation fails for site.xml in UTF8 with BOM

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 2.0-beta-6
    • encoding
    • None

    Description

      I get the following error if I edit site.xml with Windows Notepad.

      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Error during page generation

      Embedded error: Can't read site descriptor.
      only whitespace content allowed before start tag and not \uef (position: START_DOCUMENT seen \uef... @1:1)

      This is due to http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4508058 . Since Sun is saying they won't fix this "RFE" (which I think is a bug), we need a workaround.

      Attachments

        Issue Links

          Activity

            People

              hboutemy Herve Boutemy
              shinobu Shinobu Kawai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: