From 4197ed9e822a5dd2207c493ba90e1abb74cb590e Mon Sep 17 00:00:00 2001
From: "bsmedberg%covad.net"
Date: Wed, 2 Nov 2005 20:12:13 +0000
Subject: [PATCH] Removing old files which have been copies in CVS to
content/xslt, see bug 304494
---
content/xsl/.cvsignore | 1 -
content/xsl/Makefile.in | 49 -
content/xsl/public/.cvsignore | 1 -
content/xsl/public/Makefile.in | 59 -
content/xsl/public/nsIDocumentTransformer.h | 83 -
content/xsl/public/nsIXSLTException.idl | 53 -
content/xsl/public/nsIXSLTProcessor.idl | 134 -
.../xsl/public/nsIXSLTProcessorObsolete.idl | 57 -
content/xsl/tests/book.css | 2 -
content/xsl/tests/book.xml | 5 -
content/xsl/tests/book.xsl | 18 -
extensions/transformiix/.cvsignore | 1 -
extensions/transformiix/Makefile.in | 51 -
extensions/transformiix/build/.cvsignore | 1 -
extensions/transformiix/build/Makefile.in | 94 -
.../build/XSLTProcessorModule.cpp | 324 --
.../transformiix/build/transformiix.jst | 30 -
.../transformiix/build/transformiix.pkg | 12 -
extensions/transformiix/docs/changes.txt | 260 --
.../docs/compiled-stylesheets.html | 254 --
.../transformiix/docs/compiled-templates.html | 273 --
.../transformiix/docs/contributors.html | 376 ---
.../docs/optimized-stylesheets.html | 199 --
.../transformiix/docs/optimized-xpath.html | 523 ---
extensions/transformiix/docs/readme.html | 172 -
extensions/transformiix/resources/Makefile.in | 45 -
.../resources/XSLTMark/XSLTMark-static.js | 77 -
.../resources/XSLTMark/XSLTMark-test.js | 79 -
.../resources/XSLTMark/XSLTMark-view.js | 208 --
.../resources/XSLTMark/XSLTMark.css | 41 -
.../resources/XSLTMark/XSLTMark.xul | 85 -
.../transformiix/resources/buster/DiffDOM.js | 136 -
.../transformiix/resources/buster/DumpDOM.js | 85 -
.../transformiix/resources/buster/Makefile.in | 45 -
.../transformiix/resources/buster/ReadMe | 22 -
.../resources/buster/buster-files.js | 115 -
.../resources/buster/buster-handlers.js | 71 -
.../resources/buster/buster-statics.js | 121 -
.../resources/buster/buster-test.js | 390 ---
.../resources/buster/buster-view.js | 227 --
.../transformiix/resources/buster/buster.css | 53 -
.../transformiix/resources/buster/buster.xul | 227 --
.../resources/buster/contents.rdf | 28 -
.../resources/buster/helper/generate-rdf.pl | 95 -
.../transformiix/resources/buster/install.js | 17 -
.../transformiix/resources/buster/jar.mn | 17 -
.../resources/buster/result-inspector.xul | 70 -
.../resources/buster/result-view.css | 16 -
.../resources/buster/result-view.js | 139 -
.../resources/buster/result-view.xul | 79 -
.../resources/buster/xslt-qa-overlay.js | 44 -
.../resources/buster/xslt-qa-overlay.xul | 45 -
extensions/transformiix/source/.cvsignore | 1 -
extensions/transformiix/source/Makefile.in | 51 -
.../transformiix/source/base/.cvsignore | 1 -
.../transformiix/source/base/Double.cpp | 353 --
.../transformiix/source/base/ErrorObserver.h | 114 -
extensions/transformiix/source/base/List.cpp | 426 ---
extensions/transformiix/source/base/List.h | 224 --
.../transformiix/source/base/Makefile.in | 86 -
.../source/base/SimpleErrorObserver.cpp | 80 -
extensions/transformiix/source/base/TxLog.h | 67 -
.../transformiix/source/base/txAtoms.cpp | 102 -
extensions/transformiix/source/base/txAtoms.h | 105 -
extensions/transformiix/source/base/txCore.h | 110 -
extensions/transformiix/source/base/txError.h | 138 -
.../source/base/txExpandedNameMap.cpp | 203 --
.../source/base/txExpandedNameMap.h | 137 -
.../source/base/txNamespaceMap.cpp | 127 -
.../transformiix/source/base/txNamespaceMap.h | 76 -
extensions/transformiix/source/base/txStack.h | 152 -
.../source/base/txStringUtils.cpp | 153 -
.../transformiix/source/base/txStringUtils.h | 82 -
.../transformiix/source/base/txTokenizer.h | 90 -
.../transformiix/source/base/txURIUtils.cpp | 352 --
.../transformiix/source/base/txURIUtils.h | 115 -
.../source/examples/functions.html | 1352 --------
.../source/examples/functions.xml | 12 -
.../source/examples/functions.xsl | 1212 -------
.../source/examples/identity-result.xml | 8 -
.../transformiix/source/examples/identity.xml | 9 -
.../transformiix/source/examples/identity.xsl | 59 -
.../source/examples/include-helper.xsl | 53 -
.../transformiix/source/examples/include.html | 12 -
.../transformiix/source/examples/include.xml | 6 -
.../transformiix/source/examples/include.xsl | 64 -
.../transformiix/source/examples/sort.html | 55 -
.../transformiix/source/examples/sort.xml | 14 -
.../transformiix/source/examples/sort.xsl | 60 -
.../transformiix/source/examples/test.html | 746 -----
.../transformiix/source/examples/test.xml | 13 -
.../transformiix/source/examples/test.xsl | 859 -----
.../source/examples/view-source.xsl | 105 -
.../transformiix/source/lib/Makefile.in | 74 -
.../transformiix/source/main/.cvsignore | 1 -
.../transformiix/source/main/Makefile.in | 79 -
.../transformiix/source/main/testXalan.cpp | 424 ---
.../transformiix/source/main/transformiix.cpp | 209 --
.../transformiix/source/main/txTestExpr.cpp | 145 -
.../source/main/txXSLTMarkDriver.cpp | 131 -
extensions/transformiix/source/xml/.cvsignore | 1 -
.../transformiix/source/xml/Makefile.in | 75 -
.../transformiix/source/xml/XMLUtils.cpp | 251 --
extensions/transformiix/source/xml/XMLUtils.h | 213 --
.../transformiix/source/xml/dom/.cvsignore | 1 -
.../transformiix/source/xml/dom/Makefile.in | 49 -
extensions/transformiix/source/xml/dom/dom.h | 45 -
.../source/xml/dom/standalone/.cvsignore | 1 -
.../source/xml/dom/standalone/Attr.cpp | 117 -
.../source/xml/dom/standalone/Document.cpp | 177 -
.../source/xml/dom/standalone/Element.cpp | 208 --
.../source/xml/dom/standalone/Makefile.in | 66 -
.../xml/dom/standalone/NodeDefinition.cpp | 378 ---
.../dom/standalone/ProcessingInstruction.cpp | 80 -
.../source/xml/dom/standalone/dom.h | 473 ---
.../transformiix/source/xml/parser/.cvsignore | 1 -
.../source/xml/parser/Makefile.in | 80 -
.../source/xml/parser/txXMLParser.cpp | 460 ---
.../source/xml/parser/txXMLParser.h | 72 -
.../transformiix/source/xpath/.cvsignore | 1 -
.../source/xpath/AdditiveExpr.cpp | 106 -
.../source/xpath/AttributeValueTemplate.cpp | 115 -
.../transformiix/source/xpath/BooleanExpr.cpp | 107 -
.../source/xpath/BooleanFunctionCall.cpp | 185 -
.../source/xpath/BooleanResult.cpp | 83 -
extensions/transformiix/source/xpath/Expr.h | 743 ----
.../transformiix/source/xpath/ExprLexer.cpp | 398 ---
.../transformiix/source/xpath/ExprLexer.h | 257 --
.../transformiix/source/xpath/ExprParser.cpp | 1094 ------
.../transformiix/source/xpath/ExprParser.h | 137 -
.../transformiix/source/xpath/ExprResult.h | 156 -
.../transformiix/source/xpath/FilterExpr.cpp | 98 -
.../source/xpath/FunctionCall.cpp | 200 --
.../transformiix/source/xpath/FunctionLib.h | 180 -
.../source/xpath/LocationStep.cpp | 328 --
.../transformiix/source/xpath/Makefile.in | 127 -
.../source/xpath/MultiplicativeExpr.cpp | 139 -
.../source/xpath/NodeSetFunctionCall.cpp | 279 --
.../source/xpath/NumberFunctionCall.cpp | 195 --
.../source/xpath/NumberResult.cpp | 88 -
.../transformiix/source/xpath/PathExpr.cpp | 244 --
.../source/xpath/PredicateList.cpp | 138 -
.../source/xpath/RelationalExpr.cpp | 237 --
.../transformiix/source/xpath/RootExpr.cpp | 77 -
.../source/xpath/StringFunctionCall.cpp | 417 ---
.../source/xpath/StringResult.cpp | 87 -
.../transformiix/source/xpath/UnaryExpr.cpp | 81 -
.../transformiix/source/xpath/UnionExpr.cpp | 143 -
.../source/xpath/VariableRefExpr.cpp | 101 -
.../source/xpath/XFormsFunctionCall.cpp | 604 ----
.../source/xpath/XFormsFunctions.h | 84 -
.../source/xpath/nsIXFormsUtilityService.h | 164 -
.../source/xpath/nsIXFormsXPathEvaluator.h | 99 -
.../source/xpath/nsXFormsXPathEvaluator.cpp | 274 --
.../source/xpath/nsXFormsXPathEvaluator.h | 101 -
.../source/xpath/nsXPath1Scheme.cpp | 238 --
.../source/xpath/nsXPath1Scheme.h | 59 -
.../source/xpath/nsXPathEvaluator.cpp | 213 --
.../source/xpath/nsXPathEvaluator.h | 114 -
.../source/xpath/nsXPathException.cpp | 111 -
.../source/xpath/nsXPathException.h | 68 -
.../source/xpath/nsXPathExpression.cpp | 225 --
.../source/xpath/nsXPathExpression.h | 109 -
.../source/xpath/nsXPathNSResolver.cpp | 78 -
.../source/xpath/nsXPathNSResolver.h | 66 -
.../source/xpath/nsXPathNamespace.cpp | 210 --
.../source/xpath/nsXPathNamespace.h | 70 -
.../source/xpath/nsXPathResult.cpp | 373 ---
.../transformiix/source/xpath/nsXPathResult.h | 138 -
.../transformiix/source/xpath/txErrorExpr.cpp | 66 -
.../source/xpath/txForwardContext.cpp | 94 -
.../source/xpath/txForwardContext.h | 67 -
.../source/xpath/txIXPathContext.h | 169 -
.../source/xpath/txLiteralExpr.cpp | 89 -
.../source/xpath/txMozillaXPathTreeWalker.cpp | 968 ------
.../transformiix/source/xpath/txNameTest.cpp | 117 -
.../transformiix/source/xpath/txNodeSet.cpp | 626 ----
.../transformiix/source/xpath/txNodeSet.h | 241 --
.../source/xpath/txNodeSetContext.cpp | 93 -
.../source/xpath/txNodeSetContext.h | 82 -
.../source/xpath/txNodeTypeTest.cpp | 124 -
.../source/xpath/txResultRecycler.cpp | 301 --
.../source/xpath/txResultRecycler.h | 111 -
.../source/xpath/txSingleNodeContext.h | 114 -
.../xpath/txStandaloneXPathTreeWalker.cpp | 417 ---
.../source/xpath/txXPathAtomList.h | 110 -
.../transformiix/source/xpath/txXPathNode.h | 155 -
.../source/xpath/txXPathTreeWalker.h | 348 --
.../transformiix/source/xslt/.cvsignore | 1 -
.../transformiix/source/xslt/Makefile.in | 122 -
.../source/xslt/functions/.cvsignore | 1 -
.../xslt/functions/CurrentFunctionCall.cpp | 49 -
.../xslt/functions/DocumentFunctionCall.cpp | 188 --
.../xslt/functions/ElementAvailableFnCall.cpp | 141 -
.../functions/FunctionAvailableFnCall.cpp | 140 -
.../xslt/functions/GenerateIdFunctionCall.cpp | 116 -
.../source/xslt/functions/Makefile.in | 81 -
.../functions/SystemPropertyFunctionCall.cpp | 120 -
.../source/xslt/functions/XSLTFunctions.h | 258 --
.../functions/txFormatNumberFunctionCall.cpp | 449 ---
.../source/xslt/functions/txKey.h | 227 --
.../xslt/functions/txKeyFunctionCall.cpp | 459 ---
.../source/xslt/txBufferingHandler.cpp | 416 ---
.../source/xslt/txBufferingHandler.h | 79 -
.../source/xslt/txExecutionState.cpp | 597 ----
.../source/xslt/txExecutionState.h | 187 --
.../transformiix/source/xslt/txHTMLAtomList.h | 97 -
.../transformiix/source/xslt/txHTMLOutput.cpp | 369 --
.../transformiix/source/xslt/txHTMLOutput.h | 74 -
.../source/xslt/txInstructions.cpp | 1052 ------
.../transformiix/source/xslt/txInstructions.h | 424 ---
.../xslt/txMozillaStylesheetCompiler.cpp | 829 -----
.../source/xslt/txMozillaTextOutput.cpp | 336 --
.../source/xslt/txMozillaTextOutput.h | 74 -
.../source/xslt/txMozillaXMLOutput.cpp | 981 ------
.../source/xslt/txMozillaXMLOutput.h | 154 -
.../source/xslt/txMozillaXSLTProcessor.cpp | 1276 -------
.../source/xslt/txMozillaXSLTProcessor.h | 185 -
.../source/xslt/txOutputFormat.cpp | 164 -
.../transformiix/source/xslt/txOutputFormat.h | 106 -
.../source/xslt/txPatternParser.cpp | 358 --
.../source/xslt/txPatternParser.h | 67 -
.../transformiix/source/xslt/txRtfHandler.cpp | 119 -
.../transformiix/source/xslt/txRtfHandler.h | 72 -
.../xslt/txStandaloneStylesheetCompiler.cpp | 381 ---
.../xslt/txStandaloneStylesheetCompiler.h | 56 -
.../source/xslt/txStandaloneXSLTProcessor.cpp | 378 ---
.../source/xslt/txStandaloneXSLTProcessor.h | 165 -
.../transformiix/source/xslt/txStylesheet.cpp | 668 ----
.../transformiix/source/xslt/txStylesheet.h | 248 --
.../xslt/txStylesheetCompileHandlers.cpp | 2983 -----------------
.../source/xslt/txStylesheetCompileHandlers.h | 89 -
.../source/xslt/txStylesheetCompiler.cpp | 999 ------
.../source/xslt/txStylesheetCompiler.h | 259 --
.../source/xslt/txTextHandler.cpp | 92 -
.../transformiix/source/xslt/txTextHandler.h | 60 -
.../transformiix/source/xslt/txTextOutput.cpp | 87 -
.../transformiix/source/xslt/txTextOutput.h | 57 -
.../source/xslt/txToplevelItems.cpp | 85 -
.../source/xslt/txToplevelItems.h | 163 -
.../source/xslt/txUnknownHandler.cpp | 138 -
.../source/xslt/txUnknownHandler.h | 71 -
.../transformiix/source/xslt/txVariableMap.h | 106 -
.../source/xslt/txXMLEventHandler.h | 202 --
.../transformiix/source/xslt/txXMLOutput.cpp | 346 --
.../transformiix/source/xslt/txXMLOutput.h | 126 -
.../transformiix/source/xslt/txXSLTAtomList.h | 151 -
.../transformiix/source/xslt/txXSLTNumber.cpp | 759 -----
.../transformiix/source/xslt/txXSLTNumber.h | 106 -
.../source/xslt/txXSLTNumberCounters.cpp | 246 --
.../source/xslt/txXSLTPatterns.cpp | 606 ----
.../transformiix/source/xslt/txXSLTPatterns.h | 233 --
.../source/xslt/txXSLTProcessor.cpp | 103 -
.../source/xslt/txXSLTProcessor.h | 61 -
.../transformiix/source/xslt/util/.cvsignore | 1 -
.../transformiix/source/xslt/util/Makefile.in | 75 -
.../source/xslt/util/txNodeSorter.cpp | 306 --
.../source/xslt/util/txNodeSorter.h | 92 -
.../xslt/util/txXPathResultComparator.cpp | 290 --
.../xslt/util/txXPathResultComparator.h | 135 -
260 files changed, 52926 deletions(-)
delete mode 100644 content/xsl/.cvsignore
delete mode 100755 content/xsl/Makefile.in
delete mode 100644 content/xsl/public/.cvsignore
delete mode 100644 content/xsl/public/Makefile.in
delete mode 100644 content/xsl/public/nsIDocumentTransformer.h
delete mode 100644 content/xsl/public/nsIXSLTException.idl
delete mode 100644 content/xsl/public/nsIXSLTProcessor.idl
delete mode 100644 content/xsl/public/nsIXSLTProcessorObsolete.idl
delete mode 100644 content/xsl/tests/book.css
delete mode 100644 content/xsl/tests/book.xml
delete mode 100644 content/xsl/tests/book.xsl
delete mode 100644 extensions/transformiix/.cvsignore
delete mode 100644 extensions/transformiix/Makefile.in
delete mode 100644 extensions/transformiix/build/.cvsignore
delete mode 100644 extensions/transformiix/build/Makefile.in
delete mode 100755 extensions/transformiix/build/XSLTProcessorModule.cpp
delete mode 100644 extensions/transformiix/build/transformiix.jst
delete mode 100644 extensions/transformiix/build/transformiix.pkg
delete mode 100755 extensions/transformiix/docs/changes.txt
delete mode 100644 extensions/transformiix/docs/compiled-stylesheets.html
delete mode 100644 extensions/transformiix/docs/compiled-templates.html
delete mode 100644 extensions/transformiix/docs/contributors.html
delete mode 100644 extensions/transformiix/docs/optimized-stylesheets.html
delete mode 100644 extensions/transformiix/docs/optimized-xpath.html
delete mode 100644 extensions/transformiix/docs/readme.html
delete mode 100644 extensions/transformiix/resources/Makefile.in
delete mode 100644 extensions/transformiix/resources/XSLTMark/XSLTMark-static.js
delete mode 100644 extensions/transformiix/resources/XSLTMark/XSLTMark-test.js
delete mode 100644 extensions/transformiix/resources/XSLTMark/XSLTMark-view.js
delete mode 100644 extensions/transformiix/resources/XSLTMark/XSLTMark.css
delete mode 100644 extensions/transformiix/resources/XSLTMark/XSLTMark.xul
delete mode 100644 extensions/transformiix/resources/buster/DiffDOM.js
delete mode 100644 extensions/transformiix/resources/buster/DumpDOM.js
delete mode 100644 extensions/transformiix/resources/buster/Makefile.in
delete mode 100644 extensions/transformiix/resources/buster/ReadMe
delete mode 100644 extensions/transformiix/resources/buster/buster-files.js
delete mode 100644 extensions/transformiix/resources/buster/buster-handlers.js
delete mode 100644 extensions/transformiix/resources/buster/buster-statics.js
delete mode 100644 extensions/transformiix/resources/buster/buster-test.js
delete mode 100644 extensions/transformiix/resources/buster/buster-view.js
delete mode 100644 extensions/transformiix/resources/buster/buster.css
delete mode 100644 extensions/transformiix/resources/buster/buster.xul
delete mode 100644 extensions/transformiix/resources/buster/contents.rdf
delete mode 100644 extensions/transformiix/resources/buster/helper/generate-rdf.pl
delete mode 100644 extensions/transformiix/resources/buster/install.js
delete mode 100644 extensions/transformiix/resources/buster/jar.mn
delete mode 100644 extensions/transformiix/resources/buster/result-inspector.xul
delete mode 100644 extensions/transformiix/resources/buster/result-view.css
delete mode 100644 extensions/transformiix/resources/buster/result-view.js
delete mode 100644 extensions/transformiix/resources/buster/result-view.xul
delete mode 100644 extensions/transformiix/resources/buster/xslt-qa-overlay.js
delete mode 100644 extensions/transformiix/resources/buster/xslt-qa-overlay.xul
delete mode 100644 extensions/transformiix/source/.cvsignore
delete mode 100644 extensions/transformiix/source/Makefile.in
delete mode 100644 extensions/transformiix/source/base/.cvsignore
delete mode 100644 extensions/transformiix/source/base/Double.cpp
delete mode 100644 extensions/transformiix/source/base/ErrorObserver.h
delete mode 100644 extensions/transformiix/source/base/List.cpp
delete mode 100644 extensions/transformiix/source/base/List.h
delete mode 100644 extensions/transformiix/source/base/Makefile.in
delete mode 100644 extensions/transformiix/source/base/SimpleErrorObserver.cpp
delete mode 100644 extensions/transformiix/source/base/TxLog.h
delete mode 100644 extensions/transformiix/source/base/txAtoms.cpp
delete mode 100644 extensions/transformiix/source/base/txAtoms.h
delete mode 100644 extensions/transformiix/source/base/txCore.h
delete mode 100644 extensions/transformiix/source/base/txError.h
delete mode 100644 extensions/transformiix/source/base/txExpandedNameMap.cpp
delete mode 100644 extensions/transformiix/source/base/txExpandedNameMap.h
delete mode 100644 extensions/transformiix/source/base/txNamespaceMap.cpp
delete mode 100644 extensions/transformiix/source/base/txNamespaceMap.h
delete mode 100644 extensions/transformiix/source/base/txStack.h
delete mode 100644 extensions/transformiix/source/base/txStringUtils.cpp
delete mode 100644 extensions/transformiix/source/base/txStringUtils.h
delete mode 100644 extensions/transformiix/source/base/txTokenizer.h
delete mode 100644 extensions/transformiix/source/base/txURIUtils.cpp
delete mode 100644 extensions/transformiix/source/base/txURIUtils.h
delete mode 100644 extensions/transformiix/source/examples/functions.html
delete mode 100644 extensions/transformiix/source/examples/functions.xml
delete mode 100644 extensions/transformiix/source/examples/functions.xsl
delete mode 100644 extensions/transformiix/source/examples/identity-result.xml
delete mode 100644 extensions/transformiix/source/examples/identity.xml
delete mode 100644 extensions/transformiix/source/examples/identity.xsl
delete mode 100644 extensions/transformiix/source/examples/include-helper.xsl
delete mode 100644 extensions/transformiix/source/examples/include.html
delete mode 100644 extensions/transformiix/source/examples/include.xml
delete mode 100644 extensions/transformiix/source/examples/include.xsl
delete mode 100644 extensions/transformiix/source/examples/sort.html
delete mode 100644 extensions/transformiix/source/examples/sort.xml
delete mode 100644 extensions/transformiix/source/examples/sort.xsl
delete mode 100644 extensions/transformiix/source/examples/test.html
delete mode 100644 extensions/transformiix/source/examples/test.xml
delete mode 100644 extensions/transformiix/source/examples/test.xsl
delete mode 100644 extensions/transformiix/source/examples/view-source.xsl
delete mode 100644 extensions/transformiix/source/lib/Makefile.in
delete mode 100644 extensions/transformiix/source/main/.cvsignore
delete mode 100644 extensions/transformiix/source/main/Makefile.in
delete mode 100644 extensions/transformiix/source/main/testXalan.cpp
delete mode 100644 extensions/transformiix/source/main/transformiix.cpp
delete mode 100644 extensions/transformiix/source/main/txTestExpr.cpp
delete mode 100644 extensions/transformiix/source/main/txXSLTMarkDriver.cpp
delete mode 100644 extensions/transformiix/source/xml/.cvsignore
delete mode 100644 extensions/transformiix/source/xml/Makefile.in
delete mode 100644 extensions/transformiix/source/xml/XMLUtils.cpp
delete mode 100644 extensions/transformiix/source/xml/XMLUtils.h
delete mode 100644 extensions/transformiix/source/xml/dom/.cvsignore
delete mode 100644 extensions/transformiix/source/xml/dom/Makefile.in
delete mode 100644 extensions/transformiix/source/xml/dom/dom.h
delete mode 100644 extensions/transformiix/source/xml/dom/standalone/.cvsignore
delete mode 100644 extensions/transformiix/source/xml/dom/standalone/Attr.cpp
delete mode 100644 extensions/transformiix/source/xml/dom/standalone/Document.cpp
delete mode 100644 extensions/transformiix/source/xml/dom/standalone/Element.cpp
delete mode 100644 extensions/transformiix/source/xml/dom/standalone/Makefile.in
delete mode 100644 extensions/transformiix/source/xml/dom/standalone/NodeDefinition.cpp
delete mode 100644 extensions/transformiix/source/xml/dom/standalone/ProcessingInstruction.cpp
delete mode 100644 extensions/transformiix/source/xml/dom/standalone/dom.h
delete mode 100644 extensions/transformiix/source/xml/parser/.cvsignore
delete mode 100644 extensions/transformiix/source/xml/parser/Makefile.in
delete mode 100644 extensions/transformiix/source/xml/parser/txXMLParser.cpp
delete mode 100644 extensions/transformiix/source/xml/parser/txXMLParser.h
delete mode 100644 extensions/transformiix/source/xpath/.cvsignore
delete mode 100644 extensions/transformiix/source/xpath/AdditiveExpr.cpp
delete mode 100644 extensions/transformiix/source/xpath/AttributeValueTemplate.cpp
delete mode 100644 extensions/transformiix/source/xpath/BooleanExpr.cpp
delete mode 100644 extensions/transformiix/source/xpath/BooleanFunctionCall.cpp
delete mode 100644 extensions/transformiix/source/xpath/BooleanResult.cpp
delete mode 100644 extensions/transformiix/source/xpath/Expr.h
delete mode 100644 extensions/transformiix/source/xpath/ExprLexer.cpp
delete mode 100644 extensions/transformiix/source/xpath/ExprLexer.h
delete mode 100644 extensions/transformiix/source/xpath/ExprParser.cpp
delete mode 100644 extensions/transformiix/source/xpath/ExprParser.h
delete mode 100644 extensions/transformiix/source/xpath/ExprResult.h
delete mode 100644 extensions/transformiix/source/xpath/FilterExpr.cpp
delete mode 100644 extensions/transformiix/source/xpath/FunctionCall.cpp
delete mode 100644 extensions/transformiix/source/xpath/FunctionLib.h
delete mode 100644 extensions/transformiix/source/xpath/LocationStep.cpp
delete mode 100644 extensions/transformiix/source/xpath/Makefile.in
delete mode 100644 extensions/transformiix/source/xpath/MultiplicativeExpr.cpp
delete mode 100644 extensions/transformiix/source/xpath/NodeSetFunctionCall.cpp
delete mode 100644 extensions/transformiix/source/xpath/NumberFunctionCall.cpp
delete mode 100644 extensions/transformiix/source/xpath/NumberResult.cpp
delete mode 100644 extensions/transformiix/source/xpath/PathExpr.cpp
delete mode 100644 extensions/transformiix/source/xpath/PredicateList.cpp
delete mode 100644 extensions/transformiix/source/xpath/RelationalExpr.cpp
delete mode 100644 extensions/transformiix/source/xpath/RootExpr.cpp
delete mode 100644 extensions/transformiix/source/xpath/StringFunctionCall.cpp
delete mode 100644 extensions/transformiix/source/xpath/StringResult.cpp
delete mode 100644 extensions/transformiix/source/xpath/UnaryExpr.cpp
delete mode 100644 extensions/transformiix/source/xpath/UnionExpr.cpp
delete mode 100644 extensions/transformiix/source/xpath/VariableRefExpr.cpp
delete mode 100644 extensions/transformiix/source/xpath/XFormsFunctionCall.cpp
delete mode 100644 extensions/transformiix/source/xpath/XFormsFunctions.h
delete mode 100644 extensions/transformiix/source/xpath/nsIXFormsUtilityService.h
delete mode 100644 extensions/transformiix/source/xpath/nsIXFormsXPathEvaluator.h
delete mode 100644 extensions/transformiix/source/xpath/nsXFormsXPathEvaluator.cpp
delete mode 100644 extensions/transformiix/source/xpath/nsXFormsXPathEvaluator.h
delete mode 100755 extensions/transformiix/source/xpath/nsXPath1Scheme.cpp
delete mode 100755 extensions/transformiix/source/xpath/nsXPath1Scheme.h
delete mode 100644 extensions/transformiix/source/xpath/nsXPathEvaluator.cpp
delete mode 100644 extensions/transformiix/source/xpath/nsXPathEvaluator.h
delete mode 100644 extensions/transformiix/source/xpath/nsXPathException.cpp
delete mode 100644 extensions/transformiix/source/xpath/nsXPathException.h
delete mode 100644 extensions/transformiix/source/xpath/nsXPathExpression.cpp
delete mode 100644 extensions/transformiix/source/xpath/nsXPathExpression.h
delete mode 100644 extensions/transformiix/source/xpath/nsXPathNSResolver.cpp
delete mode 100644 extensions/transformiix/source/xpath/nsXPathNSResolver.h
delete mode 100644 extensions/transformiix/source/xpath/nsXPathNamespace.cpp
delete mode 100644 extensions/transformiix/source/xpath/nsXPathNamespace.h
delete mode 100644 extensions/transformiix/source/xpath/nsXPathResult.cpp
delete mode 100644 extensions/transformiix/source/xpath/nsXPathResult.h
delete mode 100755 extensions/transformiix/source/xpath/txErrorExpr.cpp
delete mode 100644 extensions/transformiix/source/xpath/txForwardContext.cpp
delete mode 100644 extensions/transformiix/source/xpath/txForwardContext.h
delete mode 100644 extensions/transformiix/source/xpath/txIXPathContext.h
delete mode 100644 extensions/transformiix/source/xpath/txLiteralExpr.cpp
delete mode 100644 extensions/transformiix/source/xpath/txMozillaXPathTreeWalker.cpp
delete mode 100644 extensions/transformiix/source/xpath/txNameTest.cpp
delete mode 100644 extensions/transformiix/source/xpath/txNodeSet.cpp
delete mode 100644 extensions/transformiix/source/xpath/txNodeSet.h
delete mode 100644 extensions/transformiix/source/xpath/txNodeSetContext.cpp
delete mode 100644 extensions/transformiix/source/xpath/txNodeSetContext.h
delete mode 100644 extensions/transformiix/source/xpath/txNodeTypeTest.cpp
delete mode 100644 extensions/transformiix/source/xpath/txResultRecycler.cpp
delete mode 100644 extensions/transformiix/source/xpath/txResultRecycler.h
delete mode 100644 extensions/transformiix/source/xpath/txSingleNodeContext.h
delete mode 100644 extensions/transformiix/source/xpath/txStandaloneXPathTreeWalker.cpp
delete mode 100644 extensions/transformiix/source/xpath/txXPathAtomList.h
delete mode 100644 extensions/transformiix/source/xpath/txXPathNode.h
delete mode 100644 extensions/transformiix/source/xpath/txXPathTreeWalker.h
delete mode 100644 extensions/transformiix/source/xslt/.cvsignore
delete mode 100644 extensions/transformiix/source/xslt/Makefile.in
delete mode 100644 extensions/transformiix/source/xslt/functions/.cvsignore
delete mode 100644 extensions/transformiix/source/xslt/functions/CurrentFunctionCall.cpp
delete mode 100644 extensions/transformiix/source/xslt/functions/DocumentFunctionCall.cpp
delete mode 100644 extensions/transformiix/source/xslt/functions/ElementAvailableFnCall.cpp
delete mode 100644 extensions/transformiix/source/xslt/functions/FunctionAvailableFnCall.cpp
delete mode 100644 extensions/transformiix/source/xslt/functions/GenerateIdFunctionCall.cpp
delete mode 100644 extensions/transformiix/source/xslt/functions/Makefile.in
delete mode 100644 extensions/transformiix/source/xslt/functions/SystemPropertyFunctionCall.cpp
delete mode 100644 extensions/transformiix/source/xslt/functions/XSLTFunctions.h
delete mode 100644 extensions/transformiix/source/xslt/functions/txFormatNumberFunctionCall.cpp
delete mode 100644 extensions/transformiix/source/xslt/functions/txKey.h
delete mode 100644 extensions/transformiix/source/xslt/functions/txKeyFunctionCall.cpp
delete mode 100644 extensions/transformiix/source/xslt/txBufferingHandler.cpp
delete mode 100644 extensions/transformiix/source/xslt/txBufferingHandler.h
delete mode 100644 extensions/transformiix/source/xslt/txExecutionState.cpp
delete mode 100644 extensions/transformiix/source/xslt/txExecutionState.h
delete mode 100644 extensions/transformiix/source/xslt/txHTMLAtomList.h
delete mode 100644 extensions/transformiix/source/xslt/txHTMLOutput.cpp
delete mode 100644 extensions/transformiix/source/xslt/txHTMLOutput.h
delete mode 100644 extensions/transformiix/source/xslt/txInstructions.cpp
delete mode 100644 extensions/transformiix/source/xslt/txInstructions.h
delete mode 100644 extensions/transformiix/source/xslt/txMozillaStylesheetCompiler.cpp
delete mode 100644 extensions/transformiix/source/xslt/txMozillaTextOutput.cpp
delete mode 100644 extensions/transformiix/source/xslt/txMozillaTextOutput.h
delete mode 100644 extensions/transformiix/source/xslt/txMozillaXMLOutput.cpp
delete mode 100644 extensions/transformiix/source/xslt/txMozillaXMLOutput.h
delete mode 100644 extensions/transformiix/source/xslt/txMozillaXSLTProcessor.cpp
delete mode 100644 extensions/transformiix/source/xslt/txMozillaXSLTProcessor.h
delete mode 100644 extensions/transformiix/source/xslt/txOutputFormat.cpp
delete mode 100644 extensions/transformiix/source/xslt/txOutputFormat.h
delete mode 100644 extensions/transformiix/source/xslt/txPatternParser.cpp
delete mode 100644 extensions/transformiix/source/xslt/txPatternParser.h
delete mode 100644 extensions/transformiix/source/xslt/txRtfHandler.cpp
delete mode 100644 extensions/transformiix/source/xslt/txRtfHandler.h
delete mode 100644 extensions/transformiix/source/xslt/txStandaloneStylesheetCompiler.cpp
delete mode 100644 extensions/transformiix/source/xslt/txStandaloneStylesheetCompiler.h
delete mode 100644 extensions/transformiix/source/xslt/txStandaloneXSLTProcessor.cpp
delete mode 100644 extensions/transformiix/source/xslt/txStandaloneXSLTProcessor.h
delete mode 100644 extensions/transformiix/source/xslt/txStylesheet.cpp
delete mode 100644 extensions/transformiix/source/xslt/txStylesheet.h
delete mode 100644 extensions/transformiix/source/xslt/txStylesheetCompileHandlers.cpp
delete mode 100644 extensions/transformiix/source/xslt/txStylesheetCompileHandlers.h
delete mode 100644 extensions/transformiix/source/xslt/txStylesheetCompiler.cpp
delete mode 100644 extensions/transformiix/source/xslt/txStylesheetCompiler.h
delete mode 100644 extensions/transformiix/source/xslt/txTextHandler.cpp
delete mode 100644 extensions/transformiix/source/xslt/txTextHandler.h
delete mode 100644 extensions/transformiix/source/xslt/txTextOutput.cpp
delete mode 100644 extensions/transformiix/source/xslt/txTextOutput.h
delete mode 100644 extensions/transformiix/source/xslt/txToplevelItems.cpp
delete mode 100644 extensions/transformiix/source/xslt/txToplevelItems.h
delete mode 100644 extensions/transformiix/source/xslt/txUnknownHandler.cpp
delete mode 100644 extensions/transformiix/source/xslt/txUnknownHandler.h
delete mode 100644 extensions/transformiix/source/xslt/txVariableMap.h
delete mode 100644 extensions/transformiix/source/xslt/txXMLEventHandler.h
delete mode 100644 extensions/transformiix/source/xslt/txXMLOutput.cpp
delete mode 100644 extensions/transformiix/source/xslt/txXMLOutput.h
delete mode 100644 extensions/transformiix/source/xslt/txXSLTAtomList.h
delete mode 100644 extensions/transformiix/source/xslt/txXSLTNumber.cpp
delete mode 100644 extensions/transformiix/source/xslt/txXSLTNumber.h
delete mode 100644 extensions/transformiix/source/xslt/txXSLTNumberCounters.cpp
delete mode 100644 extensions/transformiix/source/xslt/txXSLTPatterns.cpp
delete mode 100644 extensions/transformiix/source/xslt/txXSLTPatterns.h
delete mode 100644 extensions/transformiix/source/xslt/txXSLTProcessor.cpp
delete mode 100644 extensions/transformiix/source/xslt/txXSLTProcessor.h
delete mode 100644 extensions/transformiix/source/xslt/util/.cvsignore
delete mode 100644 extensions/transformiix/source/xslt/util/Makefile.in
delete mode 100644 extensions/transformiix/source/xslt/util/txNodeSorter.cpp
delete mode 100644 extensions/transformiix/source/xslt/util/txNodeSorter.h
delete mode 100644 extensions/transformiix/source/xslt/util/txXPathResultComparator.cpp
delete mode 100644 extensions/transformiix/source/xslt/util/txXPathResultComparator.h
diff --git a/content/xsl/.cvsignore b/content/xsl/.cvsignore
deleted file mode 100644
index f3c7a7c5da68..000000000000
--- a/content/xsl/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-Makefile
diff --git a/content/xsl/Makefile.in b/content/xsl/Makefile.in
deleted file mode 100755
index 8b7c0fe5e541..000000000000
--- a/content/xsl/Makefile.in
+++ /dev/null
@@ -1,49 +0,0 @@
-#
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is mozilla.org Code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 1998
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either of the GNU General Public License Version 2 or later (the "GPL"),
-# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-DEPTH = ../..
-topsrcdir = @top_srcdir@
-srcdir = @srcdir@
-VPATH = @srcdir@
-
-include $(DEPTH)/config/autoconf.mk
-
-DIRS = public
-
-include $(topsrcdir)/config/config.mk
-
-include $(topsrcdir)/config/rules.mk
diff --git a/content/xsl/public/.cvsignore b/content/xsl/public/.cvsignore
deleted file mode 100644
index f3c7a7c5da68..000000000000
--- a/content/xsl/public/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-Makefile
diff --git a/content/xsl/public/Makefile.in b/content/xsl/public/Makefile.in
deleted file mode 100644
index 3dbb06df01b0..000000000000
--- a/content/xsl/public/Makefile.in
+++ /dev/null
@@ -1,59 +0,0 @@
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is mozilla.org code.
-#
-# The Initial Developer of the Original Code is
-# Netscape Communications Corporation.
-# Portions created by the Initial Developer are Copyright (C) 2002
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-# Peter Van der Beken (original author)
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either the GNU General Public License Version 2 or later (the "GPL"), or
-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-DEPTH = ../../..
-topsrcdir = @top_srcdir@
-srcdir = @srcdir@
-VPATH = @srcdir@
-
-include $(DEPTH)/config/autoconf.mk
-
-MODULE = content
-XPIDL_MODULE = content_xslt
-
-EXPORTS = \
- nsIDocumentTransformer.h \
- $(NULL)
-
-XPIDLSRCS = \
- nsIXSLTException.idl \
- nsIXSLTProcessor.idl \
- nsIXSLTProcessorObsolete.idl \
- $(NULL)
-
-include $(topsrcdir)/config/rules.mk
-
diff --git a/content/xsl/public/nsIDocumentTransformer.h b/content/xsl/public/nsIDocumentTransformer.h
deleted file mode 100644
index fd6646741dcc..000000000000
--- a/content/xsl/public/nsIDocumentTransformer.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is mozilla.org code.
- *
- * The Initial Developer of the Original Code is
- * Netscape Communications Corporation.
- * Portions created by the Initial Developer are Copyright (C) 2002
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Jonas Sicking (Original author)
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-#ifndef nsIDocumentTransformer_h__
-#define nsIDocumentTransformer_h__
-
-#include "nsISupports.h"
-
-class nsIDOMDocument;
-class nsIDOMNode;
-class nsILoadGroup;
-class nsIURI;
-class nsIPrincipal;
-
-#define NS_ITRANSFORMOBSERVER_IID \
- {0xcce88481, 0x6eb3, 0x11d6, \
- { 0xa7, 0xf2, 0x8d, 0x82, 0xcd, 0x2a, 0xf3, 0x7c }}
-
-class nsITransformObserver : public nsISupports
-{
-public:
-
- NS_DEFINE_STATIC_IID_ACCESSOR(NS_ITRANSFORMOBSERVER_IID)
-
- NS_IMETHOD OnDocumentCreated(nsIDOMDocument *aResultDocument) = 0;
-
- NS_IMETHOD OnTransformDone(nsresult aResult,
- nsIDOMDocument *aResultDocument) = 0;
-
-};
-
-#define NS_IDOCUMENTTRANSFORMER_IID \
- {0x43e5a6c6, 0xa53c, 0x4f97, \
- { 0x91, 0x79, 0x47, 0xf2, 0x46, 0xec, 0xd9, 0xd6 }}
-
-class nsIDocumentTransformer : public nsISupports
-{
-public:
-
- NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOCUMENTTRANSFORMER_IID)
-
- NS_IMETHOD SetTransformObserver(nsITransformObserver* aObserver) = 0;
- NS_IMETHOD LoadStyleSheet(nsIURI* aUri, nsILoadGroup* aLoadGroup,
- nsIPrincipal* aCallerPrincipal) = 0;
- NS_IMETHOD SetSourceContentModel(nsIDOMNode* aSource) = 0;
- NS_IMETHOD CancelLoads() = 0;
-};
-
-#endif //nsIDocumentTransformer_h__
diff --git a/content/xsl/public/nsIXSLTException.idl b/content/xsl/public/nsIXSLTException.idl
deleted file mode 100644
index 0c291d1ad8f7..000000000000
--- a/content/xsl/public/nsIXSLTException.idl
+++ /dev/null
@@ -1,53 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is TransforMiiX XSLT Processor.
- *
- * The Initial Developer of the Original Code is
- * Axel Hecht.
- * Portions created by the Initial Developer are Copyright (C) 2002
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Axel Hecht,
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-#include "nsIException.idl"
-#include "domstubs.idl"
-
-[scriptable, uuid(e06dfaea-92d5-47f7-a800-c5f5404d8771)]
-interface nsIXSLTException : nsIException {
- /**
- * The node in the stylesheet that triggered the exception.
- */
- readonly attribute nsIDOMNode styleNode;
-
- /**
- * The context node, may be null
- */
- readonly attribute nsIDOMNode sourceNode;
-};
diff --git a/content/xsl/public/nsIXSLTProcessor.idl b/content/xsl/public/nsIXSLTProcessor.idl
deleted file mode 100644
index a2f41c3e1969..000000000000
--- a/content/xsl/public/nsIXSLTProcessor.idl
+++ /dev/null
@@ -1,134 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is TransforMiiX XSLT Processor.
- *
- * The Initial Developer of the Original Code is
- * Axel Hecht.
- * Portions created by the Initial Developer are Copyright (C) 2002
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Axel Hecht,
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-#include "nsISupports.idl"
-#include "domstubs.idl"
-
-interface nsIVariant;
-
-[scriptable, uuid(4a91aeb3-4100-43ee-a21e-9866268757c5)]
-interface nsIXSLTProcessor : nsISupports
-{
- /**
- * Import the stylesheet into this XSLTProcessor for transformations.
- *
- * @param style The root-node of a XSLT stylesheet. This can be either
- * a document node or an element node. If a document node
- * then the document can contain either a XSLT stylesheet
- * or a LRE stylesheet.
- * If the argument is an element node it must be the
- * xsl:stylesheet (or xsl:transform) element of an XSLT
- * stylesheet.
- *
- * @exception nsIXSLTException
- */
- void importStylesheet(in nsIDOMNode style);
-
- /**
- * Transforms the node source applying the stylesheet given by
- * the importStylesheet() function. The owner document of the output node
- * owns the returned document fragment.
- *
- * @param source The node to be transformed
- * @param output This document is used to generate the output
- * @return DocumentFragment The result of the transformation
- *
- * @exception nsIXSLTException
- */
- nsIDOMDocumentFragment transformToFragment(in nsIDOMNode source,
- in nsIDOMDocument output);
-
- /**
- * Transforms the node source applying the stylesheet given by the
- * importStylesheet() function.
- *
- * @param source The node to be transformed
- * @return Document The result of the transformation
- *
- * @exception nsIXSLTException
- */
- nsIDOMDocument transformToDocument(in nsIDOMNode source);
-
- /**
- * Sets a parameter to be used in subsequent transformations with this
- * nsIXSLTProcessor. If the parameter doesn't exist in the stylesheet the
- * parameter will be ignored.
- *
- * @param namespaceURI The namespaceURI of the XSLT parameter
- * @param localName The local name of the XSLT parameter
- * @param value The new value of the XSLT parameter
- *
- * @exception NS_ERROR_ILLEGAL_VALUE The datatype of value is
- * not supported
- */
- void setParameter(in DOMString namespaceURI,
- in DOMString localName,
- in nsIVariant value);
-
- /**
- * Gets a parameter if previously set by setParameter. Returns null
- * otherwise.
- *
- * @param namespaceURI The namespaceURI of the XSLT parameter
- * @param localName The local name of the XSLT parameter
- * @return nsIVariant The value of the XSLT parameter
- */
- nsIVariant getParameter(in DOMString namespaceURI,
- in DOMString localName);
- /**
- * Removes a parameter, if set. This will make the processor use the
- * default-value for the parameter as specified in the stylesheet.
- *
- * @param namespaceURI The namespaceURI of the XSLT parameter
- * @param localName The local name of the XSLT parameter
- */
- void removeParameter(in DOMString namespaceURI,
- in DOMString localName);
-
- /**
- * Removes all set parameters from this nsIXSLTProcessor. This will make
- * the processor use the default-value for all parameters as specified in
- * the stylesheet.
- */
- void clearParameters();
-
- /**
- * Remove all parameters and stylesheets from this nsIXSLTProcessor.
- */
- void reset();
-};
diff --git a/content/xsl/public/nsIXSLTProcessorObsolete.idl b/content/xsl/public/nsIXSLTProcessorObsolete.idl
deleted file mode 100644
index 4ff46ae6f1b4..000000000000
--- a/content/xsl/public/nsIXSLTProcessorObsolete.idl
+++ /dev/null
@@ -1,57 +0,0 @@
-/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is mozilla.org code.
- *
- * The Initial Developer of the Original Code is
- * Netscape Communications Corporation.
- * Portions created by the Initial Developer are Copyright (C) 2002
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Nisheeth Ranjan (original author)
- * Peter Van der Beken
- *
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-#include "nsISupports.idl"
-
-interface nsIDOMNode;
-interface nsIDOMDocument;
-
-/**
- * DEPRECATED! Don't use this interface! Use nsIXSLTProcessor instead!!
- */
-
-[scriptable, uuid(3fbff728-2d20-11d3-aef3-00108300ff91)]
-interface nsIXSLTProcessorObsolete : nsISupports
-{
- void transformDocument(in nsIDOMNode aSourceDOM,
- in nsIDOMNode aStyleDOM,
- in nsIDOMDocument aOutputDOC,
- in nsISupports aObserver);
-};
diff --git a/content/xsl/tests/book.css b/content/xsl/tests/book.css
deleted file mode 100644
index 58f9d2eb5e4c..000000000000
--- a/content/xsl/tests/book.css
+++ /dev/null
@@ -1,2 +0,0 @@
-title {font-weight: bold;}
-author {font-style: italic;}
diff --git a/content/xsl/tests/book.xml b/content/xsl/tests/book.xml
deleted file mode 100644
index 64dd71ce00ac..000000000000
--- a/content/xsl/tests/book.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-Nisheeth's Document
-
\ No newline at end of file
diff --git a/content/xsl/tests/book.xsl b/content/xsl/tests/book.xsl
deleted file mode 100644
index 855535d803fb..000000000000
--- a/content/xsl/tests/book.xsl
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
- A Document
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/extensions/transformiix/.cvsignore b/extensions/transformiix/.cvsignore
deleted file mode 100644
index f3c7a7c5da68..000000000000
--- a/extensions/transformiix/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-Makefile
diff --git a/extensions/transformiix/Makefile.in b/extensions/transformiix/Makefile.in
deleted file mode 100644
index e5cb7d8f0d6d..000000000000
--- a/extensions/transformiix/Makefile.in
+++ /dev/null
@@ -1,51 +0,0 @@
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is TransforMiiX XSLT processor code.
-#
-# The Initial Developer of the Original Code is
-# Axel Hecht.
-# Portions created by the Initial Developer are Copyright (C) 2001
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-# Axel Hecht
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either the GNU General Public License Version 2 or later (the "GPL"), or
-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-DEPTH = ../..
-topsrcdir = @top_srcdir@
-srcdir = @srcdir@
-VPATH = @srcdir@
-
-include $(DEPTH)/config/autoconf.mk
-
-MODULE = transformiix
-DIRS = source
-ifndef TX_EXE
-DIRS += build resources
-endif
-
-include $(topsrcdir)/config/rules.mk
diff --git a/extensions/transformiix/build/.cvsignore b/extensions/transformiix/build/.cvsignore
deleted file mode 100644
index f3c7a7c5da68..000000000000
--- a/extensions/transformiix/build/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-Makefile
diff --git a/extensions/transformiix/build/Makefile.in b/extensions/transformiix/build/Makefile.in
deleted file mode 100644
index e949a5b62ef8..000000000000
--- a/extensions/transformiix/build/Makefile.in
+++ /dev/null
@@ -1,94 +0,0 @@
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is TransforMiiX XSLT processor code.
-#
-# The Initial Developer of the Original Code is
-# Axel Hecht.
-# Portions created by the Initial Developer are Copyright (C) 2001
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-# Axel Hecht
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either the GNU General Public License Version 2 or later (the "GPL"), or
-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-DEPTH = ../../..
-topsrcdir = @top_srcdir@
-srcdir = @srcdir@
-VPATH = @srcdir@
-
-include $(DEPTH)/config/autoconf.mk
-
-MODULE = transformiix
-LIBRARY_NAME = transformiix
-EXPORT_LIBRARY = 1
-IS_COMPONENT = 1
-MODULE_NAME = TransformiixModule
-ifneq ($(OS_ARCH),WINNT)
-SHORT_LIBNAME = t8iix
-endif
-MOZILLA_INTERNAL_API = 1
-
-PACKAGE_FILE = transformiix.pkg
-
-REQUIRES = xpcom \
- string \
- dom \
- content \
- layout \
- widget \
- necko \
- js \
- xpconnect \
- caps \
- htmlparser \
- $(NULL)
-
-
-CPPSRCS = XSLTProcessorModule.cpp
-
-SHARED_LIBRARY_LIBS = \
- $(DIST)/lib/$(LIB_PREFIX)txbase_s.$(LIB_SUFFIX) \
- $(DIST)/lib/$(LIB_PREFIX)txxml_s.$(LIB_SUFFIX) \
- $(DIST)/lib/$(LIB_PREFIX)txxmlparser_s.$(LIB_SUFFIX) \
- $(DIST)/lib/$(LIB_PREFIX)txxpath_s.$(LIB_SUFFIX) \
- $(DIST)/lib/$(LIB_PREFIX)txxslt_s.$(LIB_SUFFIX) \
- $(DIST)/lib/$(LIB_PREFIX)txxsltfunctions_s.$(LIB_SUFFIX) \
- $(DIST)/lib/$(LIB_PREFIX)txxsltutil_s.$(LIB_SUFFIX) \
- $(NULL)
-
-EXTRA_DSO_LDOPTS += \
- $(MOZ_UNICHARUTIL_LIBS) \
- $(MOZ_COMPONENT_LIBS) \
- $(MOZ_JS_LIBS) \
- $(NULL)
-
-include $(topsrcdir)/config/rules.mk
-
-INCLUDES += -I$(srcdir)/../source/xslt -I$(srcdir)/../source/base \
- -I$(srcdir)/../source/xml -I$(srcdir)/../source/xml/parser \
- -I$(srcdir)/../source/xpath -I$(srcdir)/../source/xslt/util \
- -I$(srcdir)/../source/xslt/functions
diff --git a/extensions/transformiix/build/XSLTProcessorModule.cpp b/extensions/transformiix/build/XSLTProcessorModule.cpp
deleted file mode 100755
index 2107f38c1147..000000000000
--- a/extensions/transformiix/build/XSLTProcessorModule.cpp
+++ /dev/null
@@ -1,324 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is TransforMiiX XSLT processor code.
- *
- * The Initial Developer of the Original Code is
- * Peter Van der Beken.
- * Portions created by the Initial Developer are Copyright (C) 1999
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Peter Van der Beken
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-#include "nsICategoryManager.h"
-#include "nsIDOMClassInfo.h"
-#include "nsIDOMNSXPathExpression.h"
-#include "nsIDOMXPathExpression.h"
-#include "nsIDOMXPathNSResolver.h"
-#include "nsIDOMXPathResult.h"
-#include "nsIErrorService.h"
-#include "nsIExceptionService.h"
-#include "nsIGenericFactory.h"
-#include "nsIParserService.h"
-#include "nsIScriptNameSpaceManager.h"
-#include "nsIServiceManager.h"
-#include "nsXPathEvaluator.h"
-#include "nsXPathException.h"
-#include "nsXPIDLString.h"
-#include "txAtoms.h"
-#include "txMozillaXSLTProcessor.h"
-#include "TxLog.h"
-#include "nsCRT.h"
-#include "nsIScriptSecurityManager.h"
-#include "txURIUtils.h"
-#include "txXSLTProcessor.h"
-#include "nsXPath1Scheme.h"
-
-#ifndef DISABLE_XFORMS_HOOKS
-#include "nsXFormsXPathEvaluator.h"
-#endif
-
-NS_GENERIC_FACTORY_CONSTRUCTOR(nsXPath1SchemeProcessor)
-
-/* 1c1a3c01-14f6-11d6-a7f2-ea502af815dc */
-#define TRANSFORMIIX_DOMCI_EXTENSION_CID \
-{ 0x1c1a3c01, 0x14f6, 0x11d6, {0xa7, 0xf2, 0xea, 0x50, 0x2a, 0xf8, 0x15, 0xdc} }
-
-/* {0C351177-0159-4500-86B0-A219DFDE4258} */
-#define TRANSFORMIIX_XPATH1_SCHEME_CID \
-{ 0xc351177, 0x159, 0x4500, { 0x86, 0xb0, 0xa2, 0x19, 0xdf, 0xde, 0x42, 0x58 } }
-
-#define TRANSFORMIIX_DOMCI_EXTENSION_CONTRACTID \
-"@mozilla.org/transformiix-domci-extender;1"
-
-NS_DOMCI_EXTENSION(Transformiix)
- static NS_DEFINE_CID(kXSLTProcessorCID, TRANSFORMIIX_XSLT_PROCESSOR_CID);
- NS_DOMCI_EXTENSION_ENTRY_BEGIN(XSLTProcessor)
- NS_DOMCI_EXTENSION_ENTRY_INTERFACE(nsIXSLTProcessor)
- NS_DOMCI_EXTENSION_ENTRY_INTERFACE(nsIXSLTProcessorObsolete) // XXX DEPRECATED
- NS_DOMCI_EXTENSION_ENTRY_END(XSLTProcessor, nsIXSLTProcessor, PR_TRUE,
- &kXSLTProcessorCID)
-
- static NS_DEFINE_CID(kXPathEvaluatorCID, TRANSFORMIIX_XPATH_EVALUATOR_CID);
- NS_DOMCI_EXTENSION_ENTRY_BEGIN(XPathEvaluator)
- NS_DOMCI_EXTENSION_ENTRY_INTERFACE(nsIDOMXPathEvaluator)
- NS_DOMCI_EXTENSION_ENTRY_END(XPathEvaluator, nsIDOMXPathEvaluator, PR_TRUE,
- &kXPathEvaluatorCID)
-
- NS_DOMCI_EXTENSION_ENTRY_BEGIN(XPathException)
- NS_DOMCI_EXTENSION_ENTRY_INTERFACE(nsIDOMXPathException)
- NS_DOMCI_EXTENSION_ENTRY_INTERFACE(nsIException)
- NS_DOMCI_EXTENSION_ENTRY_END(XPathException, nsIDOMXPathException, PR_TRUE,
- nsnull)
-
- NS_DOMCI_EXTENSION_ENTRY_BEGIN(XPathExpression)
- NS_DOMCI_EXTENSION_ENTRY_INTERFACE(nsIDOMXPathExpression)
- NS_DOMCI_EXTENSION_ENTRY_INTERFACE(nsIDOMNSXPathExpression)
- NS_DOMCI_EXTENSION_ENTRY_END(XPathExpression, nsIDOMXPathExpression,
- PR_TRUE, nsnull)
-
- NS_DOMCI_EXTENSION_ENTRY_BEGIN(XPathNSResolver)
- NS_DOMCI_EXTENSION_ENTRY_INTERFACE(nsIDOMXPathNSResolver)
- NS_DOMCI_EXTENSION_ENTRY_END(XPathNSResolver, nsIDOMXPathNSResolver,
- PR_TRUE, nsnull)
-
- NS_DOMCI_EXTENSION_ENTRY_BEGIN(XPathResult)
- NS_DOMCI_EXTENSION_ENTRY_INTERFACE(nsIDOMXPathResult)
- NS_DOMCI_EXTENSION_ENTRY_END(XPathResult, nsIDOMXPathResult, PR_TRUE,
- nsnull)
-NS_DOMCI_EXTENSION_END
-
-// Factory Constructor
-NS_GENERIC_FACTORY_CONSTRUCTOR(txMozillaXSLTProcessor)
-NS_GENERIC_AGGREGATED_CONSTRUCTOR_INIT(nsXPathEvaluator, Init)
-#ifndef DISABLE_XFORMS_HOOKS
-NS_GENERIC_FACTORY_CONSTRUCTOR(nsXFormsXPathEvaluator)
-#endif
-
-NS_DECL_DOM_CLASSINFO(XSLTProcessor)
-NS_DECL_DOM_CLASSINFO(XPathEvaluator)
-NS_DECL_DOM_CLASSINFO(XPathException)
-NS_DECL_DOM_CLASSINFO(XPathExpression)
-NS_DECL_DOM_CLASSINFO(XPathNSResolver)
-NS_DECL_DOM_CLASSINFO(XPathResult)
-
-static NS_METHOD
-RegisterTransformiix(nsIComponentManager *aCompMgr,
- nsIFile *aPath,
- const char *registryLocation,
- const char *componentType,
- const nsModuleComponentInfo *info)
-{
- nsresult rv = NS_OK;
-
- nsCOMPtr catman =
- do_GetService(NS_CATEGORYMANAGER_CONTRACTID, &rv);
-
- if (NS_FAILED(rv))
- return rv;
-
- nsXPIDLCString previous;
- rv = catman->AddCategoryEntry(JAVASCRIPT_DOM_CLASS,
- "XSLTProcessor",
- TRANSFORMIIX_DOMCI_EXTENSION_CONTRACTID,
- PR_TRUE, PR_TRUE, getter_Copies(previous));
- NS_ENSURE_SUCCESS(rv, rv);
-
- rv = catman->AddCategoryEntry(JAVASCRIPT_DOM_CLASS,
- "XPathEvaluator",
- TRANSFORMIIX_DOMCI_EXTENSION_CONTRACTID,
- PR_TRUE, PR_TRUE, getter_Copies(previous));
- NS_ENSURE_SUCCESS(rv, rv);
-
- rv = catman->AddCategoryEntry(JAVASCRIPT_DOM_CLASS,
- "XPathException",
- TRANSFORMIIX_DOMCI_EXTENSION_CONTRACTID,
- PR_TRUE, PR_TRUE, getter_Copies(previous));
- NS_ENSURE_SUCCESS(rv, rv);
-
- rv = catman->AddCategoryEntry(JAVASCRIPT_DOM_CLASS,
- "XPathExpression",
- TRANSFORMIIX_DOMCI_EXTENSION_CONTRACTID,
- PR_TRUE, PR_TRUE, getter_Copies(previous));
- NS_ENSURE_SUCCESS(rv, rv);
-
- rv = catman->AddCategoryEntry(JAVASCRIPT_DOM_CLASS,
- "XPathNSResolver",
- TRANSFORMIIX_DOMCI_EXTENSION_CONTRACTID,
- PR_TRUE, PR_TRUE, getter_Copies(previous));
- NS_ENSURE_SUCCESS(rv, rv);
-
- rv = catman->AddCategoryEntry(JAVASCRIPT_DOM_CLASS,
- "XPathResult",
- TRANSFORMIIX_DOMCI_EXTENSION_CONTRACTID,
- PR_TRUE, PR_TRUE, getter_Copies(previous));
- NS_ENSURE_SUCCESS(rv, rv);
-
- char* iidString = NS_GET_IID(nsIXSLTProcessorObsolete).ToString();
- if (!iidString)
- return NS_ERROR_OUT_OF_MEMORY;
- rv = catman->AddCategoryEntry(JAVASCRIPT_DOM_INTERFACE,
- "nsIXSLTProcessorObsolete",
- iidString,
- PR_TRUE, PR_TRUE, getter_Copies(previous));
- nsCRT::free(iidString);
- NS_ENSURE_SUCCESS(rv, rv);
-
- iidString = NS_GET_IID(nsIXSLTProcessor).ToString();
- if (!iidString)
- return NS_ERROR_OUT_OF_MEMORY;
- rv = catman->AddCategoryEntry(JAVASCRIPT_DOM_INTERFACE,
- "nsIXSLTProcessor",
- iidString,
- PR_TRUE, PR_TRUE, getter_Copies(previous));
- nsCRT::free(iidString);
-
- return rv;
-}
-
-static PRBool gInitialized = PR_FALSE;
-static nsIExceptionProvider *gXPathExceptionProvider = 0;
-nsINameSpaceManager *gTxNameSpaceManager = 0;
-nsIParserService *gTxParserService = 0;
-
-// Perform our one-time intialization for this module
-PR_STATIC_CALLBACK(nsresult)
-Initialize(nsIModule* aSelf)
-{
- NS_PRECONDITION(!gInitialized, "module already initialized");
- if (gInitialized)
- return NS_OK;
-
- gInitialized = PR_TRUE;
-
- gXPathExceptionProvider = new nsXPathExceptionProvider();
- if (!gXPathExceptionProvider)
- return NS_ERROR_OUT_OF_MEMORY;
- NS_ADDREF(gXPathExceptionProvider);
- nsCOMPtr xs =
- do_GetService(NS_EXCEPTIONSERVICE_CONTRACTID);
- if (xs)
- xs->RegisterExceptionProvider(gXPathExceptionProvider,
- NS_ERROR_MODULE_DOM_XPATH);
-
- if (!txXSLTProcessor::init()) {
- return NS_ERROR_OUT_OF_MEMORY;
- }
-
- nsresult rv = CallGetService(NS_SCRIPTSECURITYMANAGER_CONTRACTID,
- &gTxSecurityManager);
- if (NS_FAILED(rv)) {
- gTxSecurityManager = nsnull;
- return rv;
- }
-
- rv = CallGetService(NS_NAMESPACEMANAGER_CONTRACTID, &gTxNameSpaceManager);
- if (NS_FAILED(rv)) {
- gTxNameSpaceManager = nsnull;
- return rv;
- }
-
- rv = CallGetService("@mozilla.org/parser/parser-service;1",
- &gTxParserService);
- if (NS_FAILED(rv)) {
- gTxParserService = nsnull;
- return rv;
- }
-
- nsCOMPtr errorService =
- do_GetService(NS_ERRORSERVICE_CONTRACTID);
- if (errorService) {
- errorService->RegisterErrorStringBundle(NS_ERROR_MODULE_XSLT,
- XSLT_MSGS_URL);
- }
-
- return NS_OK;
-}
-
-// Shutdown this module, releasing all of the module resources
-PR_STATIC_CALLBACK(void)
-Shutdown(nsIModule* aSelf)
-{
- NS_PRECONDITION(gInitialized, "module not initialized");
- if (!gInitialized)
- return;
-
- gInitialized = PR_FALSE;
- if (gXPathExceptionProvider) {
- nsCOMPtr xs =
- do_GetService(NS_EXCEPTIONSERVICE_CONTRACTID);
- if (xs)
- xs->UnregisterExceptionProvider(gXPathExceptionProvider,
- NS_ERROR_MODULE_DOM_XPATH);
- NS_RELEASE(gXPathExceptionProvider);
- }
-
- NS_IF_RELEASE(NS_CLASSINFO_NAME(XSLTProcessor));
- NS_IF_RELEASE(NS_CLASSINFO_NAME(XPathEvaluator));
- NS_IF_RELEASE(NS_CLASSINFO_NAME(XPathException));
- NS_IF_RELEASE(NS_CLASSINFO_NAME(XPathExpression));
- NS_IF_RELEASE(NS_CLASSINFO_NAME(XPathNSResolver));
- NS_IF_RELEASE(NS_CLASSINFO_NAME(XPathResult));
-
- txXSLTProcessor::shutdown();
-
- NS_IF_RELEASE(gTxSecurityManager);
- NS_IF_RELEASE(gTxNameSpaceManager);
- NS_IF_RELEASE(gTxParserService);
-}
-
-// Component Table
-static const nsModuleComponentInfo gComponents[] = {
- { "XSLTProcessor",
- TRANSFORMIIX_XSLT_PROCESSOR_CID,
- TRANSFORMIIX_XSLT_PROCESSOR_CONTRACTID,
- txMozillaXSLTProcessorConstructor,
- RegisterTransformiix },
- { "XPathEvaluator",
- TRANSFORMIIX_XPATH_EVALUATOR_CID,
- NS_XPATH_EVALUATOR_CONTRACTID,
- nsXPathEvaluatorConstructor },
-#ifndef DISABLE_XFORMS_HOOKS
- { "XFormsXPathEvaluator",
- TRANSFORMIIX_XFORMS_XPATH_EVALUATOR_CID,
- NS_XFORMS_XPATH_EVALUATOR_CONTRACTID,
- nsXFormsXPathEvaluatorConstructor },
-#endif
- { "Transformiix DOMCI Extender",
- TRANSFORMIIX_DOMCI_EXTENSION_CID,
- TRANSFORMIIX_DOMCI_EXTENSION_CONTRACTID,
- NS_DOMCI_EXTENSION_CONSTRUCTOR(Transformiix) },
- { "XPath1 XPointer Scheme Processor",
- TRANSFORMIIX_XPATH1_SCHEME_CID,
- NS_XPOINTER_SCHEME_PROCESSOR_BASE "xpath1",
- nsXPath1SchemeProcessorConstructor }
-};
-
-NS_IMPL_NSGETMODULE_WITH_CTOR_DTOR(TransformiixModule, gComponents,
- Initialize, Shutdown)
diff --git a/extensions/transformiix/build/transformiix.jst b/extensions/transformiix/build/transformiix.jst
deleted file mode 100644
index a17ac1595080..000000000000
--- a/extensions/transformiix/build/transformiix.jst
+++ /dev/null
@@ -1,30 +0,0 @@
-var err = initInstall("Transformiix", "Transformiix", $Version$);
-logComment("initInstall: " + err);
-
-var fProgram = getFolder("Program");
-logComment("fProgram: " + fProgram);
-
-if (verifyDiskSpace(fProgram, $SpaceRequired$))
-{
- err = addDirectory("Transformiix",
- $Version$,
- "bin",
- fProgram,
- "",
- true );
-
- logComment("addDirectory() returned: " + err);
-
- if (err==SUCCESS)
- {
- err = performInstall();
- logComment("performInstall() returned: " + err);
- }
- else
- {
- cancelInstall(err);
- logComment("cancelInstall() due to error: " + err);
- }
-}
-else
- cancelInstall(INSUFFICIENT_DISK_SPACE);
diff --git a/extensions/transformiix/build/transformiix.pkg b/extensions/transformiix/build/transformiix.pkg
deleted file mode 100644
index cd9fcae8999f..000000000000
--- a/extensions/transformiix/build/transformiix.pkg
+++ /dev/null
@@ -1,12 +0,0 @@
-# right now this only packages the mozilla component
-# we can think about standalone too
-
-# xxxbsmedberg: should this move to the GRE?
-# currently transformiix is not part of the default firebird
-# build, but that can be controlled by --enable-extensions
-[xpfe-browser browser]
-#if SHARED_LIBRARY
-dist/bin/components/@SHARED_LIBRARY@
-#else
-!staticcomp @LIBRARY@ @MODULE_NAME@
-#endif
diff --git a/extensions/transformiix/docs/changes.txt b/extensions/transformiix/docs/changes.txt
deleted file mode 100755
index 423aba9676d6..000000000000
--- a/extensions/transformiix/docs/changes.txt
+++ /dev/null
@@ -1,260 +0,0 @@
-***** BEGIN LICENSE BLOCK *****
-Version: MPL 1.1/GPL 2.0/LGPL 2.1
-
-The contents of this file are subject to the Mozilla Public License Version
-1.1 (the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-http://www.mozilla.org/MPL/
-
-Software distributed under the License is distributed on an "AS IS" basis,
-WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-for the specific language governing rights and limitations under the
-License.
-
-The Original Code is TransforMiiX.
-
-The Initial Developer of the Original Code is
-The MITRE Corporation, Keith Visco, et al.
-Portions created by the Initial Developer are Copyright (C) 1999-2000
-the Initial Developer. All Rights Reserved.
-
-Contributor(s):
-
-Alternatively, the contents of this file may be used under the terms of
-either the GNU General Public License Version 2 or later (the "GPL"), or
-the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-in which case the provisions of the GPL or the LGPL are applicable instead
-of those above. If you wish to allow use of your version of this file only
-under the terms of either the GPL or the LGPL, and not to allow others to
-use your version of this file under the terms of the MPL, indicate your
-decision by deleting the provisions above and replace them with the notice
-and other provisions required by the GPL or the LGPL. If you do not delete
-the provisions above, a recipient may use your version of this file under
-the terms of any one of the MPL, the GPL or the LGPL.
-
-***** END LICENSE BLOCK *****
-
-Note: The changes listed here mainly reflect the core XSLT processor and
- the standalone version.
-
-Build 20000906
-
--- Fixed UTF8 bug
- - reported by Steve Tinney (stinney@sas.upenn.edu)
-
--- Updated Expat for standalone version
-
-Build 20000725
-
--- Windows Makefiles are up to date to create Mozilla module
- - thanx to Arthur Barrett and Justin Smith
-
-Build 20000722
-
--- Fixed leading + trailing whitspace when printing comments
- - reported by Jeff Bailey
-
--- Fixed bug in ExprLexer caused by a previous patch
- - The prevToken was being set to NULL, in cases when
- it shouldn't have been
- - discovered when looking for an error reported by
- Bernhard Zwischenbrugger
-
-Build 20000618
-
--- Added changes from Olivier Gerardin for improved
- handling of template parameters
-
-Build 20000523
-
--- Added fix from Marc Schefer regarding OR expressions
- - If the left hand expression was false...the right
- hand expression was not evaluated (which should
- only happen if the expression is an AND expr).
-
--- Added support for document() function
- - implemented by Olivier Gerardin
- - The second argument to the function is not yet supported
-
--- Added support for lang() function
- - implemented by Marina Mechtcherikova
-
--- Fixed bug with doing xsl:copy-of on a document node.
- - reported by Olivier Gerardin
-
-
-Build 20000420
-
--- Fixed document base issue with transfromiix.cpp (Nathan)
- - When an XSLT stylesheet is specified on the command line
- the document base was still defaulting to the XML document,
- instead of the stylesheet
-
--- Fixed bug in namespace-uri() function [NodeSetFunctionCall.cpp] - Marina
- - If an expression was passed as an argument to the function,
- which evaluated to an empty NodeSet, the context node was being
- used, which is incorrect. We now just return an empty string.
-
--- Fixed bug in PathExpr::matches (Marina)
- - expressions such as "foo//bar" would not always match
- properly if more than one node existed in the final
- set of "matching context nodes" (so basically if foo
- was not the root element).
-
-
-Build 20000419
-
--- Added the generate-id function
--- Added XPath Extension Function support
-
-Build 20000413
-
--- Added some bug fixes from Marina
- -- fixed parsing of multiple predicates
- -- added support to handle attribute-set recursion
- -- added appropriate calls to handle use-attribute-sets on xsl:copy
-
-Build 20000412
-
--- Fixed the following Axes names in Names.cpp so that
- the are compatible with the XSLT 1.0 recommendation (Marina)
- -- FOLLOWING_SIBLING_AXIS - removed the trailing s
- -- PRECEDING_SIBLING_AXIS - removed the trailing s
-
--- Added support for xsl:sort (kvisco)
- -- simple sorting is working...documentation to follow
--- Added StringComparator and DefaultStringComparator
- -- we need some more comparators for I18N support
--- Did some directory structure changes
- - source/xsl is now source/xslt
- - source/xsl/expr is now source/xpath
--- Changed xslt/XSLProcessor.* to XSLTProcessor.*
-
--- Incorporated some changes from Olivier Gerardin for the Expat parser
-
-Build 20000331
-
--- Fixed a memory leak with translate() function (kvisco)
- -- StringFunctionCall.cpp
--- Updated the necessary source files to support the changes to
- the String class (kvisco)
--- Overloaded String::toCharArray to automatically create the
- character array (tomk)
--- Changed String::toChar to String::toCharArray (tomk)
-
-
-Build 20000327
--- Fixed "dot" bug in CNAME parsing (ExprLexer.cpp) reported by Nathan Pride
-
-Build 20000326
--- Added Peter Van der Beken's changes to net/URIUtils for integration
- within Mozilla
-
--- Added Marina Mechtcheriakova's changes to xml/parser/XMLParser.cpp to fix
- a Unicode bug in ::startElement. Instead of improperly casting char*
- as DOM_CHAR*, the proper String constructor, String(char*) is used
-
-Build 20000322
--- Added Unicode bug fix from Lidong
-
-Build 20000318
--- Added Olivier's implementation of the XPath Number functions
--- Added missing prototype to TxString.h (Peter Van der Beken)
-
-Build 20000222
--- Added Attribute parent mapping since DOM 1.0 doesn't support it
--- Added default sorting of NodeSet by DocumentOrder
- -- yes this is a hint that xsl:sort is will be available soon
-
-Build 20000218
--- Fixed bug reported by Thiery Le Bouil, xsl:param was getting
- processed, and then treated as a literal element
-
-Build 20000217
-
--- Changed StringList#iterator to return a pointer instead of a reference
--- Added patches from Eric Du for FreeBSD, sorry for the delay in committing these
-
-Build 20000216
-
--- Fixed bug with using wildcards directly after the parent operator, such as "/*"
--- Fixed bug with PredicateList#isEmpty which was returning the opposite of the
- expected value.
- -- this also caused default priorities to be incorrectly calculated.
-
-Build 19991110
--- fixed bug with PathExpr and LocationStep with respect
- to the ::match method
- -- problem reported by Oblix
--- Added support for xsl:include (only file URLs will work)
--- fixed the built-in xsl:apply-templates rule to handle text nodes
--- moved code base to Linux platform for default development environment
-
-Build 19990818
--- Added very simple support for xsl:number
--- Added support for xsl:with-param
--- Added more XPath support
- -- added operator precedence
- -- added and, or, <,<=,>=,>
-
-
-Build 19990816
--- Changed focus from 19990709 to 19990813 XSLT Working Draft
--- Made some changes for Borland C compatibility
- -- submitted by Stefan Heesch
--- added xsl:copy-of
--- fixed a bug with DOM Element, to allow DocumentFragments as children
-
-Build 19990813
--- added new example: identity.xml/xsl which tests:
- -- xsl:copy, node()
--- added comment(), pi(), and node()
- -- XMLParser still needs to handle reading in XML comments
--- added xsl:copy
--- added xsl:processing-instruction
--- added xsl:comment
-
-Build 19990812
--- Created base/Double.cpp (primitives.h)
- -- Based off some code submitted by Larry Fitzpatrick, changed Name from
- FloatPort to Double, I wanted to add more Double related methods
- -- changed the NaN() method to just a static double
- -- All expr classes now use Double::isNaN() and Double::NaN
- -- I added Double::isInfinite, Double::POSITIVE_INFINITY and
- Double::NEGATIVE_INFINITY
--- Added base/Integer.cpp back into Makefile
- -- added Integer::toString(int,String);
- -- changed implementation
--- Moved code to convert from Strings to doubles and from doubles to Strings
- into the Double class
--- removed testdom.cpp from xml/dom
--- Added more changes from Larry Fitzpatrick and Michele Lee for
- porting issues
- -- added appropriate return values for:
- -- xml/dom/Element.cpp
- -- xml/dom/NodeDefinition.cpp
- -- base/StringList.cpp
- -- xsl/expr/PredicateList.cpp
--- Added remaining String Function Calls
- -- substring(), substring-after(), substring-before(), translate(),
- string-length()
-
-
-Build 19990810
--- Added most of the Whitespace handling
--- Added ErrorObserver interface
- -- ErrorObserver is now used throughout most of the code
--- Added SimpleErrorObserver implementation of ErrorObserver
--- Moved main() method from XSLProcessor.cpp to tranformiix.cpp
--- Added the following XPath functions:
- -- local-part(), name(), namespace()
- -- see functions.xml/functions.xsl for available functions
-
-Build 19990806
--- Incoporated Changes From Larry Fitzpatrick
--- Added more XPath functions
- -- last(), count(), string(), contains(), starts-with(), concat()
- -- see functions.xml/functions.xsl for available functions
--- Added xsl:text support
-
-
diff --git a/extensions/transformiix/docs/compiled-stylesheets.html b/extensions/transformiix/docs/compiled-stylesheets.html
deleted file mode 100644
index 79ca327c95e4..000000000000
--- a/extensions/transformiix/docs/compiled-stylesheets.html
+++ /dev/null
@@ -1,254 +0,0 @@
-
-
- Compiled Stylesheets
-
-
-
-
-
Compiled Stylesheets
-
-
Overview
-
- There are 5 main entities: Stylesheet-loaders, stylesheet-compiler,
- stylesheet, execution-state and processor. The normal usecase is:
-
-
Set up a stylesheet-loader to read a resource.
-
Let it feed events to the stylesheet-compiler.
-
The compiler creates a stylesheet.
-
Init an execution-state with stylesheet, initial node, global
- parameters and an outputhandler factory.
-
Start the processor.
-
-
-
-
Main classes
-
txStylesheet
-
Description:
-
- This class represents a compiled stylesheet. If the stylesheet
- contains imported and/or included stylesheets they are all compiled
- into a single txStylesheet-object.
-
-
-
- The stylesheet contains functions for getting the different top-level
- entities that exist in a stylesheet, such as attribute-sets, templates
- and global variables. The txStylesheet owns all objects
- in the stylesheet, including the instructions in templates and
- variables.
-
-
-
- A single txStylesheet-object can be used for multiple
- transformations, even running concurrently. Once a stylesheet is
- compiled it is never changed, nor does it carry any state.
-
- This class gets "events" from a stylesheet loader and creates a
- compiled stylesheet. The class calls back through a callback interface
- to the stylesheet-loader to load included and imported stylesheets.
-
-
-
- The output from the txStylesheetCompiler is a
- ready-to-use txStylesheet object.
-
-
-
- To load included and imported stylesheets the
- txStylesheetCompiler calls the loader through a
- txIIncludeLoaderCallback interface suppling the url to
- load, and the txStylesheetCompiler-object that the loader
- should use to notify its events to. There is a separate
- txStylesheetCompiler-object for each sub-stylesheet,
- however only the initial txStylesheetCompiler will create
- a txStylesheet-object.
-
-
-
- Do we want to refcount txIIncludeLoaderCallback? It might otherwise
- be hairy to deal with loads being cancled or failing.
-
- To process the elements and textnodes in the stylesheet the
- txStylesheetCompiler calls different
- stylesheet-compile-handlers. Which handler to call is decided by two
- things:
-
-
The "mode" of the compiler, i.e. is it processing a top-level
- element? Is it processing the contents of a template? Is it
- processing the children of a xsl:attribute-set element?
-
The name and namespace of the element. (Of course, this doesn't
- apply to textnodes).
-
- The handlers are global static C-style functions. The handlers
- processes the elements and textnodes in the stylesheet and
- creates instructions and toplevel-items.
-
-
-
- To find which handler to call the compiler uses
- txHandlerTable-objects. The txHandlerTable
- contains a list of these stylesheet-compile-handlers keyed on
- element-name. It also contains a handler for text and a handler for
- LRE-elements.
-
-
-
- There are different txHandlerTable-objects for different
- "modes" of the compiler. There is one for handling top-level elements,
- one for handling template-parameters, one for handling the contents of
- a xsl:attribte-set element, one for handling the contents of
- unsupported extension-elements etc. The
- txStylesheetCompiler always has a current
- txHandlerTable which is used to find the handler to call.
-
-
-
- The txHandlerTables are initialized from static structs.
- This is to avoid having large pieces of code containing very similar
- code.
-
- Do we want to rename this txStylesheetCompilerInternal?
-
-
Description:
-
- This class manages the internal state of the
- txStylesheetCompiler. The reason that this is a separate
- class is so that the txStylesheetCompiler can keep a clean
- interface towards the stylesheet-loaders.
-
-
-
- The txStylesheetCompilerState-class is used both by the
- txStylesheetCompiler-class and by the
- stylesheet-compile-handlers.
-
-
-
- The class has three main purposes:
-
-
- Keep track of the current context. Such as:
-
-
Namespace mappings.
-
Base-URI.
-
Extension-element namespaces.
-
Whitespace preservation mode.
-
-
-
- Store the state that the stylesheet-compile-handlers need. For
- example the current xsl:for-each loop to add xsl:sort-elements to.
-
-
- Keep track of the current txHandlerTable, so that the
- right stylesheet-compile-handler is called for elements and text.
-
-
-
-
-
- This is the class that implements txIParseContext during
- all stylesheet-compilation.
-
- This class manages all state during the execution of a stylesheet.
- This includes
-
-
The current txIEvalContext.
-
The next txInstruction to be executed.
-
Variables that are in scope.
-
Values of global variables and keys.
-
Current result-handler.
-
Stylesheet being executed.
-
-
-
-
- The txExecutionState also acts as a general-purpose stack
- that instructions can use to communicate between each other. The class
- is the owner of this data and will delete it as appropriate if the
- execution aborts.
-
All namespace aliases are merged wit import precedence
- into an array of all namespace ids, which is used to map the
- LRE namespace in the source to the LRE namespace in the
- result. Non-aliased namespaces just have their namespace id
- in that array.
The XSLT specification describes XSLT in terms of the XPath
- datamodel, something pretty close to a DOM. So we talk about the
- input in terms of DOM elements.
-
The DOM nodes in a stylesheet get compiled into either
-
-
nothing :-) (stuff like xsl:output),
-
xslTopElements or
-
xslInstructions.
-
- The xslInstructions fall into classes,
-
-
simple instructions,
-
utilities (no-op, variable-pop, push-handler),
-
branching instructions,
-
instructions changing the result handler and
-
instructions calling into different
- xslTopElements.
- This says pretty much all about simple and utility instructions.
-
-
Branching instructions
-
see xsl:choose. The trailing single
- no-op helps in rejoining the paths, as that no-op can be created
- before the paths and thus easily appended to each end of the
- paths.
-
Instructions that change the output handler
-
These instructions (attribute, comment, pi creating text
- handlers, variable possibly creating a rtf handler) get created
- by inserting a push-handler-instruction into the workflow for
- the start of the element and the XSLT instruction at the
- end. The handler instruction should keep a non-owning reference
- to the push-handler-instruction to get the result and restore
- the previous handler.
set up the params, if any, evaluate the select, create a
- evalContext and push it on the evalContextStack. push the next
- instruction to the instruction return stack. trigger the new
- context (how do we do this?).
attribute sets are merged,
- we should pay attention that multiple stylesheet compilers
- don't mix their content. Order of attributes is relevant, IMHO.
-
-
members:
-
-
-
name
qname
-
use-attribute-sets
list of qnames
-
-
-
do()
-
merging and stuff needed in the global stylesheet object,
- (NOT part of import frame).
push the next instruction onto the instruction return
- stack, lookup the template and set the instruction pointer
- to the called template. Setup the params, if there are. This
- does not change the evalContextStack.
-
Can we cache this? What happens if a
- added stylesheet between two transforms changes which
- stylesheet this qname resolves to?
- This is a branching instruction with one exit point and several
- conditional entry points (xsl:when) and one default
- (xsl:otherwise). The conditional entry points start with a
- conditionalGotoInstrunction, which jumps to the next entry point
- if they don't succeed. Each of them ends with a gotoInstruction
- that jumps to the end of the xsl:choose (for simplicity in the
- compilation phase, this might be a noopInstruction). The
- xsl:otherwise is just the instructions list of the
- xsl:otherwise, linked to the ending noopInstruction. Note that
- this construct a single instruction list for the complete
- xsl:choose, as the mNext of the final gotos is the next entry
- point. This mNext is only used for iterations, though.
-
the value of the result is added to the result tree. If
- the result is a RTF, the RTF is just fed into the output
- handler, if the result is not a nodeset, it is converted
- into a string and ::characters is called on the output
- handler. For nodesets, the result is a list of source nodes
- which have to be interpreted, for example thru the
- stylesheet compiler. This has be xslt-blind, that is, xslt
- elements in the source must be treated as LRE elements and
- copied into the result, instead of generating XSLT
- instructions. is this all?
xsl:element has attribute-sets, todo. Other than that, this just
- generates an element. Note that the attributes of this
- element have to be discarded, if the name AVT does not
- evaluate to a QName.
- Much of the original TransforMiiX code was ported
- from XSL:P,
- an open source XSLT processor. Thanks to all the contributors of
- that project. TransforMiiX is now a whole new beast...thanks to all
- of the hard work of those listed below.
-
-
-Core Developers
-The following people have contributed substantial time and
-effort to the development.
-
- Larry was the first contributor to the project. He sent
- a number of C++ porting issues with Visual C++,
- and has influenced some of the early design.
-
- Implemented the XPath Number functions, the document()
- function, as well as some other changes/improvements.
-
- (see changes.txt for more info)
-
-
- This document outlines optimizations that we can perform on
- stylesheets after a stylesheet is compiled, but before it is executed.
-
-
-
-
Create AVTs out of xsl:attributes
-
- People often write stylesheets like
-
-<LRE>
- <xsl:attribute name="foo">
- text here
- <xsl:value-of select="@bar"/>
- </xsl:attribute>
-
- This could be optimized into an AVT like
-
-<LRE foo="text here{@foo}">
-
- This can be done both in templates and in attribute-sets
-
-
-
-
Investigate how RTFs are being used
-
- When only the string-value or double-value of an RTF is being used it
- is unneccesary to create an entire RTF. Instead we could set up a
- string-handler and use the resulting string.
-
-
-
- Once we have a node-set() function we could also have a special
- handler that creates that resulting nodeset rather then
- whatever-we-create-once-we-have-real-RTFs. That handler would be set
- up when we can determain that a RTF is used only as argument to the
- node-set() function.
-
-
-
- In cases where an RTF is used as parameter in a call to another
- template we could do further analysis to see how that parameter is
- used in that template. Either by first analyzing how all template
- parameters are used in all templates, or by recursivly searching
- the called template when we find that a RTF is used as an argument.
-
-
-
- We will still need a catch-all RTF implementation that is used when
- we can't determin how a variable is used, or when it is used in
- multiple different ways.
-
-
-
-
Inline/calculate constant variables
-
- Variables that does not have a value that depends on the source
- document can be inlined into the stylesheet. The value of these
- variables could also be calculated before the transformation is
- started.
-
-
-
- This can be combined with the previous optimization of RTFs so that
- stylesheets like
-
- This can be done for both global and local variables.
-
-
-
-
Resolve cross-references
-
- Cross-references to named templates, attribute-sets and template-modes
- can be resolved before the stylesheet is executed. That way we don't
- have to search for the template/attribute-set with a certain name, or
- the group of templates for a certain mode.
-
-
-
- Note that for apply-imports we won't always know at compile-time which
- mode to seach for templates in.
-
-
-
-
Resolve variables by index rather then expanded name
-
- Rather then seaching for variables with a certain name at runtime
- we could remove names for variables/parameters entierly and put all
- variables in an array (possibly a separate array for global variables)
- and then let variable-references in expressions just point to an index
- in that array.
-
-
-
-
Calculate and use constant AVTs
-
- A lot of instruction-elements uses AVTs that often are constants in
- stylesheets, such as the data-type parameter to xsl:sort. For xsl:sort
- we could pre-create a finished nodesorter if all AVTs in all
- xsl:sort-elements are constant.
-
-
-
- Another example is xsl:element and xsl:attribute where we could use
- LRE-instructions if the AVTs are constant. For xsl:number we could
- create prepare the list of txFormattedCounters.
-
-
-
-
Reuse parameter-map if exact same parameters are used
-
- If a template calls another template and uses the exact same
- parameters we can reuse the same parameter-map.
-
- We have to watch out for default parameter-values as well as
- parameters being specified by the caller of this template but not used
- by this template. I.e. if the parameter "hello" is specified when
- calling the above template.
-
-
-
- All this might make this optimization useless.
-
-
-
Combind consecutive LRE items into a txResultBuffer
-
- When a template contains several consecutive "LRE instructions" such
- as LRE-elements, LRE-attributes and textnodes we can replace their
- instructions with a special instruction that contains a
- txResultBuffer. This buffer would then be flushed when
- the instruction is executed. This can of course not be done for
- LRE-attributes that contains AVTs. Even PI and comment-instructions
- can be included in this buffer if their contents is strictly literal.
-
- Would result in the first txResultBuffer to contain the
- following transactions: eStartElementTransaction,
- eStartElementTransaction, eAttributeTransaction, eCharacterTransaction.
-
-
-
- There is probably a lower limit to when it's worth the effort to
- replace the normal instructions with the buffer-instruction. A single
- "LRE instruction" is probobably better kept as a normal instruction.
-
- Speed up retrieval of orderInfo objects by storing them in resp.
- node instead of in a hash.
-
-
-
Details
-
- We currently spend a GREAT deal of time looking through a
- DOMHelper::orders hash looking for the orderInfo object for a
- specific node. If we moved the ownership and retrieval of these
- orderInfo objects to the Node class instead we will probably save
- a lot of time. I.E. instead of calling
- myDOMHelper->getDocumentOrder(node) you call
- node->getDocumentOrder() which then returns the
- orderInfo object.
-
-
-
- It would also be nice if we at the same time fixed some bugs wrt the
- orderInfo objects and the function that sorts nodes using them.
-
- Speed up document-order sorting by having the XPath engine always
- return document-ordered nodesets.
-
-
-
Details
-
- Currently the nodesets returned from the XPath engine are totally
- unordered (or rather, have undefined order) which forces the XSLT
- code to sort the nodesets. This is quite expensive since it requires
- us to generate orderInfo objects for every node. Considering that
- many XPath classes actually returns nodesets that are already
- ordered in document order (or reversed document order) this seems a
- bit unnecessary.
-
-
-
- However we still need to handle the classes that don't by default
- return document-ordered nodesets. A good example of this is the id()
- function. For example "id('foo bar')" produces two nodes which the
- id-function has no idea how they relate in terms of document order.
- Another example is "foo | bar", where the UnionExpr object gets two
- nodesets (ordered in document order since all XPath classes should
- now return ordered nodesets) and need to merge them into a single
- ordered nodeset.
-
- Refcount ExprResults to reduce the number of objects
- created during evaluation.
-
-
-
Details
-
- Right now every subexpression creates a new object during evaluation.
- If we refcounted objects we would be often be able to reuse the same
- objects across multiple evaluations. We should also keep global
- result-objects for true and false, that way expressions that return
- bool-values would never have to create any objects.
-
-
-
- This does however require that the returned objects arn't modified
- since they might be used elsewhere. This is not a big problem in the
- current code where we pretty much only modify nodesets in a couple
- of places.
-
-
-
- To be able to reuse objects across subexpressions we chould have an
- ExprResult::ensureModifyable-function. This would
- return the same object if the refcount is 1, and create a new object
- to return otherwise. This is especially usefull for nodesets which
- would be mostly used by a single object at a time. But it could be
- just as usefull for other types, though then we might need a
- ExprResult::ensureModifyableOfType(ExprResult::ResultType)-function
- that only returned itself if it has a refcount of 1 and is of the
- requsted type.
-
-
-
Stage 4
-
-
Summary
-
- Speed up evaluation of XPath expressions by using specialized
- classes for common optimizable expressions.
-
-
-
Details
-
- Some common expressions are possible to execute faster if we have
- classes that are specialized for them. For example the expression
- "@foo" can be evaluated by simply calling |context->getAttributeNode
- ("foo")|, instead we now walk all attributes of the context node and
- filter each node using a AttributeExpr. Below is a list of
- expressions that I can think of that are optimizable, but there are
- probably more.
-
-
-
- One thing that we IMHO should keep in mind is to only put effort on
- optimising expressions that are actually used in realworld
- stylesheets. For example "foo | foo", "foo | bar[0]" and
- "foo[position()]" can all be optimised to "foo", but since noone
- should be so stupid as to write such an expression we shouldn't
- spend time or codesize on that. Of course we should return the
- correct result according to spec for those expressions, we just
- shouldn't bother with evaluating them fast.
-
-
-
-
- Apart from finding expression that we can evaluate more cleverly
- there is also the problem of how and where do we create these
- optimised objects instead of the unoptimised, general ones we create
- now. And what are these optimised classes, should they be normal
- Expr classes or should they be something else? We could also add
- "optional" methods to Expr which have default implementations in
- Expr, for example a ::isContextSensitive() which returns MB_TRUE
- unless overridden. However we probably can't answer all this until
- we know which expressions we want to optimised and how we want to
- optimise them.
-
- Steps along the attribute axis which doesn't contain wildcards
-
Example:
- @foo
-
What we do today:
- Walk through the attributes NamedNodeMap and filter each node using a
- NameTest.
-
What we could do:
- Call getAttributeNode (or actually getAttributeNodeNS) on the
- contextnode and return a nodeset containing just the returned node, or
- an empty nodeset if NULL is returned.
-
-
-
- Union expressions where each expression consists of a LocationStep and
- all LocationSteps have the same axis. None of the LocationSteps have any
- predicates (well, this could be relaxed a bit)
-
Example:
- foo | bar | baz
-
What we do today:
- Evaluate each LocationStep separately and thus walk the same path through
- the document each time. During the walking the NodeTest is applied to
- filter out the correct nodes. The resulting nodesets are then merged and
- thus we generate orderInfo objects for most nodes.
-
What we could do:
- Have just one LocationStep object which contains a NodeTest that is a
- "UnionNodeTest" which contains a list of NodeTests. The UnionNodeTest
- then tests each NodeTest until it finds one that returns true. If none
- do then false is returned.
- This results in just one walk along the axis and no need to generate any
- orderInfo objects.
-
-
-
- Steps where the predicates isn't context-node-list sensitive.
-
Example:
- foo[@bar]
-
What we do today:
- Build a nodeset of all nodes that match 'foo' and then filter the
- nodeset through the predicate and thus do some node shuffling.
-
What we could do:
- Create a "PredicatedNodeTest" that contains a NodeTest and a list of
- predicates. The PredicatedNodeTest returns true if both the NodeTest
- returns true and all predicats evaluate to true. Then let the
- LocationStep have that PredicateNodeTest as NodeTest and no predicates.
- This will save us the predicate filtering and thus some node shuffling.
- (Note how this combines nicely with the previous optimisation...)
- (Actually this can be done even if some predicates are context-list
- sensitive, but only up until the first that isn't.)
-
-
-
- PathExprs that only contains steps that from the child:: and attribute::
- axes.
-
Example:
- foo/bar/baz
-
What we do today:
- For each step we evaluate the step once for every node in a nodeset
- (for example for the second step the nodeset is the list of all "foo"
- children) and then merge the resulting nodesets while making sure that
- we keep the nodes in document order (and thus generate orderInfo
- objects).
-
What we could do:
- The same thing except that we don't merge the resulting nodeset, but
- rather just concatenate them. We always know that the resulting nodesets
- are after each other in node order.
-
-
-
- List of predicates where some predicate are not context-list sensitive
-
Example:
- foo[position() > 3][@bar][.//baz][position() > size() div 2][.//@fud]
-
What we do today:
- Apply each predicate separately requiring us to shuffle nodes five times
- in the above example.
-
What we could do:
- Merge all predicates that are not node context-list sensitive into the
- previous predicate. The above predicate list could be merged into the
- following predicate list
- foo[(position() > 3) and (@bar) and (.//baz)][(position() > size() div 2) and (.//@fud)]
- Which only requires two node-shuffles
-
-
-
- Predicates that are only context-list-position sensitive and not
- context-list-size sensitive
-
Example:
- foo[position() > 5][position() mod 2]
-
What we do today:
- Build the entire list of nodes that matches "foo" and then apply the
- predicates
-
What we could do:
- Apply the predicates during the initial build of the first nodeset. We
- would have to keep track of how many nodes has passed each and somehow
- override the code that calculates the context-list-position.
-
-
-
- Perform the appropriate walk and build the entire nodeset. Then apply
- the predicate.
-
What we could do:
- There are three types of constant results; 1) Numerical values 2)
- Results with a true boolean-value 3) Results with a false boolean value.
- In the case of 1) we should only step up until the n:th node (5 in above
- example) and then stop. For 2) we should completely ignore the predicate
- and for 3) we should return an empty nodeset without doing any walking.
- In some cases we can't at parsetime decide if a constant expression will
- return a numerical or not, for example for "foo[$pos]", so the decision
- of 1) 2) or 3) would have to be made at evaltime. However we should be
- able to decide if it's a constant or not at parsetime.
- Note that while evaluating a LocationStep [//foo] can be considered
- constant.
-
-
-
- PathExprs that contains '//' followed by an unpredicated child-step.
-
Example:
- .//bar
-
What we do today:
- We walk the entire subtree below the contextnode and at every node we
- evaluate the 'bar'-expression which walks all the children of the
- contextnode. This means that we'll walk the entire subtree twice.
-
What we could do:
- Change the expression into "./descendant::bar". This means that we'll
- only walk the tree once. This can only be done if there are no
- predicates since the context-node-list will be different for
- predicates in the new expression.
- Note that this combines nicely with the "Steps where the predicates
- isn't context-node-list sensitive" optimization.
-
-
-
- Evaluate the step "." which always returns the same node and then
- evaluate the rest of the PathExpr.
-
What we could do:
- Remove the '.'-step and simply evaluate the other steps. In the example
- we could even remove the entire PathExpr-object and replace it with a
- single Step-object.
-
-
-
- Unpredicated steps where we only care about the boolean value.
-
Example:
- foo[processing-instruction()]
-
What we do today:
- Evaluate the step and create a nodeset. Then get the bool-value of
- the nodeset by checking if the nodeset contain any nodes.
-
What we could do:
- Walk along the axis until we find a node that matches the nodetest.
- If one is found we can stop the walking and return a true
- bool-result immediatly, otherwise a false bool-result is returned.
- It might not be worth implementing all axes unless we can reuse
- code from the normal Step-code. This could also be applied to
- PathExprs by getting the boolvalue of the last step.
-
-
-
- Evaluate the step and create a nodeset. Then get the string-value of
- the nodeset by getting the stringvalue of the first node.
-
What we could do:
- Walk along the axis until we find a node that matches the nodetest.
- If one is found we can stop the walking and return a string-result
- containing the value of that node. Otherwise an empty string-result
- can be returned.
- This can also be done when we only care about the number-value.
- This could be combined with the "Unpredicated steps where we only
- care about the boolean value" optimization by instead of returning
- a bool-value or string-value return a nodeset containing just the
- found node. If that is done this optimization could be applied to
- PathExprs.
-
-
-
- Expressions where the value of an attribute is compared to
- a literal.
-
Example:
- @bar = 'value'
-
What we do today:
- Evaluate the attribute-step and then compare the resulting nodeset
- to the value.
-
What we could do:
- Get the attribute-value for the element and compare that directly
- to the value. In the above example we would just call
- getAttr('bar', kNameSpaceID_None) and compare the
- resulting string with 'value'.
-
-
-
- PathExprs where the last step has a predicate that is not
- context-nodeset dependent and that contains a part that is not
- context-node dependent.
-
Example:
- foo/*[@bar = current()/@bar]
-
What we do today:
-
What we could do:
- First evaluate "foo/*" and "current()/@bar". Then replace
- "current()/@bar" with a literal (and possibly optimize) and filter
- all nodes in the nodeset from "foo/*".
-
-
-
- local-name() or namespace-uri() compared to a literal
-
Example:
- local-name() = 'foo'
-
What we do today:
- evaluate the local-name function and compare the string-result to
- the string-result of the literal.
-
What we could do:
- Atomize the literal (or get the namespaceID in case of
- namespace-uri()) and then compare that to the atom-name of the
- contextnode. This is primarily usefull when combined with the
- previous class.
-
-
-
- Comparisons where one side is a nodeset and the other is not a
- bool-value.
-
Example:
- //myElem = @baz
-
What we do today:
- Evaluate both sides and then compare them according to the spec.
-
What we could do:
- First of all we should start by evaluating the nodeset-side, if the
- result is an empty nodeset false can be returned immediatly.
- Otherwise we evaluate as normal. When both sides are nodesets we
- should examine them and try to figure out which is faster to
- evaluate. That expression should be evaluated first (probably
- by making it the left-hand-side expression).
-
-
-
- Subexpressions that will be evaluated more then once where the only
- change is in context it doesn't depend on
-
Example:
- foo[@bar = sum($var/@bar)]
-
What we do today:
- Reevaluate the subexpression every time we need it and every time
- get the same result.
-
What we could do:
- We should save the result from the first evaluation and just bring
- it back the following time we need it. This can be done by
- inserting an extra expression between the subexpression and its
- parent, this expression would then first go look in a cache
- available through the nsIEvalContext, if the value
- isn't available there the original expression is evaluated and its
- result is saved in the cache. The cache can be keyed on an integer
- which is stored in the inserted 'cache-expression'.
- The cache itself could be created by another expression that is
- inserted at the top of the expression. This way that expression
- works as a boundry-point for the cache and can in theory be
- inserted anywhere in an expression if needed.
-
-
-
Stage 5
-
-
Summary
-
- Detect when we can concatenate nodesets instead of merge them in
- PathExpr.
-
-
-
Details
-
- Why can we for expressions like "foo/bar/baz" concatenate the resulting
- nodesets without having to check nodeorder? Because at every step two
- statements are true:
-
-
We iterate a nodeset where no node is an ancestor of another
-
The LocationStep only returns nodes that are members of the subtree
- below the context-node
-
-
-
-
- For example; While evaluating the second step in "foo/bar/baz" we
- iterate a nodelist containing all "foo" children of the original
- contextnode, i.e. none can be an ancestor of another. And the
- LocationStep "bar" only returns children of the contextnode.
-
-
-
- So, it would be nice if we can detect when this occurs as often as
- possible. For example the expression "id(foo)/bar/baz" fulfils those
- requirements if the nodeset returned from contains doesn't contain any
- ancestors of other nodes in the nodeset, which probably often is the
- case in real-world stylesheets.
-
-
-
- We should perform this check on every step to be able to take advantage
- of it as often as possible. For example the in expression
- "id(@boss)/ancestor::team/members" we can't use this optimisation at the
- second step since the ancestor axis returns nodes that are not members
- of the contextnodes subtree. However we will probably be able to use the
- optimisation at the third step since if iterated nodeset contains only
- one node (and thus can't contain ancestors of it's members).
-
-TransforMiiX is an XSLT processor which is
-not yet complete, but supports a good portion of the
-XSLT 1.0 recommendation.
-
-
-TransforMiiX was designed to be a "standalone"
-XSLT processor. This means you can call the processor from the command line,
-or via the XSLProcessor API. The only thing TransforMiiX requires is an XML parser,
-and the currently supported parser is
-Expat written by James Clark.
-
-
-There is currently an effort undergoing to integrate
-TransforMiiX with Mozilla. This effort
-is not yet complete and therefor the XSLT processor cannot yet be used
-within the Mozilla browser. Integration is nearing completion, however.
-
-
-
-
-Running TransforMiiX from the command line
-
-The command line syntax is pretty straight forward:
-
-This will process the XML source file called "my.xml" using the "my.xsl" XSLT stylesheet,
-and the result will be placed in "my.out".
-
-The "-s" flag is not required if the XSLT stylesheet is specified inside the XML source
-document using the "xml-stylesheet" PI (processing instruction).
-
-The stylesheet PI, should appear below the XML declaration
-("<?xml version="1.0"?>").
-
-The command line program is in "source/main/transformiix.cpp" and is simply
-a wrapper for "source/xsl/XSLProcessor.cpp" which is the TransforMiiX API.
-
-
-Feel free to run the examples in the "source/examples" directory, they are a
-good example of what has been implemented so far in TransforMiiX.
-
-
-
-
-What is the current status of TransforMiiX?
-
-You can check the current status by looking three main files:
-
-
changes.txt - lists the changes from different builds
-
remaining.txt - lists what needs to be implemented.
-
known-issues.html - lists known bugs or issues.
-
- -- this is a little out of date...sorry.
-
-
-
-
-What can I do to help finish the implementation of
- TransforMiiX?
-
-There are a number of things that can be done:
-
-Development
-
-
Check out the source code, build it.
-
Use it.
-
Familiarize yourself with the code.
-
Look at the the "to-do" or "known issues" list and choose something
-that you would like to work on.
-
If it's a large task, notify us that you are working on a task or issue, or
-would like to contribute to the existing effort of a specific task.
-
-If it's a simple change you may contact us first to make sure
-you are not duplicating effort, or feel free to just make the changes.
-
If you have CVS commit status, commit your code,
-otherwise submit your code to be integrated to us.
-
-
-
-Please do a "cvs update" to make sure you have the latest changes, and that
-your changes work with any code changes that might have occured during
-your development.
-
-
-
Find something that's not documented - pretty easy to do at this point.
-
Document #3.
-
If you have commit status, commit your documentation, otherwise
-submit your documentation directly to us.
-
-
-
-Miscellaneous (but important)
- -- I just wouldn't be myself if I didn't add these! -- Keith :-)
-
-
Get me a date with Claudia Schiffer or Kelly Hu.
-
Get me some coffee!
-
-
-
-
-
-
-
-The MITRE Corporation, Keith Visco (C) Copyright 1999, All rights reserved
-Email: Keith Visco,
-Tom Kneeland
-
-
-
-
-
-
-
diff --git a/extensions/transformiix/resources/Makefile.in b/extensions/transformiix/resources/Makefile.in
deleted file mode 100644
index 3bdeaf8a408f..000000000000
--- a/extensions/transformiix/resources/Makefile.in
+++ /dev/null
@@ -1,45 +0,0 @@
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is TransforMiiX XSLT processor code.
-#
-# The Initial Developer of the Original Code is
-# Axel Hecht.
-# Portions created by the Initial Developer are Copyright (C) 2002
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-# Axel Hecht
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either the GNU General Public License Version 2 or later (the "GPL"), or
-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-DEPTH = ../../..
-topsrcdir = @top_srcdir@
-srcdir = @srcdir@
-VPATH = @srcdir@
-
-include $(DEPTH)/config/autoconf.mk
-
-include $(topsrcdir)/config/rules.mk
diff --git a/extensions/transformiix/resources/XSLTMark/XSLTMark-static.js b/extensions/transformiix/resources/XSLTMark/XSLTMark-static.js
deleted file mode 100644
index e6a43cae6cbb..000000000000
--- a/extensions/transformiix/resources/XSLTMark/XSLTMark-static.js
+++ /dev/null
@@ -1,77 +0,0 @@
-/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is TransforMiiX XSLT processor code.
- *
- * The Initial Developer of the Original Code is
- * Axel Hecht.
- * Portions created by the Initial Developer are Copyright (C) 2002
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Axel Hecht
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-const enablePrivilege = netscape.security.PrivilegeManager.enablePrivilege;
-const IOSERVICE_CTRID = "@mozilla.org/network/io-service;1";
-const nsIIOService = Components.interfaces.nsIIOService;
-const SIS_CTRID = "@mozilla.org/scriptableinputstream;1";
-const nsISIS = Components.interfaces.nsIScriptableInputStream;
-const nsIFilePicker = Components.interfaces.nsIFilePicker;
-const STDURL_CTRID = "@mozilla.org/network/standard-url;1";
-const nsIURI = Components.interfaces.nsIURI;
-
-var gStop = false;
-
-function loadFile(aUriSpec)
-{
- enablePrivilege('UniversalXPConnect');
- var serv = Components.classes[IOSERVICE_CTRID].
- getService(nsIIOService);
- if (!serv) {
- throw Components.results.ERR_FAILURE;
- }
- var chan = serv.newChannel(aUriSpec, null, null);
- var instream =
- Components.classes[SIS_CTRID].createInstance(nsISIS);
- instream.init(chan.open());
-
- return instream.read(instream.available());
-}
-
-function dump20(aVal)
-{
- const pads = ' ';
- if (typeof(aVal)=='string')
- out = aVal;
- else if (typeof(aVal)=='number')
- out = Number(aVal).toFixed(2);
- else
- out = new String(aVal);
- dump(pads.substring(0, 20 - out.length));
- dump(out);
-}
diff --git a/extensions/transformiix/resources/XSLTMark/XSLTMark-test.js b/extensions/transformiix/resources/XSLTMark/XSLTMark-test.js
deleted file mode 100644
index 47eb058e7099..000000000000
--- a/extensions/transformiix/resources/XSLTMark/XSLTMark-test.js
+++ /dev/null
@@ -1,79 +0,0 @@
-/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is TransforMiiX XSLT processor code.
- *
- * The Initial Developer of the Original Code is
- * Axel Hecht.
- * Portions created by the Initial Developer are Copyright (C) 2002
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Axel Hecht
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-var gParser = new DOMParser;
-var gProc = new XSLTProcessor;
-var gTimeout;
-
-function Test(aTitle, aSourceURL, aStyleURL, aNumber, aObserver)
-{
- this.mTitle = aTitle;
- this.mObserver = aObserver;
- this.mTotal = aNumber;
- this.mDone = 0;
- var xmlcontent = loadFile(aSourceURL);
- var xslcontent = loadFile(aStyleURL);
- this.mSource = gParser.parseFromString(xmlcontent, 'application/xml');
- this.mStyle = gParser.parseFromString(xslcontent, 'application/xml');
-}
-
-function runTest(aTitle, aSourceURL, aStyleURL, aNumber, aObserver)
-{
- test = new Test(aTitle, aSourceURL, aStyleURL, aNumber,
- aObserver);
- gTimeout = setTimeout(onNextTransform, 100, test, 0);
-}
-
-function onNextTransform(aTest, aNumber)
-{
- res = document.implementation.createDocument('', '', null);
- var startTime = Date.now();
- gProc.transformDocument(aTest.mSource, aTest.mStyle, res, null);
- var endTime = Date.now();
- aNumber++;
- var progress = aNumber / aTest.mTotal * 100;
- if (aTest.mObserver) {
- aTest.mObserver.progress(aTest.mTitle, endTime - startTime,
- progress);
- }
- if (aNumber < aTest.mTotal) {
- gTimeout = setTimeout(onNextTransform, 100, aTest, aNumber);
- } else if (aTest.mObserver) {
- aTest.mObserver.done(aTest.mTitle);
- }
-}
diff --git a/extensions/transformiix/resources/XSLTMark/XSLTMark-view.js b/extensions/transformiix/resources/XSLTMark/XSLTMark-view.js
deleted file mode 100644
index 00096efea347..000000000000
--- a/extensions/transformiix/resources/XSLTMark/XSLTMark-view.js
+++ /dev/null
@@ -1,208 +0,0 @@
-/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is TransforMiiX XSLT processor code.
- *
- * The Initial Developer of the Original Code is
- * Axel Hecht.
- * Portions created by the Initial Developer are Copyright (C) 2002
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Axel Hecht
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-var view =
-{
- configUrl: null,
- testArray: null,
- mCurrent: null,
-
- browseForConfig: function()
- {
- enablePrivilege('UniversalXPConnect');
- var fp = Components.classes["@mozilla.org/filepicker;1"].
- createInstance(nsIFilePicker);
- fp.init(window,'XSLTMark Description File',nsIFilePicker.modeOpen);
- fp.appendFilter('*.conf', '*.conf');
- fp.appendFilters(nsIFilePicker.filterAll);
- var res = fp.show();
-
- if (res == nsIFilePicker.returnOK) {
- this.configUrl = Components.classes[STDURL_CTRID].createInstance(nsIURI);
- this.configUrl.spec = fp.fileURL.spec;
- document.getElementById('config').setAttribute('value', this.configUrl.spec);
- }
- this.parseConfig();
- return true;
- },
-
- parseConfig: function()
- {
- this.testArray = new Array();
- var test;
- if (!this.configUrl) {
- return;
- }
-
- var content = loadFile(this.configUrl.spec);
-
- var lines = content.split("\n");
- var line, res;
- var head = /^\[(.+)\]$/;
- var instruct = /^(.+)=(.+)$/;
- while (lines.length) {
- line = lines.shift();
- if (head.test(line)) {
- test = new Object;
- res = head.exec(line);
- test['title'] = res[1];
- this.testArray.push(test);
- }
- else if (line == '') {
- test = undefined;
- }
- else {
- res = instruct.exec(line);
- test[res[1]] = res[2];
- }
- }
- },
-
- onLoad: function()
- {
- this.mCurrentStatus = document.getElementById('currentStatus');
- this.mCurrentProgress = document.getElementById('currentProgress');
- this.mTotalProgress = document.getElementById('totalProgress');
- this.mOutput = document.getElementById('transformOutput');
- this.mDetailOutput =
- document.getElementById('transformDetailedOutput');
- this.mDetail = true;
- },
-
- progress: function(aTitle, aTime, aProgress)
- {
- // dump20(aTitle);
- // dump20(aTime);
- // dump20(aProgress);
- this.mCurrentProgress.value = aProgress;
- this.displayDetailTime(aTime);
- this.mTimes.push(aTime);
- // dump("\n");
- },
-
- done: function(aTitle)
- {
- // dump(aTitle + " is finished.\n");
- this.mCurrent++;
- this.mCurrentProgress.value = 0;
- this.displayTotalTime();
- if (this.mCurrent >= this.testArray.length) {
- this.mTotalProgress.value = 0;
- this.mCurrentStatus.value = "done";
- return;
- }
- this.mTotalProgress.value = this.mCurrent*100/this.testArray.length;
- var test = this.testArray[this.mCurrent];
- enablePrivilege('UniversalXPConnect');
- this.displayTest(test.title);
- runTest(test.title, this.configUrl.resolve(test.input),
- this.configUrl.resolve(test.stylesheet),
- test.iterations, this);
- },
-
- onStop: function()
- {
- clearTimeout(gTimeout);
- this.mCurrentProgress.value = 0;
- this.mTotalProgress.value = 0;
- this.mCurrentStatus.value = "stopped";
- },
-
- displayTest: function(aTitle)
- {
- this.mTimes = new Array;
- aTitle += "\t";
- this.mCurrentStatus.value = aTitle;
- this.mOutput.value += aTitle;
- if (this.mDetail) {
- this.mDetailOutput.value += aTitle;
- }
- },
-
- displayDetailTime: function(aTime)
- {
- if (this.mDetail) {
- this.mDetailOutput.value += aTime + " ms\t";
- }
- },
-
- displayTotalTime: function()
- {
- var sum = 0;
- for (k = 0; k < this.mTimes.length; k++) {
- sum += this.mTimes[k];
- }
- var mean = sum / this.mTimes.length;
- this.mOutput.value += Number(mean).toFixed(2) + " ms\t" + sum + " ms\t";
- var variance = 0;
- for (k = 0; k < this.mTimes.length; k++) {
- var n = this.mTimes[k] - mean;
- variance += n*n;
- }
- variance = Math.sqrt(variance/this.mTimes.length);
- this.mOutput.value += Number(variance).toFixed(2)+"\n";
- if (this.mDetail) {
- this.mDetailOutput.value += "\n";
- }
- },
-
- runBenchmark: function()
- {
- enablePrivilege('UniversalXPConnect');
- if (!this.testArray) {
- if (!this.configUrl) {
- this.configUrl = Components.classes[STDURL_CTRID].createInstance(nsIURI);
- this.configUrl.spec = document.getElementById('config').value;
- }
- this.parseConfig();
- }
-
- this.mCurrent = 0;
- var test = this.testArray[this.mCurrent];
- this.mOutput.value = '';
- if (this.mDetail) {
- this.mDetailOutput.value = '';
- }
- this.displayTest(test.title);
- runTest(test.title, this.configUrl.resolve(test.input),
- this.configUrl.resolve(test.stylesheet),
- test.iterations, this);
- return true;
- }
-}
-
diff --git a/extensions/transformiix/resources/XSLTMark/XSLTMark.css b/extensions/transformiix/resources/XSLTMark/XSLTMark.css
deleted file mode 100644
index 80eb616fe13a..000000000000
--- a/extensions/transformiix/resources/XSLTMark/XSLTMark.css
+++ /dev/null
@@ -1,41 +0,0 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is TransforMiiX XSLT processor code.
- *
- * The Initial Developer of the Original Code is
- * Axel Hecht.
- * Portions created by the Initial Developer are Copyright (C) 2002
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Axel Hecht (Original Author)
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-textbox.out {
- white-space: pre;
-}
diff --git a/extensions/transformiix/resources/XSLTMark/XSLTMark.xul b/extensions/transformiix/resources/XSLTMark/XSLTMark.xul
deleted file mode 100644
index fdb2a5a2a55c..000000000000
--- a/extensions/transformiix/resources/XSLTMark/XSLTMark.xul
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/extensions/transformiix/resources/buster/DiffDOM.js b/extensions/transformiix/resources/buster/DiffDOM.js
deleted file mode 100644
index 317fbbf71ae7..000000000000
--- a/extensions/transformiix/resources/buster/DiffDOM.js
+++ /dev/null
@@ -1,136 +0,0 @@
-/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is TransforMiiX XSLT processor code.
- *
- * The Initial Developer of the Original Code is
- * Axel Hecht.
- * Portions created by the Initial Developer are Copyright (C) 2001
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Axel Hecht (Original Author)
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-// ----------------------
-// DiffDOM(node1,node2)
-// ----------------------
-
-var isHTML = false;
-
-function DiffDOM(node1, node2, aIsHTML)
-{
- isHTML = aIsHTML;
- return DiffNodeAndChildren(node1, node2);
-}
-
-
-// namespace attributes in the second node are ignored
-const nsreg = /^xmlns[|:\w]/;
-
-// This function does the work of DiffDOM by recursively calling
-// itself to explore the tree
-function DiffNodeAndChildren(node1, node2)
-{
- if (!node1 && !node2)
- return true;
- if (!node1 || !node2)
- return ErrorUp("One of the nodes is null", node1, node2);
- if (node1.type!=node2.type)
- return ErrorUp("Different node types", node1, node2);
-
- var attributes = node2.attributes;
- if (attributes && attributes.length) {
- var item, name, ns, value, otherValue;
- for (var index = 0; index < attributes.length; index++) {
- item = attributes.item(index);
- ns = item.namespaceURI;
- if (ns) {
- name = item.localName;
- otherValue = node2.getAttributeNS(ns, name);
- }
- else {
- name = item.nodeName;
- otherValue = node2.getAttribute(name);
- }
- value = item.nodeValue;
- if (!nsreg.test(name) && otherValue!=value) {
- return ErrorUp("Different values for attribute", node1, node2);
- }
- }
- }
- else if (node1.attributes && node1.attributes.length) {
- return ErrorUp("Different number of attributes", node1, node2);
- }
-
- if (isHTML) {
- if (node1.nodeName.toLowerCase()!=node2.nodeName.toLowerCase())
- return ErrorUp("Different node names", node1, node2);
- }
- else {
- if (node1.nodeName!=node2.nodeName)
- return ErrorUp("Different node names", node1, node2);
- }
- if (node1.nodeValue!=node2.nodeValue)
- return ErrorUp("Different node values", node1, node2);
- if (!isHTML)
- if (node1.namespaceURI!=node2.namespaceURI)
- return ErrorUp("Different namespace", node1, node2);
- if (node1.hasChildNodes() != node2.hasChildNodes())
- return ErrorUp("Different children", node1, node2);
- if (node1.childNodes) {
- if (node1.childNodes.length != node2.childNodes.length)
- return ErrorUp("Different number of children", node1, node2);
- for (var child = 0; child < node1.childNodes.length; child++) {
- if (!DiffNodeAndChildren(node1.childNodes[child],
- node2.childNodes[child])) {
- return false;
- }
- }
- }
- return true;
-}
-
-function ErrorUp(errMsg, node1, node2)
-{
- dump("Error: "+errMsg+"\n");
- if (node1) {
- dump("Node 1: "+node1+", ");
- if (node1.nodeType == Node.TEXT_NODE)
- dump("nodeValue: "+node1.nodeValue+"\n");
- else
- dump("nodeName: "+node1.namespaceURI+":"+node1.nodeName+"\n");
- }
- if (node2) {
- dump("Node 2: "+node2+", ");
- if (node2.nodeType == Node.TEXT_NODE)
- dump("nodeValue: "+node2.nodeValue+"\n");
- else
- dump("nodeName: "+node2.namespaceURI+":"+node2.nodeName+"\n");
- }
- return false;
-}
diff --git a/extensions/transformiix/resources/buster/DumpDOM.js b/extensions/transformiix/resources/buster/DumpDOM.js
deleted file mode 100644
index 0a90ce9d06eb..000000000000
--- a/extensions/transformiix/resources/buster/DumpDOM.js
+++ /dev/null
@@ -1,85 +0,0 @@
-// ----------------------
-// DumpDOM(node)
-//
-// Call this function to dump the contents of the DOM starting at the specified node.
-// Use node = document.documentElement to dump every element of the current document.
-// Use node = top.window.document.documentElement to dump every element.
-//
-// 8-13-99 Updated to dump almost all attributes of every node. There are still some attributes
-// that are purposely skipped to make it more readable.
-// ----------------------
-function DumpDOM(node)
-{
- dump("--------------------- DumpDOM ---------------------\n");
-
- DumpNodeAndChildren(node, "");
-
- dump("------------------- End DumpDOM -------------------\n");
-}
-
-
-// This function does the work of DumpDOM by recursively calling itself to explore the tree
-function DumpNodeAndChildren(node, prefix)
-{
- dump(prefix + "<" + node.nodeName);
-
- var attributes = node.attributes;
-
- if ( attributes && attributes.length )
- {
- var item, name, value;
-
- for ( var index = 0; index < attributes.length; index++ )
- {
- item = attributes.item(index);
- name = item.nodeName;
- value = item.nodeValue;
-
- if ( (name == 'lazycontent' && value == 'true') ||
- (name == 'xulcontentsgenerated' && value == 'true') ||
- (name == 'id') ||
- (name == 'instanceOf') )
- {
- // ignore these
- }
- else
- {
- dump(" " + name + "=\"" + value + "\"");
- }
- }
- }
-
- if ( node.nodeType == 1 )
- {
- // id
- var text = node.getAttribute('id');
- if ( text && text[0] != '$' )
- dump(" id=\"" + text + "\"");
- }
-
- if ( node.nodeType == Node.TEXT_NODE )
- dump(" = \"" + node.data + "\"");
-
- dump(">\n");
-
- // dump IFRAME && FRAME DOM
- if ( node.nodeName == "IFRAME" || node.nodeName == "FRAME" )
- {
- if ( node.name )
- {
- var wind = top.frames[node.name];
- if ( wind && wind.document && wind.document.documentElement )
- {
- dump(prefix + "----------- " + node.nodeName + " -----------\n");
- DumpNodeAndChildren(wind.document.documentElement, prefix + " ");
- dump(prefix + "--------- End " + node.nodeName + " ---------\n");
- }
- }
- }
- // children of nodes (other than frames)
- else if ( node.childNodes )
- {
- for ( var child = 0; child < node.childNodes.length; child++ )
- DumpNodeAndChildren(node.childNodes[child], prefix + " ");
- }
-}
diff --git a/extensions/transformiix/resources/buster/Makefile.in b/extensions/transformiix/resources/buster/Makefile.in
deleted file mode 100644
index 9303d2a8a746..000000000000
--- a/extensions/transformiix/resources/buster/Makefile.in
+++ /dev/null
@@ -1,45 +0,0 @@
-# ***** BEGIN LICENSE BLOCK *****
-# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-# http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# The Original Code is TransforMiiX XSLT processor code.
-#
-# The Initial Developer of the Original Code is
-# Axel Hecht.
-# Portions created by the Initial Developer are Copyright (C) 2002
-# the Initial Developer. All Rights Reserved.
-#
-# Contributor(s):
-# Axel Hecht
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either the GNU General Public License Version 2 or later (the "GPL"), or
-# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-# in which case the provisions of the GPL or the LGPL are applicable instead
-# of those above. If you wish to allow use of your version of this file only
-# under the terms of either the GPL or the LGPL, and not to allow others to
-# use your version of this file under the terms of the MPL, indicate your
-# decision by deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL or the LGPL. If you do not delete
-# the provisions above, a recipient may use your version of this file under
-# the terms of any one of the MPL, the GPL or the LGPL.
-#
-# ***** END LICENSE BLOCK *****
-
-DEPTH = ../../../..
-topsrcdir = @top_srcdir@
-srcdir = @srcdir@
-VPATH = @srcdir@
-
-include $(DEPTH)/config/autoconf.mk
-
-include $(topsrcdir)/config/rules.mk
diff --git a/extensions/transformiix/resources/buster/ReadMe b/extensions/transformiix/resources/buster/ReadMe
deleted file mode 100644
index 82ad04d96e7b..000000000000
--- a/extensions/transformiix/resources/buster/ReadMe
+++ /dev/null
@@ -1,22 +0,0 @@
-The buster is a XUL interface to the conformance tests shipped as part of
-Xalan. For information about Xalan, please see http://xml.apache.org/.
-For your convenience we provide a packed distribution of all needed files
-in http://www.axel.pike.org/mozilla/xalan.tar.gz. Please see the included
-LICENSE.txt or http://xml.apache.org/dist/LICENSE.txt for terms of
-distributing those files.
-
-To use the buster, open buster.xul with an XSLT enabled Mozilla.
-Open the rdf index file shipped with the test package into the
-"Xalan index", and the available tests will show up as a tree.
-Once you have selected the tests you're interested in, press the button
-"run checked tests", and all the tests will be run.
-You can save the results into an rdf, and load it for comparison and
-regression hunting.
-
-DiffDOM tries to find out, which tests failed, and will DumpDOM both the
-result and the reference solution. Not all reference solutions load
-properly, those need manual love.
-
-Good luck and fun
-
-Axel Hecht
diff --git a/extensions/transformiix/resources/buster/buster-files.js b/extensions/transformiix/resources/buster/buster-files.js
deleted file mode 100644
index 1c2632dc2999..000000000000
--- a/extensions/transformiix/resources/buster/buster-files.js
+++ /dev/null
@@ -1,115 +0,0 @@
-/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is TransforMiiX XSLT processor code.
- *
- * The Initial Developer of the Original Code is
- * Axel Hecht.
- * Portions created by the Initial Developer are Copyright (C) 2002
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Axel Hecht
- * Peter Van der Beken
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-const kFileOutStreamCID = "@mozilla.org/network/file-output-stream;1";
-const nsIFileOutputStream = Components.interfaces.nsIFileOutputStream;
-
-var cmdFileController =
-{
- supportsCommand: function(aCommand)
- {
- switch(aCommand) {
- case 'cmd_fl_save':
- case 'cmd_fl_import':
- return true;
- default:
- }
- return false;
- },
- isCommandEnabled: function(aCommand)
- {
- return this.supportsCommand(aCommand);
- },
- doCommand: function(aCommand)
- {
- switch(aCommand) {
- case 'cmd_fl_save':
- var sink = new Object;
- sink.write = function(aContent, aCount)
- {
- // replace NC:succ with NC:orig_succ,
- // so the rdf stuff differs
- var content = aContent.replace(/NC:succ/g,"NC:orig_succ");
- content = content.replace(/NC:failCount/g,"NC:orig_failCount");
- this.mSink.write(content, content.length);
- return aCount;
- };
- var fp = doCreateRDFFP('Xalan results',
- nsIFilePicker.modeSave);
- var res = fp.show();
-
- if (res == nsIFilePicker.returnOK ||
- res == nsIFilePicker.returnReplace) {
- var serial = doCreate(kRDFXMLSerializerID,
- nsIRDFXMLSerializer);
- serial.init(view.mResultDS);
- serial.QueryInterface(nsIRDFXMLSource);
- var fl = fp.file;
- var fstream = doCreate(kFileOutStreamCID,
- nsIFileOutputStream);
- fstream.init(fl, 26, 420, 0);
- sink.mSink = fstream;
- serial.Serialize(sink);
- }
- break;
- case 'cmd_fl_import':
- var fp = doCreateRDFFP('Previous Xalan results',
- nsIFilePicker.modeLoad);
- var res = fp.show();
-
- if (res == nsIFilePicker.returnOK) {
- var fl = fp.file;
- if (view.mPreviousResultDS) {
- view.database.RemoveDataSource(view.mPreviousResultDS);
- view.mPreviousResultDS = null;
- }
- view.mPreviousResultDS = kRDFSvc.GetDataSource(fp.fileURL.spec);
- view.database.AddDataSource(view.mPreviousResultDS);
- }
-
- document.getElementById('obs_orig_success')
- .setAttribute('hidden','false');
- break;
- default:
- alert('Unknown Command'+aCommand);
- }
- }
-};
-
-registerController(cmdFileController);
diff --git a/extensions/transformiix/resources/buster/buster-handlers.js b/extensions/transformiix/resources/buster/buster-handlers.js
deleted file mode 100644
index 3b73b94807ed..000000000000
--- a/extensions/transformiix/resources/buster/buster-handlers.js
+++ /dev/null
@@ -1,71 +0,0 @@
-/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is TransforMiiX XSLT processor code.
- *
- * The Initial Developer of the Original Code is
- * Axel Hecht.
- * Portions created by the Initial Developer are Copyright (C) 2001
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Axel Hecht
- * Peter Van der Beken
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-var xalan_field;
-
-function onLoad()
-{
- view.tree = document.getElementById('out');
- view.boxObject = view.tree.boxObject.QueryInterface(Components.interfaces.nsITreeBoxObject);
- {
- view.mIframe = document.getElementById('hiddenHtml');
- view.mIframe.webNavigation.allowPlugins = false;
- view.mIframe.webNavigation.allowJavascript = false;
- view.mIframe.webNavigation.allowMetaRedirects = false;
- view.mIframe.webNavigation.allowImages = false;
- }
- view.database = view.tree.database;
- view.builder = view.tree.builder.QueryInterface(nsIXULTemplateBuilder);
- view.builder.QueryInterface(nsIXULTreeBuilder);
- runItem.prototype.kDatabase = view.database;
- xalan_field = document.getElementById("xalan_rdf");
- var persistedUrl = xalan_field.getAttribute('url');
- if (persistedUrl) {
- view.xalan_url = persistedUrl;
- xalan_field.value = persistedUrl;
- }
- view.setDataSource();
- return true;
-}
-
-function onUnload()
-{
- if (xalan_field)
- xalan_field.setAttribute('url', xalan_field.value);
-}
diff --git a/extensions/transformiix/resources/buster/buster-statics.js b/extensions/transformiix/resources/buster/buster-statics.js
deleted file mode 100644
index 6a54363651fd..000000000000
--- a/extensions/transformiix/resources/buster/buster-statics.js
+++ /dev/null
@@ -1,121 +0,0 @@
-/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is TransforMiiX XSLT processor code.
- *
- * The Initial Developer of the Original Code is
- * Axel Hecht.
- * Portions created by the Initial Developer are Copyright (C) 2002
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Axel Hecht
- * Peter Van der Beken
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-// helper function to shortcut component creation
-function doCreate(aContract, aInterface)
-{
- return Components.classes[aContract].createInstance(aInterface);
-}
-
-// for the items, loading a text file
-const IOSERVICE_CTRID = "@mozilla.org/network/io-service;1";
-const nsIIOService = Components.interfaces.nsIIOService;
-const SIS_CTRID = "@mozilla.org/scriptableinputstream;1"
-const nsISIS = Components.interfaces.nsIScriptableInputStream;
-
-// rdf foo, onload handler
-const kRDFSvcContractID = "@mozilla.org/rdf/rdf-service;1";
-const kRDFInMemContractID =
- "@mozilla.org/rdf/datasource;1?name=in-memory-datasource";
-const kRDFContUtilsID = "@mozilla.org/rdf/container-utils;1";
-const kRDFXMLSerializerID = "@mozilla.org/rdf/xml-serializer;1";
-const kIOSvcContractID = "@mozilla.org/network/io-service;1";
-const kStandardURL = Components.classes["@mozilla.org/network/standard-url;1"];
-const nsIURL = Components.interfaces.nsIURL;
-const nsIStandardURL = Components.interfaces.nsIStandardURL;
-const nsIFilePicker = Components.interfaces.nsIFilePicker;
-const nsIXULTreeBuilder = Components.interfaces.nsIXULTreeBuilder;
-const nsIXULTemplateBuilder = Components.interfaces.nsIXULTemplateBuilder;
-const kIOSvc = Components.classes[kIOSvcContractID]
- .getService(Components.interfaces.nsIIOService);
-const nsIRDFService = Components.interfaces.nsIRDFService;
-const nsIRDFDataSource = Components.interfaces.nsIRDFDataSource;
-const nsIRDFRemoteDataSource = Components.interfaces.nsIRDFRemoteDataSource;
-const nsIRDFPurgeableDataSource =
- Components.interfaces.nsIRDFPurgeableDataSource;
-const nsIRDFResource = Components.interfaces.nsIRDFResource;
-const nsIRDFLiteral = Components.interfaces.nsIRDFLiteral;
-const nsIRDFInt = Components.interfaces.nsIRDFInt;
-const nsIRDFContainerUtils = Components.interfaces.nsIRDFContainerUtils;
-const nsIRDFXMLSerializer = Components.interfaces.nsIRDFXMLSerializer;
-const nsIRDFXMLSource = Components.interfaces.nsIRDFXMLSource;
-const kRDFSvc =
- Components.classes[kRDFSvcContractID].getService(nsIRDFService);
-const krTypeCat = kRDFSvc.GetResource("http://home.netscape.com/NC-rdf#category");
-const krTypeFailCount = kRDFSvc.GetResource("http://home.netscape.com/NC-rdf#failCount");
-const krTypeName = kRDFSvc.GetResource("http://home.netscape.com/NC-rdf#name");
-const krTypeSucc = kRDFSvc.GetResource("http://home.netscape.com/NC-rdf#succ");
-const krTypeOrigSucc = kRDFSvc.GetResource("http://home.netscape.com/NC-rdf#orig_succ");
-const krTypeOrigFailCount = kRDFSvc.GetResource("http://home.netscape.com/NC-rdf#orig_failCount");
-const krTypeOrigSuccCount = kRDFSvc.GetResource("http://home.netscape.com/NC-rdf#orig_succCount");
-const krTypePath = kRDFSvc.GetResource("http://home.netscape.com/NC-rdf#path");
-const krTypeParent = kRDFSvc.GetResource("http://home.netscape.com/NC-rdf#parent");
-const krTypePurp = kRDFSvc.GetResource("http://home.netscape.com/NC-rdf#purp");
-const krTypeSuccCount = kRDFSvc.GetResource("http://home.netscape.com/NC-rdf#succCount");
-const kGood = kRDFSvc.GetLiteral("yes");
-const kBad = kRDFSvc.GetLiteral("no");
-const kMixed = kRDFSvc.GetLiteral("+-");
-const kContUtils = doCreate(kRDFContUtilsID, nsIRDFContainerUtils);
-
-function doCreateRDFFP(aTitle, aMode)
-{
- var fp = doCreate("@mozilla.org/filepicker;1", nsIFilePicker);
- fp.init(window, aTitle, aMode);
- fp.appendFilter('*.rdf', '*.rdf');
- fp.appendFilters(nsIFilePicker.filterAll);
- return fp;
-}
-
-function goDoCommand(aCommand)
-{
- try {
- var controller =
- top.document.commandDispatcher.getControllerForCommand(aCommand);
- if (controller && controller.isCommandEnabled(aCommand))
- controller.doCommand(aCommand);
- }
- catch(e) {
- dump("An error "+e+" occurred executing the "+aCommand+" command\n");
- }
-}
-
-function registerController(aController)
-{
- top.controllers.appendController(aController);
-}
diff --git a/extensions/transformiix/resources/buster/buster-test.js b/extensions/transformiix/resources/buster/buster-test.js
deleted file mode 100644
index 0bf51a40cfd5..000000000000
--- a/extensions/transformiix/resources/buster/buster-test.js
+++ /dev/null
@@ -1,390 +0,0 @@
-/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is TransforMiiX XSLT processor code.
- *
- * The Initial Developer of the Original Code is
- * Axel Hecht.
- * Portions created by the Initial Developer are Copyright (C) 2002
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Axel Hecht
- * Peter Van der Beken
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-var parser = new DOMParser();
-var methodExpr = (new XPathEvaluator).createExpression("xsl:output/@method",
- {
- lookupNamespaceURI: function(aPrefix)
- {
- if (aPrefix == "xsl")
- return "http://www.w3.org/1999/XSL/Transform";
- return "";
- }
- });
-
-const nsIWebProgListener = Components.interfaces.nsIWebProgressListener;
-
-var runQueue =
-{
- mArray : new Array(),
- push : function(aRunItem)
- {
- this.mArray.push(aRunItem);
- },
- observe : function(aSubject, aTopic, aData)
- {
- var item = this.mArray.shift();
- if (item) {
- item.run(this);
- }
- },
- run : function()
- {
- this.observe(null,'','');
- }
-}
-
-var itemCache =
-{
- mArray : new Array(),
- getItem : function(aResource)
- {
- // Directory selected
- if (kContUtils.IsSeq(runItem.prototype.kDatabase, aResource)) {
- var aSeq = kContUtils.MakeSeq(runItem.prototype.kDatabase, aResource);
- dump("sequence: "+aSeq+" with "+aSeq.GetCount()+" elements\n");
- var child, children = aSeq.GetElements();
- var m = 0, first;
- while (children.hasMoreElements()) {
- m += 1;
- child = children.getNext();
- child.QueryInterface(nsIRDFResource);
- if (!first)
- first = itemCache.getItem(child);
- else
- itemCache.getItem(child);
- }
- return first;
- }
- if (aResource.Value in this.mArray) {
- return this.mArray[aResource.Value];
- }
- var retItem = new runItem(aResource);
- this.mArray[aResource.Value] = retItem;
- runQueue.push(retItem);
- return retItem;
- },
- rerunItem : function(aResource, aObserver)
- {
- var anItem = new runItem(aResource);
- this.mArray[aResource.Value] = anItem;
- anItem.run(aObserver);
- },
- observe : function(aSubject, aTopic, aData)
- {
- this.mRun += 1;
- if (aTopic == "success") {
- if (aData == "yes") {
- this.mGood += 1;
- }
- else {
- this.mFalse +=1;
- }
- }
- }
-}
-
-function runItem(aResource)
-{
- this.mResource = aResource;
- // Directory selected
- if (kContUtils.IsSeq(this.kDatabase,this.mResource)) {
- var aSeq = kContUtils.MakeSeq(this.kDatabase,this.mResource);
- dump("THIS SHOULDN'T HAPPEN\n");
- var child, children = aSeq.GetElements();
- var m = 0;
- while (children.hasMoreElements()) {
- m += 1;
- child = children.getNext();
- child.QueryInterface(nsIRDFResource);
- itemCache.getItem(child);
- }
- }
-}
-
-runItem.prototype =
-{
- // RDF resource associated with this test
- mResource : null,
- // XML documents for the XSLT transformation
- mSourceDoc : null,
- mStyleDoc : null,
- mResDoc : null,
- // XML or plaintext document for the reference
- mRefDoc : null,
- // bitfield signaling the loaded documents
- mLoaded : 0,
- kSource : 1,
- kStyle : 2,
- kReference : 4,
- // a observer, potential argument to run()
- mObserver : null,
- mSuccess : null,
- mMethod : 'xml',
- // XSLTProcessor, shared by the instances
- kProcessor : new XSLTProcessor(),
- kXalan : kStandardURL.createInstance(nsIURL),
- kDatabase : null,
- kObservers : new Array(),
-
- run : function(aObserver)
- {
- if (aObserver && typeof(aObserver)=='function' ||
- (typeof(aObserver)=='object' &&
- typeof(aObserver.observe)=='function')) {
- this.mObserver=aObserver;
- }
- var name = this.kDatabase.GetTarget(this.mResource, krTypeName, true);
- if (name) {
- var cat = this.kDatabase.GetTarget(this.mResource, krTypeCat, true);
- var path = this.kDatabase.GetTarget(this.mResource, krTypePath, true);
- cat = cat.QueryInterface(nsIRDFLiteral);
- name = name.QueryInterface(nsIRDFLiteral);
- path = path.QueryInterface(nsIRDFLiteral);
- var xalan_fl = this.kXalan.resolve(cat.Value+"/"+path.Value);
- var xalan_ref = this.kXalan.resolve(cat.Value+"-gold/"+path.Value);
- this.mRefURL =
- this.kXalan.resolve(cat.Value + "-gold/" + path.Value + ".out");
- dump(name.Value+" links to "+xalan_fl+"\n");
- }
- // Directory selected
- if (kContUtils.IsSeq(this.kDatabase,this.mResource)) {
- return;
- var aSeq = kContUtils.MakeSeq(this.kDatabase,this.mResource);
- dump("sequence: "+aSeq+" with "+aSeq.GetCount()+" elements\n");
- var child, children = aSeq.GetElements();
- var m = 0;
- while (children.hasMoreElements()) {
- m += 1;
- child = children.getNext();
- child.QueryInterface(nsIRDFResource);
- }
- }
- this.mSourceDoc = document.implementation.createDocument('', '', null);
- this.mSourceDoc.addEventListener("load",this.onload(1),false);
- this.mSourceDoc.load(xalan_fl+".xml");
- this.mStyleDoc = document.implementation.createDocument('', '', null);
- this.mStyleDoc.addEventListener("load",this.styleLoaded(),false);
- this.mStyleDoc.load(xalan_fl+".xsl");
- },
-
- // nsIWebProgressListener
- QueryInterface: function(aIID)
- {
- return this;
- },
- onStateChange: function(aProg, aRequest, aFlags, aStatus)
- {
- if ((aFlags & nsIWebProgListener.STATE_STOP) &&
- (aFlags & nsIWebProgListener.STATE_IS_DOCUMENT)) {
- aProg.removeProgressListener(this);
- this.mRefDoc = document.getElementById('hiddenHtml').contentDocument;
- this.fileLoaded(4);
- }
- },
- onProgressChange: function(aProg, b,c,d,e,f)
- {
- },
- onLocationChange: function(aProg, aRequest, aURI)
- {
- },
- onStatusChange: function(aProg, aRequest, aStatus, aMessage)
- {
- },
- onSecurityChange: function(aWebProgress, aRequest, aState)
- {
- },
-
- // onload handler helper
- onload : function(file)
- {
- var self = this;
- return function(e)
- {
- return self.fileLoaded(file);
- };
- },
-
- styleLoaded : function()
- {
- var self = this;
- return function(e)
- {
- return self.styleLoadedHelper();
- };
- },
- styleLoadedHelper : function()
- {
- var method = methodExpr.evaluate(this.mStyleDoc.documentElement, 2,
- null).stringValue;
- var refContent;
- if (!method) {
- // implicit method, guess from result
- refContent = this.loadTextFile(this.mRefURL);
- if (refContent.match(/^\s*
- * Peter Van der Beken
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-var view =
-{
- onRun : function()
- {
- runQueue.mArray = new Array();
- var sels = this.boxObject.view.selection,a=new Object(),b=new Object(),k;
- var rowResource, name, path;
- for (k=0;k (Original Author)
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-label.head {
- padding: 5px;
- font-size: medium;
- font-weight: bold;
-}
-
-treechildren::-moz-tree-cell(success yes)
-{
- background-color: green ;
-}
-
-treechildren::-moz-tree-cell(success no)
-{
- background-color: red ;
-}
diff --git a/extensions/transformiix/resources/buster/buster.xul b/extensions/transformiix/resources/buster/buster.xul
deleted file mode 100644
index 5443bcbfa185..000000000000
--- a/extensions/transformiix/resources/buster/buster.xul
+++ /dev/null
@@ -1,227 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-