Fixing well-formedness errors reported by expat...

This commit is contained in:
nisheeth%netscape.com 1999-04-07 02:03:08 +00:00
Родитель b167f8be6d
Коммит c0701131df
11 изменённых файлов: 15 добавлений и 108 удалений

Просмотреть файл

@ -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');">

Просмотреть файл

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

Просмотреть файл

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

Просмотреть файл

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

Просмотреть файл

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

Просмотреть файл

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

Просмотреть файл

@ -1,92 +0,0 @@
<?xml version="1.0"?>
<?xml-stylesheet href="xul.css" type="text/css"?>
<!DOCTYPE window>
<xul:window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns:xul ="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<html:script language="JavaScript">
function StartUp()
{
appCore = XPAppCoresManager.Find("MailAppCore");
if (appCore==null) {
appCore = new MailCore();
if (appCore != null) {
dump("MailAppCore was created!\n");
appCore.Init("MailAppCore");
appCore.MailCompleteCallback("MailSent();");
appCore.SetWindow(window);
}
}
}
function SendMailMessage()
{
dump("SendMailMessage!\n");
var appCore = XPAppCoresManager.Find("MailAppCore");
if (appCore != null) {
dump("Mail was sent!\n");
appCore.SendMail(window.parent.frames[1].document.forms[0].elements[1].value,
window.parent.frames[1].document.forms[0].elements[2].value,
window.parent.frames[1].document.forms[0].elements[4].value);
}
}
function MailSent()
{
// Clear Them
window.parent.frames[1].document.forms[0].elements[1].value = "";
window.parent.frames[1].document.forms[0].elements[2].value = "";
window.parent.frames[1].document.forms[0].elements[4].value = "";
}
</html:script>
<xul:commands>
<xul:command name="nsCmd:StartUp" onCommand="StartUp();"/>
<xul:command name="nsCmd:MailSendMsg" onCommand="SendMailMessage();"/>
</xul:commands>
<xul:toolbox>
<xul:toolbar>
<html:button cmd="nsCmd:MailSendMsg" style="background-color:rgb(192,192,192);">
<html:img src="resource:/res/toolbar/Mail_SendMsg.gif"/><html:br/>Send
</html:button>
<html:button cmd="nsCmd:MailGetMsg" style="background-color:rgb(192,192,192);">
<html:img src="resource:/res/toolbar/Mail_GetMsg.gif"/><html:br/>GetMsg
</html:button>
<html:button cmd="nsCmd:MailNewMsg" style="background-color:rgb(192,192,192);">
<html:img src="resource:/res/toolbar/Mail_NewMsg.gif"/><html:br/>New Msg
</html:button>
<html:button cmd="nsCmd:MailReply" style="background-color:rgb(192,192,192);">
<html:img src="resource:/res/toolbar/Mail_Reply.gif"/><html:br/>Reply
</html:button>
<html:button cmd="nsCmd:MailForward" style="background-color:rgb(192,192,192);">
<html:img src="resource:/res/toolbar/Mail_Forward.gif"/><html:br/>Forward
</html:button>
<html:button cmd="nsCmd:BrowserPrint" style="background-color:rgb(192,192,192);">
<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:a>
</xul:toolbar>
<xul:toolbar>
<html:form>
<html:select style="width:200px;">
<html:option>INBOX</html:option>
</html:select>
</html:form>
</xul:toolbox>
</xul:toolbox>
</xul:window>

Просмотреть файл

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

Просмотреть файл

@ -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;

Просмотреть файл

@ -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];
}

Просмотреть файл

@ -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;