dbertoni 2003/07/28 14:46:30
Modified: c/xdocs/html/apiDocs footer.html header.html
c/xdocs/sources entities.ent xalan.xml xalanLocal.xml
c/xdocs/sources/xalan BUGS License STATUS commandline.xml
extensions.xml faq.xml getstarted.xml history.xml
index.xml overview.xml readme.xml resources.xml
samples.xml usagepatterns.xml
Log:
Changes for bug 21588.
Revision Changes Path
1.9 +1 -1 xml-xalan/c/xdocs/html/apiDocs/footer.html
Index: footer.html
===================================================================
RCS file: /home/cvs/xml-xalan/c/xdocs/html/apiDocs/footer.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- footer.html 21 Apr 2003 23:08:31 -0000 1.8
+++ footer.html 28 Jul 2003 21:46:29 -0000 1.9
@@ -7,7 +7,7 @@
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="80%">
<TR>
<TD WIDTH="80%" VALIGN="TOP">
- <P ALIGN="CENTER"><B>Xalan-C++ XSLT Processor Version
1.5</B><BR>
+ <P ALIGN="CENTER"><B>Xalan-C++ XSLT Processor Version
1.6</B><BR>
Copyright © 2000, 2001, 2002, 2003 The Apache Software
Foundation. All Rights Reserved.</i></p>
</TD>
</TR>
1.8 +1 -1 xml-xalan/c/xdocs/html/apiDocs/header.html
Index: header.html
===================================================================
RCS file: /home/cvs/xml-xalan/c/xdocs/html/apiDocs/header.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- header.html 21 Apr 2003 23:08:31 -0000 1.7
+++ header.html 28 Jul 2003 21:46:29 -0000 1.8
@@ -1,5 +1,5 @@
<HTML><HEAD><TITLE>Xalan-C++ API Documentation</TITLE></HEAD>
<BODY>
<h2 align="center">Xalan-C++ API Documentation</h2>
-<h3 align="center">The Xalan C++ XSLT Processor Version 1.5</h3>
+<h3 align="center">The Xalan C++ XSLT Processor Version 1.6</h3>
</BODY>
1.30 +72 -16 xml-xalan/c/xdocs/sources/entities.ent
Index: entities.ent
===================================================================
RCS file: /home/cvs/xml-xalan/c/xdocs/sources/entities.ent,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- entities.ent 21 Apr 2003 23:08:31 -0000 1.29
+++ entities.ent 28 Jul 2003 21:46:29 -0000 1.30
@@ -1,25 +1,81 @@
<?xml encoding="US-ASCII"?>
+<!--
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Xalan" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, Lotus
+ * Development Corporation., http://www.lotus.com. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ -->
<!ENTITY xslt4c "Xalan-C++">
-<!ENTITY xslt4c-dist "Xalan-C_1_5">
-<!ENTITY xslt4c-current "Xalan-C++ version 1.5">
-<!ENTITY xslt4c-windll "Xalan-C_1_5_0.dll">
-<!ENTITY xslt4c-linuxlib "libxalan-c1_5.so">
-<!ENTITY xslt4c-aixlib "libxalan-c1_5.so">
-<!ENTITY xslt4c-hplib "libxalan-c1_5.sl">
-<!ENTITY xslt4c-solarislib "libxalan-c1_5.so">
+<!ENTITY xslt4c-dist "Xalan-C_1_6">
+<!ENTITY xslt4c-current "Xalan-C++ version 1.6">
+<!ENTITY xslt4c-windll "Xalan-C_1_6_0.dll">
+<!ENTITY xslt4c-linuxlib "libxalan-c1_6.so">
+<!ENTITY xslt4c-aixlib "libxalan-c1_6.so">
+<!ENTITY xslt4c-hplib "libxalan-c1_6.sl">
+<!ENTITY xslt4c-solarislib "libxalan-c1_6.so">
<!ENTITY xml4c "Xerces-C++">
-<!ENTITY xml4c-used "Xerces-C++ version 2.2.0">
-<!ENTITY xml4c-dist "xerces-c2_2_0">
-<!ENTITY xml4c-windll "xerces-c_2_2_0.dll">
+<!ENTITY xml4c-used "Xerces-C++ version 2.3.0">
+<!ENTITY xml4c-dist "xerces-c2_3_0">
+<!ENTITY xml4c-windll "xerces-c_2_3_0.dll">
<!ENTITY xml4c-winlib "xerces-c_2.lib">
-<!ENTITY xml4c-linuxlib "libxerces-c2_2_0.so">
-<!ENTITY xml4c-aixlib "libxerces-c2_2_0.a">
-<!ENTITY xml4c-hplib "libxerces-c2_2_0.sl">
-<!ENTITY xml4c-solarislib "libxerces-c2_2_0.so">
+<!ENTITY xml4c-linuxlib "libxerces-c2_3_0.so">
+<!ENTITY xml4c-aixlib "libxerces-c2_3_0.a">
+<!ENTITY xml4c-hplib "libxerces-c2_3_0.sl">
+<!ENTITY xml4c-solarislib "libxerces-c2_3_0.so">
<!ENTITY xml4c-linuxdist "&xml4c-dist;-linux7.2Proton.tar.gz">
-<!ENTITY xml4c-aixdist "&xml4c-dist;-AIX51_5.02.tar.gz">
-<!ENTITY xml4c-aix64dist "&xml4c-dist;-AIX51_5.02_64.tar.gz">
+<!ENTITY xml4c-aixdist "&xml4c-dist;-AIX51_6.00.tar.gz">
+<!ENTITY xml4c-aix64dist "&xml4c-dist;-AIX51_6.00_64.tar.gz">
<!ENTITY xml4c-hpdist "&xml4c-dist;-HP11ACC.tar.gz">
<!ENTITY xml4c-hp64dist "&xml4c-dist;-HP11ACC_64.tar.gz">
<!ENTITY xml4c-solarisdist "&xml4c-dist;-Sol2.7ForCC.tar.gz">
1.12 +2 -2 xml-xalan/c/xdocs/sources/xalan.xml
Index: xalan.xml
===================================================================
RCS file: /home/cvs/xml-xalan/c/xdocs/sources/xalan.xml,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- xalan.xml 14 Feb 2003 22:32:02 -0000 1.11
+++ xalan.xml 28 Jul 2003 21:46:29 -0000 1.12
@@ -5,7 +5,7 @@
* The Apache Software License, Version 1.1
*
*
- * Copyright (c) 2000 The Apache Software Foundation. All rights
+ * Copyright (c) 2000-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -67,7 +67,7 @@
<separator/>
<document id="index"
- label="Xalan-C++ 1.5"
+ label="Xalan-C++ 1.6"
source="xalan/index.xml"/>
<separator/>
1.6 +1 -1 xml-xalan/c/xdocs/sources/xalanLocal.xml
Index: xalanLocal.xml
===================================================================
RCS file: /home/cvs/xml-xalan/c/xdocs/sources/xalanLocal.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- xalanLocal.xml 9 Aug 2001 20:10:36 -0000 1.5
+++ xalanLocal.xml 28 Jul 2003 21:46:29 -0000 1.6
@@ -5,7 +5,7 @@
* The Apache Software License, Version 1.1
*
*
- * Copyright (c) 2000 The Apache Software Foundation. All rights
+ * Copyright (c) 2000-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
1.8 +57 -0 xml-xalan/c/xdocs/sources/xalan/BUGS
Index: BUGS
===================================================================
RCS file: /home/cvs/xml-xalan/c/xdocs/sources/xalan/BUGS,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- BUGS 14 Feb 2001 20:10:50 -0000 1.7
+++ BUGS 28 Jul 2003 21:46:29 -0000 1.8
@@ -1,3 +1,60 @@
+<!--
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Xalan" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, Lotus
+ * Development Corporation., http://www.lotus.com. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ -->
+
<s3 title="Bugs">
<p>Open bugs:</p>
<ul>
1.2 +1 -1 xml-xalan/c/xdocs/sources/xalan/License
Index: License
===================================================================
RCS file: /home/cvs/xml-xalan/c/xdocs/sources/xalan/License,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- License 26 Apr 2000 13:05:55 -0000 1.1
+++ License 28 Jul 2003 21:46:29 -0000 1.2
@@ -1,7 +1,7 @@
/*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
1.15 +1 -1 xml-xalan/c/xdocs/sources/xalan/STATUS
Index: STATUS
===================================================================
RCS file: /home/cvs/xml-xalan/c/xdocs/sources/xalan/STATUS,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- STATUS 18 Apr 2003 06:41:42 -0000 1.14
+++ STATUS 28 Jul 2003 21:46:29 -0000 1.15
@@ -1,7 +1,7 @@
<s3 title="Version of &xml4c; to use">
<p>&xslt4c-current; has been tested with &xml4c-used;.</p>
<note>The &xslt4c-current; download no longer includes the Xerces-C++ distribution
for the specified platform. You should either download the matching &xml4c;
distribution for your platform, or rebuild both &xml4c; and &xslt4c; on your
system.</note>
-<p>For information about including The Xerces-C++ libraries on the path, see <link
idref="getstarted" anchor="path">Setting up the system path</link>.</p>
+<p>For information about including the Xerces-C++ libraries on the path, see <link
idref="getstarted" anchor="path">Setting up the system path</link>.</p>
<p><em>Important</em> You may experience unpredictable anomalies if your Xalan and
Xerces builds are not in synch. If you download an update to Xalan, check the release
notes to determine which version of Xerces you should use.</p>
</s3><anchor name="to-do"/>
<s3 title="To-do tasks for future &xslt4c; releases">
1.26 +12 -7 xml-xalan/c/xdocs/sources/xalan/commandline.xml
Index: commandline.xml
===================================================================
RCS file: /home/cvs/xml-xalan/c/xdocs/sources/xalan/commandline.xml,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- commandline.xml 1 Nov 2002 18:06:50 -0000 1.25
+++ commandline.xml 28 Jul 2003 21:46:29 -0000 1.26
@@ -5,7 +5,7 @@
* The Apache Software License, Version 1.1
*
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -85,12 +85,18 @@
<table>
<tr><th>Option</th><th>Description</th></tr>
<tr><td>-a</td><td>Use stylesheet processing instruction, not the stylesheet
argument.</td></tr>
+ <tr><td>-e encoding</td><td>Force the specified encoding for the output.</td></tr>
+ <tr><td>-i integer</td><td>Indent the specified amount.</td></tr>
+ <tr><td>-m</td><td>Omit the META tag in HTML output.</td></tr>
<tr><td>-o filename</td><td>Write transformation result to this file (rather than
to the console).</td></tr>
- <tr><td>-p name expr</td><td>Set a stylesheet parameter with this
expression</td></tr>
+ <tr><td>-p name expr</td><td>Set a stylesheet parameter with this
expression.</td></tr>
+ <tr><td>-t name expr</td><td>Diplay timing information.</td></tr>
+ <tr><td>-u name expr</td><td>Disable escaping of URLs in HTML output.</td></tr>
<tr><td>-v</td><td>Validate the XML source document.</td></tr>
+ <tr><td>-</td><td>A dash as the 'source' argument reads from stdin.<br/>A dash as
the 'stylesheet' argument reads from stdin.<br/>('-' cannot be used for both
arguments.)</td></tr>
</table>
<p>To display a list of the options call the Xalan executable as follows:</p>
-<p><code>Xalan ?</code></p>
+<p><code>Xalan -?</code></p>
</s2><anchor name="testxslt"/>
<s2 title="Using TestXSLT">
<p>Call the testXSLT executable with the flags and arguments described below.
The following command line, for example, includes the -IN, -XSL, and -OUT flags with
their accompanying arguments -- the XML source document, the XSL
@@ -144,8 +150,7 @@
formatting, and sorting. For more information, see <link idref="usagepatterns"
anchor="icu">Using the ICU</link>.</p>
<p>If you have built and integrated the ICU with &xml4c;, Xalan and testXSLT
(like any &xslt4c; application) automatically uses ICU
support for output encoding. See <resource-ref idref="xerces-build-icu"/>.</p>
- <p>The Xalan and testXSLT executables also conditionally include ICU support
for number formatting and sorting. For Xalan, look in XalanTransformer.cpp
- for the <code>#if defined(XALAN_USE_ICU)</code> blocks. For testXSLT, look in
process.cpp for the
+ <p>The Xalan executable depends on the use of an ICU-enabled Xalan library for
number formatting and sorting (see below). The testXSLT executable conditionally
includes ICU support for number formatting and sorting. For testXSLT, look in
process.cpp for the
<code>#if defined(XALAN_USE_ICU)</code> blocks. These blocks #include the
ICUBridge headers, and
substitutes ICU support for xsl:number, format-number(), and xsl:sort. To
activate this support:</p>
<ol>
@@ -154,8 +159,8 @@
</ol>
<s3 title="Rebuilding Xalan and/or TestXSLT in Windows">
<ol>
- <li>Uncomment the <code>#define XALAN_USE_ICU</code> in XalanTransformer.cpp
and/or process.cpp.<br/><br/></li>
- <li>Add ICUBridge to the Visual C++ list of dependencies for the
XalanTransformer and/or TestXSLT project.<br/><br/></li>
+ <li>For Windows, the ICUBridge is part of the Xalan library. Build an
ICU-enabled Xalan library using the AllInOneWithICU project.<br/><br/></li>
+ <li>For TestXSLT, uncomment "#define XALAN_USE_ICU" in
process.cpp.<br/><br/></li>
<li>Build Xalan.exe and/or TestXSLT.exe.</li>
</ol>
</s3>
1.19 +8 -8 xml-xalan/c/xdocs/sources/xalan/extensions.xml
Index: extensions.xml
===================================================================
RCS file: /home/cvs/xml-xalan/c/xdocs/sources/xalan/extensions.xml,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- extensions.xml 19 Apr 2003 00:51:13 -0000 1.18
+++ extensions.xml 28 Jul 2003 21:46:29 -0000 1.19
@@ -3,7 +3,7 @@
* The Apache Software License, Version 1.1
*
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -87,14 +87,14 @@
</ol>
<p>These features all appear in the following example.</p>
<source>// Base header file. Must be first.
-#include <Include/PlatformDefinitions.hpp>
+#include <xalanc/Include/PlatformDefinitions.hpp>
#include <cmath>
#include <ctime>
-#include <util/PlatformUtils.hpp>
-#include <XalanTransformer/XalanTransformer.hpp>
-#include <XPath/XObjectFactory.hpp>
+#include <xercesc/util/PlatformUtils.hpp>
+#include <xalanc/XalanTransformer/XalanTransformer.hpp>
+#include <xalanc/XPath/XObjectFactory.hpp>
XALAN_CPP_NAMESPACE_USE
@@ -168,9 +168,9 @@
<p>These methods include arguments for the namespace, the function name, and the
function implementation.</p>
<p>When you install an extension function, the function inhabits the namespace you
designate. For information about XML namespaces, see <jump
href="http://www.w3.org/TR/REC-xml-names/">Namespaces in XML</jump>.</p>
<p>The following code fragment installs locally the square root function defined
above, and binds it to the extension-function name "square-root" in the namespace
"http://MyExternalFunction.mycompany.org" so it can be accessed from stylesheets. Keep
in mind that the function name does not need to be the same as the name of the
function class, and that a function name may be used more than once provided that each
function with that name is installed in a different namespace.</p>
-<source>#include <Include/PlatformDefinitions.hpp>
-#include <util/PlatformUtils.hpp>
-#include <XalanTransformer/XalanTransformer.hpp>
+<source>#include <xalanc/Include/PlatformDefinitions.hpp>
+#include <xercesc/util/PlatformUtils.hpp>
+#include <xalanc/XalanTransformer/XalanTransformer.hpp>
// You have created a header file for FunctionSquareRoot.
#include <MyFunctions/FunctionSquareRoot.hpp>
// The namespace...
1.42 +60 -3 xml-xalan/c/xdocs/sources/xalan/faq.xml
Index: faq.xml
===================================================================
RCS file: /home/cvs/xml-xalan/c/xdocs/sources/xalan/faq.xml,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- faq.xml 19 Apr 2003 00:51:13 -0000 1.41
+++ faq.xml 28 Jul 2003 21:46:29 -0000 1.42
@@ -1,4 +1,61 @@
<?xml version="1.0" standalone="no"?>
+<!--
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Xalan" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, Lotus
+ * Development Corporation., http://www.lotus.com. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ -->
+
<!DOCTYPE faqs SYSTEM "../../style/dtd/faqs.dtd">
<faqs title="Frequently asked questions">
@@ -97,7 +154,7 @@
</tr>
<tr>
<td>AIX 5.1</td>
- <td>IBM C and C++ for AIX 5.02</td>
+ <td>IBM C and C++ for AIX 6.00</td>
</tr>
<tr>
<td>Solaris 2.8</td>
@@ -255,7 +312,7 @@
<faq title="std:istrstream Problems Using Sun's Forte/Workshop Compiler">
<q>Why won't XSLTInputSource work with std::istrstream on Sun Solaris using
Forte/Sun Workshop compiler?</q>
<a>
- <p>There is a bug in Sun's C++ standard library implementation; see
<jump href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14176">this bug</jump>.
The short answer is that you need to get a patch. The bug gives some sample (straight
C++, no &xslt4c; library needed) to see if your setup has the bug. There is also a
link to the patch.</p>
+ <p>There is a bug in Sun's C++ standard library implementation; see
<jump href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14176">this bug</jump>.
The short answer is that you need to get a patch. The bug report includes the code for
a simple program which you can use to see if your environment has the bug. There is
also a link to the patch.</p>
</a>
</faq>
@@ -316,7 +373,7 @@
<faq title="Windows 95/98">
<q>Why can't I ouput my results to a file on Windows 95/98?</q>
<a>
- <p>Well, you can, but it doesn't always work. Neither Windows 95 or 98 are
supported or tested. There have been reporst of problems on it, especially regarding
Unicode support. See <jump
href="http://marc.theaimsgroup.com/?l=xalan-dev&m=99840914524755&w=2">this
post</jump> and <jump
href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3825">this bug</jump>.
+ <p>Well, you can, but it doesn't always work. Neither Windows 95 or 98 are
supported or tested. There have been reports of problems on it, especially regarding
Unicode support. See <jump
href="http://marc.theaimsgroup.com/?l=xalan-dev&m=99840914524755&w=2">this
post</jump> and <jump
href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3825">this bug</jump>.
</p>
</a>
</faq>
1.41 +67 -10 xml-xalan/c/xdocs/sources/xalan/getstarted.xml
Index: getstarted.xml
===================================================================
RCS file: /home/cvs/xml-xalan/c/xdocs/sources/xalan/getstarted.xml,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- getstarted.xml 21 Apr 2003 23:08:31 -0000 1.40
+++ getstarted.xml 28 Jul 2003 21:46:29 -0000 1.41
@@ -1,4 +1,61 @@
<?xml version="1.0" standalone="no"?>
+<!--
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Xalan" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, Lotus
+ * Development Corporation., http://www.lotus.com. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ -->
+
<!DOCTYPE s1 SYSTEM "../../style/dtd/document.dtd">
<s1 title="Getting Started with Xalan-C++">
@@ -11,10 +68,10 @@
</ul>
<anchor name="download"/>
<s2 title="Downloading what you need">
-<p>For &xslt4c-current;, we are distributing a Windows32 Visual C++ build and 7
UNIX builds with makefiles: a Red Hat Linux GNU build, AIX xlC (32 and 64 bit) builds,
HP-UX 11 aCC (32 and 64 bit) builds, and Solaris 2.8 (32 and 64 bit) builds.
+<p>For &xslt4c-current;, we are distributing a Windows32 Visual C++ build and 7
UNIX builds with makefiles: a Red Hat Linux GNU build, AIX xlC (32 and 64 bit) builds,
HP-UX 11 aCC (32 and 64 bit) builds, and Solaris 2.7 (32 and 64 bit) builds.
Please contact us at <human-resource-ref idref="xalandev"/> if you would like to
help provide builds for other platforms.</p>
-<p>If you do not already have it, you must also download the &xml4c; 2.2.0 build as
indicated below.</p>
-<note>The Xalan distribution files are in <resource-ref idref="xslt4c-distdir"/>.
The Xerces distribution files are in <resource-ref idref="xml4c-distdir"/>.</note>
+<p>If you do not already have it, you must also download the &xml4c; 2.3.0 build as
indicated below.</p>
+<note>The Xalan distribution files are in <resource-ref idref="xslt4c-distdir"/>.
The Xerces distribution files are in <resource-ref idref="xml4c-distdir"/>. Xalan
documentation is provided in a separate package from the binary distribution files.
For Windows, documentation is packaged with the file name Xalan-C_1_6-docs.zip. For
UNIX, documentation is packaged with the file name of Xalan-C_1_6-docs.tar.gz.</note>
<table>
<tr>
<th>Xalan distribution files</th>
@@ -32,24 +89,24 @@
<td>Redhat Linux 7.2</td>
</tr>
<tr>
- <td>&xslt4c-dist;-AIX51_502.tar.gz</td>
+ <td>&xslt4c-dist;-AIX51_600.tar.gz</td>
<td>&xml4c-aixdist;</td>
<td>AIX 5.1</td>
</tr>
<tr>
- <td>&xslt4c-dist;-AIX51_502_64.tar.gz</td>
+ <td>&xslt4c-dist;-AIX51_600_64.tar.gz</td>
<td>&xml4c-aix64dist;</td>
<td>AIX 5.1 (64 bit)</td>
</tr>
<tr>
- <td>&xslt4c-dist;-Sol2.8ForCC.tar.gz </td>
+ <td>&xslt4c-dist;-Sol2.7ForCC.tar.gz </td>
<td>&xml4c-solarisdist;</td>
- <td>Solaris 2.8</td>
+ <td>Solaris 2.7</td>
</tr>
<tr>
- <td>&xslt4c-dist;-Sol2.8ForCC_64.tar.gz </td>
+ <td>&xslt4c-dist;-Sol2.7ForCC_64.tar.gz </td>
<td>&xml4c-solaris64dist;</td>
- <td>Solaris 2.8</td>
+ <td>Solaris 2.7</td>
</tr>
<tr>
<td>&xslt4c-dist;-HP11ACC.tar.gz</td>
@@ -62,7 +119,7 @@
<td>HP-UX 11.0 (64 bit)</td>
</tr>
</table>
- <p>The Windows32 distribution was built with MSVC 6.0 SP3 and <jump
href="http://www.dinkumware.com/vc_fixes.html">Dinkumware C++ library fixes</jump>.
The Red Hat Linux 7.2 32-bit distribution was built with Intel C++ Compiler version
6.0.1. The AIX 5.1 32-bit distribution was built with IBM C and C++ for AIX 5.02. The
Solaris 2.8 32-bit and 64-bit distributions were built with Sun Workshop 6, update 2.
+ <p>The Windows32 distribution was built with MSVC 6.0 SP3 and <jump
href="http://www.dinkumware.com/vc_fixes.html">Dinkumware C++ library fixes</jump>.
The Red Hat Linux 7.2 32-bit distribution was built with Intel C++ Compiler version
7.0. The AIX 5.1 32-bit and 64-bit distributions were built with IBM C and C++ for AIX
6.00. The Solaris 2.7 32-bit and 64-bit distributions were built with Sun Workshop 6,
update 2.
The HP-UX 11 32-bit and 64-bit distributions were built with aCC A.03.37.</p>
<note>Use GNU tar to untar the Solaris distribution file; see <link idref="faq"
anchor="gnutar">A tar checksum error on Solaris </link>.</note>
<anchor name="xalandists"/>
1.7 +69 -0 xml-xalan/c/xdocs/sources/xalan/history.xml
Index: history.xml
===================================================================
RCS file: /home/cvs/xml-xalan/c/xdocs/sources/xalan/history.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- history.xml 18 Apr 2003 06:41:43 -0000 1.6
+++ history.xml 28 Jul 2003 21:46:29 -0000 1.7
@@ -1,3 +1,72 @@
+<!--
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Xalan" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, Lotus
+ * Development Corporation., http://www.lotus.com. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ -->
+
+ <s3 title="Changes for &xslt4c; version 1.5">
+ <p>Major updates since version 1.4 include:</p>
+ <ul>
+ <li><resource-ref idref="bugsfixedforthisrelease"/>.</li>
+ <li>For Windows, Xalan-C++ is now packaged as a single DLL. The
project files to build separate DLLs are now deprecated and will not be
maintained.</li>
+ <li>Support for &xml4c; DOMNode classes.</li>
+ <li>New sample <em>TransformToXercesDOM</em> that illustrates how
+ to perform a transform resulting in a &xml4c; DOMDocument</li>
+ <li>Usage of the &xml4c; C++ namespace and creation of &xslt4c;
+ namespace.</li>
+ </ul>
+ </s3>
<s3 title="Changes for &xslt4c; version 1.4">
<p>Major updates since version 1.3 include:</p>
<ul>
1.34 +1 -1 xml-xalan/c/xdocs/sources/xalan/index.xml
Index: index.xml
===================================================================
RCS file: /home/cvs/xml-xalan/c/xdocs/sources/xalan/index.xml,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- index.xml 23 Apr 2003 16:07:51 -0000 1.33
+++ index.xml 28 Jul 2003 21:46:29 -0000 1.34
@@ -3,7 +3,7 @@
* The Apache Software License, Version 1.1
*
*
- * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
1.17 +1 -1 xml-xalan/c/xdocs/sources/xalan/overview.xml
Index: overview.xml
===================================================================
RCS file: /home/cvs/xml-xalan/c/xdocs/sources/xalan/overview.xml,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- overview.xml 21 Dec 2001 18:13:31 -0000 1.16
+++ overview.xml 28 Jul 2003 21:46:29 -0000 1.17
@@ -5,7 +5,7 @@
* The Apache Software License, Version 1.1
*
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
1.46 +23 -29 xml-xalan/c/xdocs/sources/xalan/readme.xml
Index: readme.xml
===================================================================
RCS file: /home/cvs/xml-xalan/c/xdocs/sources/xalan/readme.xml,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- readme.xml 22 Apr 2003 04:45:05 -0000 1.45
+++ readme.xml 28 Jul 2003 21:46:29 -0000 1.46
@@ -8,7 +8,7 @@
* The Apache Software License, Version 1.1
*
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -71,22 +71,17 @@
<anchor name="status"/>
<s2 title="Status">
<ul>
- <li><link anchor="done">Changes since &xslt4c; version 1.4</link></li>
+ <li><link anchor="done">Changes since &xslt4c; version 1.5</link></li>
<li><link anchor="bugs">Bug reporting</link></li>
<li><link anchor="xml4c">Version of &xml4c; to use</link></li>
<li><link anchor="to-do">To-do tasks for future &xslt4c; releases</link></li>
</ul>
<anchor name="done"/>
- <s3 title="Changes since &xslt4c; version 1.4">
- <p>Major updates since version 1.4 include:</p>
+ <s3 title="Changes since &xslt4c; version 1.5">
+ <p>Major updates since version 1.5 include:</p>
<ul>
<li><resource-ref idref="bugsfixedforthisrelease"/>.</li>
- <li>For Windows, Xalan-C++ is now packaged as a single DLL. The
project files to build separate DLLs are now deprecated and will not be
maintained.</li>
- <li>Support for &xml4c; DOMNode classes.</li>
- <li>New sample <em>TransformToXercesDOM</em> that illustrates how
- to perform a transform resulting in a &xml4c; DOMDocument</li>
- <li>Usage of the &xml4c; C++ namespace and creation of &xslt4c;
- namespace.</li>
+ <li>Directory "sane include" reorganization. A new sub-directory
called 'xalanc' has been added to the src directory (for source distribution
packages) and include directory (for binary distribution packages). New source files
which include Xalan headers will need to be modified to include the 'xalanc' prefix in
the header path. <p>For example: </p><p><code>#include
<XPath/XObject.hpp></code></p><p>will need to be changed to</p> <code>#include
<xalanc/XPath/XObject.hpp></code><p>For Windows users, all project files have
been modified to reflect this change. For UNIX users, please see <link
anchor="unix">Steps for doing a UNIX build</link> for migration
considerations.</p></li>
</ul>
</s3>
<anchor name="bugs"/>
@@ -116,12 +111,12 @@
</ul></s3><anchor name="needed"/>
<s3 title="What you need from the distributions">
<p>To rebuild &xslt4c;, you need the &xslt4c; source files, the &xml4c; header
files, and
- for Windows the &xml4c; .lib file. If you want to rebuild with the ICU, you also
need the ICU header files, and for Windows the ICU .lib file.</p>
+ for Windows the &xml4c; .lib file. If you want to rebuild with the ICU, you will
need to download the ICU source package to build the ICU libraries. </p>
<p>The &xslt4c; source tree is in the src subdirectory of the &xslt4c; <link
idref="getstarted" anchor="download">binary distributions</link>. The &xml4c; header
files are in the include/xercesc tree of the corresponding &xml4c; binary
distributions. The Windows Xerces .lib file is in the lib directory of the &xml4c;
Windows binary distribution.</p>
<note>You can also download &xslt4c; source distributions from <resource-ref
idref="xslt4c-distdir"/>: &xslt4c-dist;-src.zip and &xslt4c-dist;-src.tar.gz. &xml4c;
source distributions are available from <resource-ref idref="xml4c-distdir"/>:
&xml4c-dist;-src.zip and &xml4c-dist;-src.tar.gz.</note>
-<p>Keep in mind that at any given point in time the &xslt4c; and &xml4c; source
trees in the Apache XML repository may not be consistent. When we release a version of
&xslt4c; we certify that it is compatible with a given version of &xml4c;. To be safe,
stick with Xerces distributions that we certify to be compatible. Reminder:
&xslt4c-current; is compatible with &xml4c-used;.</p>
+<p>Keep in mind that at any given point in time the &xslt4c; and &xml4c; source
trees in the Apache XML repository may not be consistent. When we release a version of
&xslt4c; we certify that it is compatible with a given version of &xml4c;. To be safe,
use the Xerces distributions that we certify as compatible. Reminder: &xslt4c-current;
is compatible with &xml4c-used;.</p>
<p>For information on using the <resource-ref idref="icu"/>, see
<link idref="usagepatterns" anchor="icu">Using the ICU</link>.
&xslt4c-current; has been tested with &icu-used;. You may be able to use newer
ICU releases as they appear.</p>
@@ -131,18 +126,15 @@
<p>If you do not want to apply the Dinkumware patches, or you are using a
different Service Pack, you must rebuild all of the Xerces and Xalan binaries.</p>
<p>Before you do the following, be sure you have <link idref="getstarted"
anchor="windowspath">provided Visual C++ the paths to the Xerces headers and
libraries</link>.</p>
<ol>
- <li>(Optional) If you are rebuilding the ICUBridge, install the ICU so the icu
root directory
- is at the same level as the xml-xerces root directory (see <link
- idref="usagepatterns" anchor="icu">Using the ICU</link>.<br/><br/>
- If you want the Xalan and/or testXSLT executable to use ICU support for
number formatting and sorting, install the ICU,
- uncomment the <code>#define XALAN_USE_ICU</code> statement in process.cpp,
and use the Visual C++
- Project Dependencies command to add ICUBridge to the list of XalanTransformer
and/or TestXSLT dependencies (see <link idref="commandline"
- anchor="icu">Enabling ICU support for the Xalan and/or TestXSLT
executable</link>).<br/><br/></li>
+ <li>If you want to enable ICU support, install the ICU so the ICU root
directory is at the same level as the xml-xerces directory (see <link
+ idref="usagepatterns" anchor="icu">Using the ICU</link>).<br/><br/></li>
<li>Use Visual C++ to open the Xalan workspace from the
xml-xalan\c\Projects\Win32\VC6.
<br/><br/></li>
- <li>Use Visual C++ to rebuild everything or specific dynamic link libraries and
executables of
- interest.</li>
+ <li>Use Visual C++ to build the Xalan library (the "AllInOne" project) and
executables of interest. If you want to enable ICU support for number formatting and
sorting, do a clean build of the Xalan library using the AllInOneWithICU project
before building any executables. ICU support for the testXSLT application requires
uncommenting of the #define XALAN_USE_ICU statement in process.cpp. (See <link
idref="commandline"
+ anchor="icu">Enabling ICU support for the Xalan and/or TestXSLT
executable</link>).</li>
</ol>
+ <note>To recompile existing applications without changing your source code, be
sure to modify your Project settings to pick up the Xalan headers in its new location.
(see image below)</note>
+ <p><img src="options-sane.gif" alt="Visual C++ 6.0 Include Directories
change"/></p>
</s3><anchor name="unix"/>
<s3 title="Steps for doing a UNIX build">
<ol>
@@ -151,8 +143,8 @@
<li>Set the XALANCROOT environment variable to the path to the c directory in
the root of the &xslt4c;
distribution. For example, if the distribution is located in "/home/xalan",
you would set the XALANCROOT to "/home/xalan/xml-xalan/c". <br/><br/></li>
<li>(Optional) If you are including the ICUBridge, install the ICU, use the
shell to define XALAN_USE_ICU and to set the ICUROOT environment variable to the path
to the ICU root. For more information, see (see <link idref="usagepatterns"
anchor="icu">Using the ICU</link>)<br/><br/></li>
- <li>Change directory to xml-xalan/c/src in the &xslt4c; distribution. You
can also build Xalan-C outside of the source tree, but you will need to adjust the
path to the runConfigure script in the next step.<br/><br/></li>
- <li>Run the runConfigure utility with the platform, C compilier, and C++
compiler flags as indicated below.<br/><br/>
+ <li>Change directory to xml-xalan/c/src/xalanc in the &xslt4c; distribution.
You can also build Xalan-C outside of the source tree, but you will need to adjust the
path to the runConfigure script in the next step.<br/><br/></li>
+ <li>Run the runConfigure utility with the platform, C compiler, and C++
compiler flags as indicated below.<br/><br/>
<ref>Linux using GCC:</ref> <code>./runConfigure -p linux -c gcc
-x c++</code><br/>
<ref>Linux using the Intel compiler:</ref> <code>./runConfigure -p
linux -c icc -x icpc</code><br/>
<ref>AIX (32 bit):</ref> <code>./runConfigure -p aix
-c xlc -x xlC</code><br/><br/>
@@ -172,13 +164,15 @@
where <ref>targ</ref> is omitted or is <code>all</code> (rebuild all),
<code>lib</code> (the XSLT library), <code>Xalan</code> (the Xalan executable), or
<code>testXSLT</code> (the testXSLT executable). ICUBridge is included in the
build of Xalan and TestXSLT if XALAN_USE_ICU is
defined. You can build the sample applications using the target
<code>samples</code>.<br/><br/></li>
- </ol><anchor name="64"/>
+ </ol>
+ <note>To recompile existing applications without changing your source code, be
sure to modify the command line in your Makefile to pick up the Xalan headers from
it's new location. e.g: if your xalan source location is in /home/xml-xalan,</note>
+ <br/> <code>CC ...
-I/home/xml-xalan/c/src -I/home/xml-xalan/c/src/xalanc mysrc.cpp</code><anchor
name="64"/>
</s3><anchor name="samples"/>
- <s3 title="Rebuilding a sample application">
- <p>The Windows32 distribution includes a Visual C++ workspace for the sample
applications. This workspace is in the samples directory. If you modify a sample and
want to recompile it, you can recompile the .cpp file(s) and rebuild the
executable.</p>
-<p>The Makefile that come with the UNIX distributions include targets for
rebuilding one or all of the sample applications (with the exception of the ThreadSafe
sample, which in its current form only runs under Windows). To rebuild one or more
sample applications, go to the xml-xalan/c/src directory and run<br/><br/>
- <code>gmake <ref>targ</ref></code><br/><br/>
-where <ref>targ</ref> is <code>Samples</code> (all the samples),
<code>XalanTransform</code>, <code>SimpleTransform</code>,
<code>StreamTransform</code>, <code>UseStylesheetParam</code>,
<code>TraceListen</code>, <code>CompileStylesheet</code>, (Windows only)
<code>ThreadSafe</code> <code>XPathWrapper</code>, <code>ExternalFunctions</code>,or
<code>ApacheModuleXSLT</code>.</p>
+ <s3 title="Rebuilding a Sample application">
+ <p>In the Windows32 distribution, all of the sample applications can be built
from the Xalan.dsw Visual C++ workspace. If you modify a sample and want to recompile
it, you can recompile the .cpp file(s) and rebuild the executable.</p>
+<p>The Makefile that come with the UNIX distributions include targets for
rebuilding one or all of the sample applications (with the exception of the ThreadSafe
sample, which in its current form only runs under Windows). To rebuild one or more
sample applications, go to the xml-xalan/c/src/xalanc directory and run<br/><br/>
+ <code>gmake <ref>Target</ref></code><br/><br/>
+where <ref>Target</ref> is <code>Samples</code> (all the samples),
<code>ApacheModuleXSLT</code>, <code>CompileStylesheet</code>,
<code>DocumentBuilder</code>, <code>ExternalFunctions</code>,
<code>ParsedSourceWrappers</code>, <code>SerializedNodeSet</code>,
<code>SimpleTransform</code>, <code>SimpleXPathAPI</code>,
<code>SimpleXPathCAPI</code>, <code>StreamTransform</code>, <code>ThreadSafe</code>
(Windows only), <code>TraceListen</code>, <code>TransformToXercesDOM</code>,
<code>UseStylesheetParam</code>, <code>XPathWrapper</code>,
<code>XalanTransform</code>, or <code>XalanTransformerCallback</code>.</p>
<note>For information on building Apache Module, see <link idref="samples"
anchor="apachemodulexslt">ApacheModuleXSLT</link></note>
</s3>
</s2><anchor name="contact"/>
1.24 +58 -1 xml-xalan/c/xdocs/sources/xalan/resources.xml
Index: resources.xml
===================================================================
RCS file: /home/cvs/xml-xalan/c/xdocs/sources/xalan/resources.xml,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- resources.xml 18 Apr 2003 23:16:05 -0000 1.23
+++ resources.xml 28 Jul 2003 21:46:29 -0000 1.24
@@ -1,4 +1,61 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Xalan" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact [EMAIL PROTECTED]
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, Lotus
+ * Development Corporation., http://www.lotus.com. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ -->
+
<!DOCTYPE resources [
<!ENTITY % externalEntity SYSTEM "../entities.ent">
%externalEntity;
@@ -58,6 +115,6 @@
<resource id="bugsfixedforthisrelease"
title="XalanC bugs fixed for this release"
-
location="http://nagoya.apache.org/bugzilla/buglist.cgi?resolution=FIXED&bugidtype=include&bug_id=&changedin=&chfield=resolution&chfieldfrom=09%2F20%2F2002&chfieldto=04%2F15%2F2003&chfieldvalue=FIXED&product=XalanC&short_desc=&short_desc_type=allwordssubstr"/>
+
location="http://nagoya.apache.org/bugzilla/buglist.cgi?resolution=FIXED&bugidtype=include&bug_id=&changedin=&chfield=resolution&chfieldfrom=04%2F15%2F2003&chfieldto=07%2F20%2F2003&chfieldvalue=FIXED&product=XalanC&short_desc=&short_desc_type=allwordssubstr"/>
</resources>
1.38 +1 -1 xml-xalan/c/xdocs/sources/xalan/samples.xml
Index: samples.xml
===================================================================
RCS file: /home/cvs/xml-xalan/c/xdocs/sources/xalan/samples.xml,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- samples.xml 18 Apr 2003 06:41:43 -0000 1.37
+++ samples.xml 28 Jul 2003 21:46:29 -0000 1.38
@@ -3,7 +3,7 @@
* The Apache Software License, Version 1.1
*
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
1.40 +15 -16 xml-xalan/c/xdocs/sources/xalan/usagepatterns.xml
Index: usagepatterns.xml
===================================================================
RCS file: /home/cvs/xml-xalan/c/xdocs/sources/xalan/usagepatterns.xml,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- usagepatterns.xml 19 Apr 2003 00:51:13 -0000 1.39
+++ usagepatterns.xml 28 Jul 2003 21:46:29 -0000 1.40
@@ -4,7 +4,7 @@
* The Apache Software License, Version 1.1
*
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -125,12 +125,12 @@
</note>
<s3 title="1. Include the required header files.">
<p>
- Always start with Include/PlatformDefinitions.hpp, the &xslt4c; base
header file. Also include util/PlatformUtils.hpp,
XalanTransformer/XalanTransformer.hpp, and any other header files your particular
application requires.
+ Always start with xalanc/Include/PlatformDefinitions.hpp, the &xslt4c;
base header file. Also include xercesc/util/PlatformUtils.hpp,
xalanc/XalanTransformer/XalanTransformer.hpp, and any other header files your
particular application requires.
</p>
<source>
-#include <Include/PlatformDefinitions.hpp>
-#include <util/PlatformUtils.hpp>
-#include <XalanTransformer/XalanTransformer.hpp>
+#include <xalanc/Include/PlatformDefinitions.hpp>
+#include <xercesc/util/PlatformUtils.hpp>
+#include <xalanc/XalanTransformer/XalanTransformer.hpp>
...
</source>
</s3>
@@ -435,8 +435,8 @@
#include <xercesc/dom/DOMDocument.hpp>
#include <xercesc/dom/DOMImplementation.hpp>
-#include <XMLSupport/FormatterToXML.hpp>
-#include <XMLSupport/XalanTransformer.hpp>
+#include <xalanc/XMLSupport/FormatterToXML.hpp>
+#include <xalanc/XMLSupport/XalanTransformer.hpp>
XALAN_USING_XERCES(DOMDocument)
XALAN_USING_XERCES(DOMImplementation)
@@ -496,8 +496,8 @@
You may want to use a Xerces DOM that was created without using the
XalanTransformer class. As the following code snippet illustrates, you can use <jump
href="apidocs/class_xercesdomwrapperparsedsource.html">XercesDOMWrapperParsedSource</jump>
to pass in a Xerces DOM as the source for an XSL transformation.
</p>
<source>
-#include <parsers/DOMParser.hpp>
-#include <XalanTransformer/XercesDOMWrapperParsedSource.hpp>
+#include <xercesc/parsers/DOMParser.hpp>
+#include <xalanc/XalanTransformer/XercesDOMWrapperParsedSource.hpp>
void parseWithXerces(XalanTransformer &xalan,
const XSLTInputSource &xmlInput,
@@ -614,20 +614,19 @@
<ol>
<li>Include the ICUBridge headers.<br/><br/></li>
<li>Substitute ICU support for format-number(), xsl:number, and/or
xsl:sort.<br/><br/></li>
- <li>Windows: Provide your application access to the ICUBridge
library.<br/>
- Linux, AIX, or HP-UX 11: Rebuild the Xalan library to include the
ICUBridge.</li>
+ <li>Rebuild the Xalan library to include the ICUBridge.</li>
</ol>
<p><em>ICUBridge</em></p>
<p>
All &xslt4c; references to ICU are centralized in the ICUBridge
module, which supplies the infrastructure for enabling ICU support for number
formatting and sorting.
</p>
<source>
-#include <ICUBridge/ICUBridge.hpp>
-#include <ICUBridge/FunctionICUFormatNumber.hpp>
-#include <ICUBridge/ICUXalanNumberFormatFactory.hpp>
-#include <ICUBridge/ICUBridgeCollationCompareFunctor.hpp>
+#include <xalanc/ICUBridge/ICUBridge.hpp>
+#include <xalanc/ICUBridge/FunctionICUFormatNumber.hpp>
+#include <xalanc/ICUBridge/ICUXalanNumberFormatFactory.hpp>
+#include <xalanc/ICUBridge/ICUBridgeCollationCompareFunctor.hpp>
</source>
- <p>For Windows be sure &icubridge-win;,the ICUBridge dynamic link library,
is on the path.</p>
+ <p>For Windows, do a clean build of the Xalan library using the
"AllInOneWithICU" project.</p>
<p>For UNIX:</p>
<ol>
<li>Define the XALAN_USE_ICU environment variable.<br/><br/></li>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]