Fixing well-formedness errors reported by expat...

This commit is contained in:
nisheeth%netscape.com 1999-04-07 02:03:08 +00:00
parent 0244a6660d
commit 609f21c756
11 changed files with 16 additions and 17 deletions

View File

@ -13,7 +13,7 @@
<treecol id="SubjectColumn" rdf:resource="http://home.netscape.com/NC-rdf#Subject"/>
<treecol id="AuthorColumn" rdf:resource="http://home.netscape.com/NC-rdf#Sender"/>
<treecol id="DateColumn" rdf:resource="http://home.netscape.com/NC-rdf#Date"/>
<treecol "id="StatusColumn" rdf:resource="http://home.netscape.com/NC-rdf#Status"/>
<treecol id="StatusColumn" rdf:resource="http://home.netscape.com/NC-rdf#Status"/>
<treehead>
<treeitem>
<treecell onclick="return parent.parent.SortThreadPane('SubjectColumn', 'http://home.netscape.com/NC-rdf#Subject');">

View File

@ -138,5 +138,5 @@ function doSort(sortColName)
</treebody>
</tree>
</window>
</xul:window>

View File

@ -79,4 +79,4 @@ function MutateBody()
</treebody>
</tree>
</window>
</xul:window>

View File

@ -1,10 +1,9 @@
<?xml version="1.0"?>
<!--
This test exercises some of the DOMAttr stuff.
-->
<?xml version="1.0"?>
<?xml-stylesheet href="dom-test-1.css" type="text/css"?>
<xul:window
@ -25,7 +24,7 @@ function DumpAttributes()
if (attrs == null)
return;
for (var i = 0; i < attrs.length; ++i) {
for (var i = 0; i &lt; attrs.length; ++i) {
var attr = attrs[i];
dump("attrs[" + i + "] = " + attr + "\n");
if (attr != null) {
@ -53,4 +52,4 @@ function DumpAttributes()
</treebody>
</tree>
</window>
</xul:window>

View File

@ -45,4 +45,4 @@ function RenamePersonalToolbar()
</treebody>
</tree>
</window>
</xul:window>

View File

@ -9,7 +9,7 @@
<box align="vertical">
<html:h1>Toolbar Test 1</h1>
<html:h1>Toolbar Test 1</html:h1>
<html:h3>

View File

@ -74,7 +74,7 @@
<html:img src="resource:/res/toolbar/TB_Print.gif"/><html:br/>Print
</html:button>
<html:a style="position:relative; direction:rtl; right:3; top: 2px;" href="http://www.netscape.com">
<html:img alt="Throbber!" border=0 src="resource:/res/throbber/anims00.gif"/>
<html:img alt="Throbber!" border="0" src="resource:/res/throbber/anims00.gif"/>
</html:a>
</xul:toolbar>

View File

@ -76,7 +76,7 @@
<treeitem>
<treecell><treeindentation/>Mail & News</treecell>
<treecell><treeindentation/>Mail &amp; News</treecell>
<treechildren>
<treeitem>
@ -98,7 +98,7 @@
<treecell><treeindentation/>Window Settings</treecell>
</treeitem>
<treeitem>
<treecell><treeindentation/>Copies & Folders</treecell>
<treecell><treeindentation/>Copies &amp; Folders</treecell>
</treeitem>
<treeitem>
<treecell><treeindentation/>Formatting</treecell>
@ -177,4 +177,4 @@
</tree>
</window>
</xul:window>

View File

@ -17,7 +17,7 @@
var imageNames = new Array("up.gif", "right.gif", "down.gif", "left.gif");
var animationFrame = 0;
var animationFunction = null;
for(var i = 0; i < 4; i++) {
for(var i = 0; i &lt; 4; i++) {
images[i] = new Image();
images[i].src = "sampleimages/" + imageNames[i];
}
@ -57,7 +57,7 @@
var taglist = document.getElementsByTagName("*");
element = null;
for (ctr = 0; ctr < taglist.length; ctr++)
for (ctr = 0; ctr &lt; taglist.length; ctr++)
if (taglist[ctr].getAttribute("id") == id) {
element = taglist[ctr];
break;

View File

@ -35,7 +35,7 @@
var imageNames = new Array("up.gif", "right.gif", "down.gif", "left.gif");
var animationFrame = 0;
var animationFunction = null;
for(var i = 0; i < 4; i++) {
for(var i = 0; i &lt; 4; i++) {
images[i] = new Image();
images[i].src = "sampleimages/" + imageNames[i];
}

View File

@ -47,7 +47,7 @@
var taglist = document.getElementsByTagName("*");
element = null;
for (ctr = 0; ctr < taglist.length; ctr++)
for (ctr = 0; ctr &lt; taglist.length; ctr++)
if (taglist[ctr].getAttribute("id") == id) {
element = taglist[ctr];
break;