1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00
libxml2/result/noent/xhtml1
Kasimier T. Buchcik 7b4e2e20fd 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.
2006-07-13 13:07:11 +00:00

31 lines
946 B
XML

<?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>