Commit 9291da09 authored by Guido van Rossum's avatar Guido van Rossum

Remove untruthful XML declaration from HTML sources.

parent ae8e65a4
<?xml version="1.0" ?>
<!DOCTYPE html <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd"> "DTD/xhtml1-transitional.dtd">
......
<?xml version="1.0" ?>
<biztalk_1 xmlns="urn:schemas-biztalk-org:biztalk:biztalk_1"> <biztalk_1 xmlns="urn:schemas-biztalk-org:biztalk:biztalk_1">
<foo:header xmlns:foo="whomping-willow" plain="guido" quote='"' apostrophe="'" both="&quot;'" lt="&lt;" gt="&gt;" amp="&amp;" foo=""> <foo:header xmlns:foo="whomping-willow" plain="guido" quote='"' apostrophe="'" both="&quot;'" lt="&lt;" gt="&gt;" amp="&amp;" foo="">
......
<?xml version="1.0" ?>
<p xmlns:z="http://xml.zope.org/namespaces/tal"> <p xmlns:z="http://xml.zope.org/namespaces/tal">
<span z:define="local x str:hello brave new world"> <span z:define="local x str:hello brave new world">
<span z:content="text local:x">outer variable x, first appearance</span> <span z:content="text local:x">outer variable x, first appearance</span>
......
<?xml version="1.0" ?>
<html> <html>
<body xmlns:m="http://xml.zope.org/namespaces/metal" xmlns:z="http://xml.zope.org/namespaces/tal" m:define-macro="body" z:define="global count python:0"> <body xmlns:m="http://xml.zope.org/namespaces/metal" xmlns:z="http://xml.zope.org/namespaces/tal" m:define-macro="body" z:define="global count python:0">
......
<?xml version="1.0" ?>
<html> <html>
<body xmlns:m="http://xml.zope.org/namespaces/metal" m:define-macro="body"> <body xmlns:m="http://xml.zope.org/namespaces/metal" m:define-macro="body">
......
<?xml version="1.0" ?>
<html> <html>
<body xmlns:m="http://xml.zope.org/namespaces/metal" <body xmlns:m="http://xml.zope.org/namespaces/metal"
m:use-macro="test/input/test05.html/body"> m:use-macro="test/input/test05.html/body">
......
<?xml version="1.0" ?>
<table xmlns:m="http://xml.zope.org/namespaces/metal" m:define-macro="myTable"> <table xmlns:m="http://xml.zope.org/namespaces/metal" m:define-macro="myTable">
<!-- macro definition with slots --> <!-- macro definition with slots -->
<tr> <tr>
......
<?xml version="1.0" ?>
<table xmlns:m="http://xml.zope.org/namespaces/metal" m:use-macro="test/input/test07.html/myTable"> <table xmlns:m="http://xml.zope.org/namespaces/metal" m:use-macro="test/input/test07.html/myTable">
<!-- macro use with slots --> <!-- macro use with slots -->
<tr> <tr>
......
<?xml version="1.0" ?>
<!DOCTYPE html <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd"> "DTD/xhtml1-transitional.dtd">
......
<?xml version="1.0" ?>
<biztalk_1 xmlns="urn:schemas-biztalk-org:biztalk:biztalk_1"> <biztalk_1 xmlns="urn:schemas-biztalk-org:biztalk:biztalk_1">
<foo:header xmlns:foo="whomping-willow" plain="guido" quote='"' apostrophe="'" both="&quot;'" lt="&lt;" gt="&gt;" amp="&amp;" foo=""> <foo:header xmlns:foo="whomping-willow" plain="guido" quote='"' apostrophe="'" both="&quot;'" lt="&lt;" gt="&gt;" amp="&amp;" foo="">
......
<?xml version="1.0" ?>
<p> <p>
<span> <span>
<span>hello brave new world</span> <span>hello brave new world</span>
......
<?xml version="1.0" ?>
<html> <html>
<body> <body>
......
<?xml version="1.0" ?>
<html> <html>
<body> <body>
......
<?xml version="1.0" ?>
<html> <html>
<body> <body>
......
<?xml version="1.0" ?>
<table> <table>
<!-- macro definition with slots --> <!-- macro definition with slots -->
<tr> <tr>
......
<?xml version="1.0" ?>
<table> <table>
<!-- macro definition with slots --> <!-- macro definition with slots -->
<tr> <tr>
......
<?xml version="1.0" ?>
<!DOCTYPE html <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd"> "DTD/xhtml1-transitional.dtd">
......
<?xml version="1.0" ?>
<biztalk_1 xmlns="urn:schemas-biztalk-org:biztalk:biztalk_1"> <biztalk_1 xmlns="urn:schemas-biztalk-org:biztalk:biztalk_1">
<foo:header xmlns:foo="whomping-willow" plain="guido" quote='"' apostrophe="'" both="&quot;'" lt="&lt;" gt="&gt;" amp="&amp;" foo=""> <foo:header xmlns:foo="whomping-willow" plain="guido" quote='"' apostrophe="'" both="&quot;'" lt="&lt;" gt="&gt;" amp="&amp;" foo="">
......
<?xml version="1.0" ?>
<p xmlns:z="http://xml.zope.org/namespaces/tal"> <p xmlns:z="http://xml.zope.org/namespaces/tal">
<span z:define="local x str:hello brave new world"> <span z:define="local x str:hello brave new world">
<span z:content="text local:x">outer variable x, first appearance</span> <span z:content="text local:x">outer variable x, first appearance</span>
......
<?xml version="1.0" ?>
<html> <html>
<body xmlns:m="http://xml.zope.org/namespaces/metal" xmlns:z="http://xml.zope.org/namespaces/tal" m:define-macro="body" z:define="global count python:0"> <body xmlns:m="http://xml.zope.org/namespaces/metal" xmlns:z="http://xml.zope.org/namespaces/tal" m:define-macro="body" z:define="global count python:0">
......
<?xml version="1.0" ?>
<html> <html>
<body xmlns:m="http://xml.zope.org/namespaces/metal" m:define-macro="body"> <body xmlns:m="http://xml.zope.org/namespaces/metal" m:define-macro="body">
......
<?xml version="1.0" ?>
<html> <html>
<body xmlns:m="http://xml.zope.org/namespaces/metal" <body xmlns:m="http://xml.zope.org/namespaces/metal"
m:use-macro="test/input/test05.html/body"> m:use-macro="test/input/test05.html/body">
......
<?xml version="1.0" ?>
<table xmlns:m="http://xml.zope.org/namespaces/metal" m:define-macro="myTable"> <table xmlns:m="http://xml.zope.org/namespaces/metal" m:define-macro="myTable">
<!-- macro definition with slots --> <!-- macro definition with slots -->
<tr> <tr>
......
<?xml version="1.0" ?>
<table xmlns:m="http://xml.zope.org/namespaces/metal" m:use-macro="test/input/test07.html/myTable"> <table xmlns:m="http://xml.zope.org/namespaces/metal" m:use-macro="test/input/test07.html/myTable">
<!-- macro use with slots --> <!-- macro use with slots -->
<tr> <tr>
......
<?xml version="1.0" ?>
<!DOCTYPE html <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd"> "DTD/xhtml1-transitional.dtd">
......
<?xml version="1.0" ?>
<biztalk_1 xmlns="urn:schemas-biztalk-org:biztalk:biztalk_1"> <biztalk_1 xmlns="urn:schemas-biztalk-org:biztalk:biztalk_1">
<foo:header xmlns:foo="whomping-willow" plain="guido" quote='"' apostrophe="'" both="&quot;'" lt="&lt;" gt="&gt;" amp="&amp;" foo=""> <foo:header xmlns:foo="whomping-willow" plain="guido" quote='"' apostrophe="'" both="&quot;'" lt="&lt;" gt="&gt;" amp="&amp;" foo="">
......
<?xml version="1.0" ?>
<p> <p>
<span> <span>
<span>hello brave new world</span> <span>hello brave new world</span>
......
<?xml version="1.0" ?>
<html> <html>
<body> <body>
......
<?xml version="1.0" ?>
<html> <html>
<body> <body>
......
<?xml version="1.0" ?>
<html> <html>
<body> <body>
......
<?xml version="1.0" ?>
<table> <table>
<!-- macro definition with slots --> <!-- macro definition with slots -->
<tr> <tr>
......
<?xml version="1.0" ?>
<table> <table>
<!-- macro definition with slots --> <!-- macro definition with slots -->
<tr> <tr>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment