-
Notifications
You must be signed in to change notification settings - Fork 377
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modified the existing APIs to handle XHTML1 serialization rules
* tree.c include/libxml/tree.h: modified the existing APIs to handle XHTML1 serialization rules automatically, also add xmlIsXHTML() to libxml2 API. Some tweaking to make sure libxslt serialization uses it when needed without changing the library API. * test/xhtml1 result/noent/xhtml1 result/valid/xhtml1.xhtml result/xhtml1: added a new test specifically for xhtml1 output and updated the result of one XHTML1 test Daniel
- Loading branch information
Daniel Veillard
committed
Nov 21, 2002
1 parent
c14401e
commit d5c2f92
Showing
7 changed files
with
681 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?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"><![CDATA[ | ||
... unescaped script 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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?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"><![CDATA[ | ||
... unescaped script 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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?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 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> | ||
|
||
|
Oops, something went wrong.