Part of fix for bug 203192 (Improvements to XSLT loading). Move test files into their own directory and add some error strings. r=Pike, sr=jst, a=asa.

git-svn-id: svn://10.0.0.236/trunk@142121 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterv%netscape.com 2003-05-05 09:10:17 +00:00
parent 61b10184da
commit 36abbbc0c5
8 changed files with 114 additions and 21 deletions

View File

@ -42,6 +42,4 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MOZ_CHROME_FILE_FORMAT=flat
include $(topsrcdir)/config/rules.mk

View File

@ -0,0 +1,45 @@
# ***** 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.
#
# 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 <axel@pike.org>
#
# 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

View File

@ -12,7 +12,7 @@
chrome:displayName="XSLT QA Tools"
chrome:author="mozilla.org"
chrome:name="xslt-qa"
chrome:localeVersion="1.4b"
chrome:localeVersion="1.4a"
chrome:skinVersion="1.2">
</RDF:Description>

View File

@ -0,0 +1,17 @@
xslt-qa.jar:
content/xslt-qa/contents.rdf
content/xslt-qa/xslt-qa-overlay.xul
content/xslt-qa/xslt-qa-overlay.js
content/xslt-qa/buster/buster.xul
content/xslt-qa/buster/buster.css
content/xslt-qa/buster/buster-statics.js
content/xslt-qa/buster/buster-handlers.js
content/xslt-qa/buster/buster-files.js
content/xslt-qa/buster/buster-test.js
content/xslt-qa/buster/buster-view.js
content/xslt-qa/buster/result-view.xul
content/xslt-qa/buster/result-inspector.xul
content/xslt-qa/buster/result-view.css
content/xslt-qa/buster/result-view.js
content/xslt-qa/buster/DumpDOM.js
content/xslt-qa/buster/DiffDOM.js

View File

@ -44,7 +44,6 @@
<menu label="XSLT QA" accesskey="X">
<menupopup>
<menuitem label="Xalan Tests" oncommand="onStartBuster()"/>
<menuitem label="XSLTMark" oncommand="alert('bar2')"/>
</menupopup>
</menu>
</menupopup>

View File

@ -1,17 +1,2 @@
xslt-qa.jar:
content/xslt-qa/contents.rdf (contents.rdf)
content/xslt-qa/xslt-qa-overlay.xul (xslt-qa-overlay.xul)
content/xslt-qa/xslt-qa-overlay.js (xslt-qa-overlay.js)
content/xslt-qa/buster/buster.xul (buster/buster.xul)
content/xslt-qa/buster/buster.css (buster/buster.css)
content/xslt-qa/buster/buster-statics.js (buster/buster-statics.js)
content/xslt-qa/buster/buster-handlers.js (buster/buster-handlers.js)
content/xslt-qa/buster/buster-files.js (buster/buster-files.js)
content/xslt-qa/buster/buster-test.js (buster/buster-test.js)
content/xslt-qa/buster/buster-view.js (buster/buster-view.js)
content/xslt-qa/buster/result-view.xul (buster/result-view.xul)
content/xslt-qa/buster/result-inspector.xul (buster/result-inspector.xul)
content/xslt-qa/buster/result-view.css (buster/result-view.css)
content/xslt-qa/buster/result-view.js (buster/result-view.js)
content/xslt-qa/buster/DumpDOM.js (buster/DumpDOM.js)
content/xslt-qa/buster/DiffDOM.js (buster/DiffDOM.js)
en-US.jar:
locale/en-US/communicator/layout/xslt.properties

View File

@ -0,0 +1,49 @@
# ***** 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
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 2003
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Peter Van der Beken <peterv@netscape.com>
#
# 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 *****
1 = Parsing a XSLT stylesheet failed.
2 = Parsing a XPath expression failed.
4 = XSLT transformation failed.
5 = XSLT/XPath tried to call an unknown function.
6 = XSLT Stylesheet (possibly) contains a recursion.
7 = Attribute value illegal in XSLT 1.0.
8 = An XPath expression was expected to return a NodeSet.
9 = XSLT transformation was terminated by <xsl:message>.
10 = A network error occured loading a XSLT stylesheet:
11 = An XSLT stylesheet does not have an XML mimetype:
LoadingError = Error loading stylesheet: %S