Bug 747325 - Fix 'Error parsing template: expected <content> to be first' when opening virtualFolderListDialog.xul. r=Neil
authoraceman <acelists@atlas.sk>
Thu, 21 Feb 2013 05:45:15 -0500
changeset 15029 33a80322430e71685709f3b26b1c95b96d6d8a19
parent 15028 62db600f84f1c4623be8194c415bebfe8cad366e
child 15030 f10a1c2973fdd0a8ae407c2ecd7e6889a7287a9d
push id898
push userbugzilla@standard8.plus.com
push dateMon, 13 May 2013 17:03:31 +0000
treeherdercomm-beta@3106694b14de [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersNeil
bugs747325
Bug 747325 - Fix 'Error parsing template: expected <content> to be first' when opening virtualFolderListDialog.xul. r=Neil
mailnews/base/content/virtualFolderListDialog.xul
--- a/mailnews/base/content/virtualFolderListDialog.xul
+++ b/mailnews/base/content/virtualFolderListDialog.xul
@@ -1,15 +1,14 @@
 <?xml version="1.0"?>
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/.
    -->
 
-
 <?xml-stylesheet href="chrome://messenger/skin/virtualFolderListDialog.css" type="text/css"?>
 
 <!DOCTYPE window SYSTEM "chrome://messenger/locale/virtualFolderListDialog.dtd">
 
 <dialog id="searchFolderWindow"
         xmlns:NC="http://home.netscape.com/NC-rdf#" 
         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
@@ -35,24 +34,26 @@
           datasources="rdf:msgaccountmanager rdf:mailnewsfolders"
           ref="msgaccounts:/" 
           flags="dont-build-content"
           onkeypress="onSelectFolderTreeKeyPress(event);"
           onclick="selectFolderTreeOnClick(event);"> 
       <template>
         <rule>
           <conditions>
-            <content uri="?container"/> 
+            <content uri="?container"/>
             <member container="?container" child="?member"/>
-            <triple subject="?member" predicate="http://home.netscape.com/NC-rdf#Virtual" object="false"/>
-            <content uri="?container"/>
-            <member container="?container" child="?member" isDeferred="?isDeferred" />
-            <triple subject="?member" predicate="http://home.netscape.com/NC-rdf#IsDeferred" object="false"/>
+            <triple subject="?member"
+                    predicate="http://home.netscape.com/NC-rdf#Virtual"
+                    object="false"/>
+            <triple subject="?member"
+                    predicate="http://home.netscape.com/NC-rdf#IsDeferred"
+                    object="false"/>
           </conditions>
-          
+
           <bindings>
             <binding subject="?member"
                     predicate="http://home.netscape.com/NC-rdf#FolderTreeName"
                     object="?folderTreeName"/>
             <binding subject="?member"
                     predicate="http://home.netscape.com/NC-rdf#FolderTreeName?sort=true"
                     object="?folderTreeNameSort"/>
             <binding subject="?member"