added extra2.err, tst5.xml, tst5.xsl and tst.out to EXTRA_DIST
authorWilliam M. Brack <wbrack@src.gnome.org>
Tue, 6 Jul 2004 13:37:51 +0000 (13:37 +0000)
committerWilliam M. Brack <wbrack@src.gnome.org>
Tue, 6 Jul 2004 13:37:51 +0000 (13:37 +0000)
* tests/namespaces/Makefile.am: added extra2.err, tst5.xml,
  tst5.xsl and tst.out to EXTRA_DIST

ChangeLog
tests/namespaces/Makefile.am
tests/namespaces/tst5.out [new file with mode: 0644]
tests/namespaces/tst5.xml [new file with mode: 0644]
tests/namespaces/tst5.xsl [new file with mode: 0644]

index c586f88..dd6d751 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Jul  6 21:35:44 HKT 2004 William Brack <wbrack@mmm.com.hk>
+
+       * tests/namespaces/Makefile.am: added extra2.err, tst5.xml,
+         tst5.xsl and tst.out to EXTRA_DIST
+
 Mon Jul  5 21:48:13 CEST 2004 Daniel Veillard <daniel@veillard.com>
 
        * configure.in doc/*: releasing 1.1.8
index 52fa03d..ebb9581 100644 (file)
@@ -5,13 +5,13 @@ $(top_builddir)/xsltproc/xsltproc:
 
 EXTRA_DIST = \
     extra.xml extra.xsl extra.out \
-    extra2.xml extra2.xsl extra2.out \
+    extra2.xml extra2.xsl extra2.out extra2.err\
     tst.xml tst.xsl tst.out \
     tst2.xml tst2.xsl tst2.out \
     tst3.xml tst3.xsl tst3.out \
     tst4.xml tst4.xsl tst4.out \
+    tst5.xml tst5.xsl tst5.out \
     tst6.xml tst6.xsl tst6.out
-#    tst5.xml tst5.xsl tst5.out
 
 all:
 
diff --git a/tests/namespaces/tst5.out b/tests/namespaces/tst5.out
new file mode 100644 (file)
index 0000000..63167ea
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<windows xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:xhtml="http://www.w3.org/1999/xhtml">
+  <vbox flex="1">
+    <vbox>
+      <xhtml:div>Hello</xhtml:div>
+      <xhtml:div>
+                        foo
+                </xhtml:div>
+    </vbox>
+  </vbox>
+</windows>
diff --git a/tests/namespaces/tst5.xml b/tests/namespaces/tst5.xml
new file mode 100644 (file)
index 0000000..b04c670
--- /dev/null
@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+<a>
+hhhh
+</a>
diff --git a/tests/namespaces/tst5.xsl b/tests/namespaces/tst5.xsl
new file mode 100644 (file)
index 0000000..e974516
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<xsl:stylesheet version="1.0"
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+        xmlns:xhtml="http://www.w3.org/1999/xhtml"   >
+   <xsl:output method="xml" indent="yes" encoding="iso-8859-1" />
+   <xsl:template match="/">
+      <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
+      <windows>
+        <vbox flex="1">
+                   <xsl:apply-templates />
+            </vbox>
+      </windows>
+   </xsl:template>
+   <xsl:template match="a">
+         <vbox>
+                <xhtml:div>Hello</xhtml:div>
+                <xsl:element name="xhtml:div">
+                        foo
+                </xsl:element>
+         </vbox>
+   </xsl:template>
+</xsl:stylesheet>
+