Edit

kc3-lang/libxml2/result/xhtml1

Branch :

  • Show log

    Commit

  • Author : Kasimier T. Buchcik
    Date : 2006-07-13 13:07:11
    Hash : 7b4e2e20
    Message : Removed the automatic generation of CDATA sections for the content of the * xmlsave.c: Removed the automatic generation of CDATA sections for the content of the "script" and "style" elements when serializing XHTML. The issue was reported by Vincent Lefevre, bug #345147. * result/xhtml1 result/noent/xhtml1: Adjusted regression test results due to the serialization change described above.

  • result/xhtml1
  • <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <!-- 3.1.1 3/ -->
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
      <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>Virtual Library</title>
      </head>
      <!-- 4.8 -->
      <script type="text/javascript">
      ... unescaped script &lt; content ...
      </script>
      <body>
        <p>Moved to <a href="http://example.org/">example.org</a>.</p>
      </body>
      <!-- C2 -->
      <img src="foo.gif" alt="foo" />
      <!-- C3 -->
      <p></p>
      <!-- C7 -->
      <p lang="fr" xml:lang="fr">coucou</p>
      <p xml:lang="fr" lang="fr">salut</p>
      <!-- C8 -->
      <p name="fragid" id="fragid">test</p>
      <!-- 4.5 -->
      <dl compact="compact">
      <dt>Internet Engineering Task Force</dt>
      <dd>An organization which establishes technical standards for the Internet</dd>
      </dl>
    
    </html>