Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-457

Illegal prefix for XML namespace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 5.0.18
    • 5.1.0.0
    • tapestry-core
    • None

    Description

      Tapestry replaces the default XML namespace alias "xml" with "ns0" and then explicitly defines "ns0" as XML namespace. This is illegal and XHTML validators like W3C's one do not accept this as valid.

      Template:
      <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de-DE">

      Output becomes:
      <html ns0:lang="de-DE" xmlns="http://www.w3.org/1999/xhtml" xmlns:ns0="http://www.w3.org/XML/1998/namespace">

      Attachments

        1. xml-namespace-prefix.patch
          0.8 kB
          Folke Behrens
        2. Test.html
          0.3 kB
          Folke Behrens

        Issue Links

          Activity

            People

              hlship Howard Lewis Ship
              messi Folke Behrens
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: