ICEfaces
  1. ICEfaces
  2. ICE-3972

XHTML: Generated <html> tag does not contain required xmlns declaration

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.7.2 SP1
    • Fix Version/s: None
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      WinXP, RAD7, WebSphere 6., facelets

      Description

      The Generated <html> tag does not contain the required xmlns declaration. Even if specifically included in the html tag.
      ---
      Source:
      <html xmlns="http://www.w3.org/1999/xhtml"
            xmlns:ui="http://java.sun.com/jsf/facelets"
            xmlns:f="http://java.sun.com/jsf/core"
            xmlns:ice="http://www.icesoft.com/icefaces/component">
      ---
      Generated xhtml:
      <html id="document:html" lang="de">
      ---
      The w3c validator (http://validator.w3.org/) reports:

      Missing xmlns attribute for element html. The value should be: http://www.w3.org/1999/xhtml .

      ...xhtml1/DTD/xhtml1-transitional.dtd"><html id="document:html" lang="de"><head>

      Many Document Types based on XML need a mandatory xmlns="" on the root element. For example, the root element for XHTML will look like:
      <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

      Please fix this for XHTMl Transitional Validation.

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Tobias Eisenträger
            • Votes:
              7 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: