Edit

kc3-lang/libxml2/test/xhtml1

Branch :

  • Show log

    Commit

  • Author : Daniel Veillard
    Date : 2005-09-12 14:03:26
    Hash : dbd61053
    Message : applied second patch from David Madore to be less intrusive when handling * xmlsave.c: applied second patch from David Madore to be less intrusive when handling scripts and style elements in XHTML1 should fix #316041 * test/xhtml1 result//xhtml1\*: updated the test accordingly Daniel

  • test/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 xml:lang="en" lang="en">
      <head>
        <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/>
      <!-- C7 -->
      <p lang="fr">coucou</p>
      <p xml:lang="fr">salut</p>
      <!-- C8 -->
      <p name="fragid">test</p>
      <!-- 4.5 -->
      <dl compact="">
      <dt>Internet Engineering Task Force</dt>
      <dd>An organization which establishes technical standards for the Internet</dd>
      </dl>
    
    </html>