ilene 2003/04/10 07:35:03
Modified: java/xdocs/sources/xalan whatsnew.xml commandline_xsltc.xml
resources.xml history.xml commandline.xml
samples.xml index.xml readme.xml xsltc_history.xml
xsltc_usage.xml
java/xdocs/sources entities.ent xalan-jlocal.xml
xalan-jsite.xml
test test.properties build.xml
java commits.xml build.xml
java/xdocs/style/stylesheets done.xsl
Log:
Sarah McNamara's ([EMAIL PROTECTED]) documentation patch.
Revision Changes Path
1.30 +57 -30 xml-xalan/java/xdocs/sources/xalan/whatsnew.xml
Index: whatsnew.xml
===================================================================
RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/whatsnew.xml,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- whatsnew.xml 21 Feb 2003 20:10:08 -0000 1.29
+++ whatsnew.xml 10 Apr 2003 14:34:58 -0000 1.30
@@ -57,38 +57,65 @@
* <http://www.apache.org/>.
-->
<s1 title="What's new in &xslt4j2;">
+<p>&xslt4j; 2.5 contains the following new features:</p>
<ul>
- <li><link anchor="design">New design</link></li>
+ <li><link anchor="XSLTC-DTM">Integration of DTM into the Xalan Compiled
processor (XSLTC)</link></li>
+ <li><link anchor="common_serializer">Integration of Xalan Interpretive and
Xalan Compiled Serializers</link></li>
</ul>
-<anchor name="design"/>
-<s2 title="New Design">
-<p>&xslt4j2; represents a fundamental redesign of &xslt4j;. The primary
objective of this redesign is
- an easier-to-use, more understandable, and more modular API that
encourages wider participation in
- its ongoing development by the open-source XML developer community, and
that lends itself to
- "streaming," the production of transformation output while the input is
still being parsed.</p>
-<p>&xslt4j2; builds on <resource-ref idref="sax2"/>, <resource-ref
idref="dom2"/>, and the
- <resource-ref idref="jaxp12"/>. For example, &xslt4j2; incorporates the
SAX parsing event model in
- its support for the incremental production of transformation output.
&xslt4j2; also implements the
- standard TrAX API (see below) that enables you to code your XML
applications without reference to
- the internal details of a particular Transformer or XML parser.</p>
-<p>Given the scope of the redesign, the changes with respect to &xslt4j; 1
(no longer available) are
- global in nature. For an introduction to the &xslt4j2; usage patterns,
see
- <link idref="usagepatterns">Basic Usage Patterns</link>.</p>
-<p>&xslt4j2; implements the <link idref="trax">TRaX (Transformation API for
XML)</link> interfaces. The
- product of extensive open-source collaboration by members of the XML
developer community, TrAX provides
- a conceptual framework and a standard API for performing XML
transformations. In November 2000, TrAX
- was incorporated into <resource-ref idref="jsr063"/>, the Java API for
- XML Processing 1.2 (see <resource-ref idref="jaxp12"/>).
- We strongly encourage you to utilize the TrAX framework when you use
&xslt4j2; to perform XML
- transformations.</p>
-<p>The basic organization of TrAX is quite simple: use a TransformerFactory
to process transformation
- instructions and generate a Transformer, with which you can apply the
processed transformation
- instructions to your XML Source, producing a transformation Result. For
more detail, see
- <link idref="usagepatterns" anchor="basic">Basic steps</link>.</p>
-<p>As part of the Java API for XML Processing, TraX provides a stable
framework for plugging
- Transformers (like &xslt4j;) and XML parsers (like &xml4j;) into your
applications without tying
- yourself to the internal details of those implementations. See
- <link idref="usagepatterns" anchor="plug">Plugging in a Transformer and
XML parser</link>.</p>
+<p>These new features have been driven by the need to have a closer
integration
+and better code reuse between the Xalan Interpretive and the Xalan Compiled
(XSLTC)
+processors. Prior to this release, the processors did not share much code
and they
+had different underlying models for the input xml document. Xalan
Interpretive used
+the <link idref="dtm">Document Table Model (DTM)</link> to model the input
xml, while
+XSLTC used its own DOMImpl implementation. The serializers used by the
processors were
+also different. As the project matures sharing more components between the
processors
+becomes increasingly important. This makes the code more maintainable in the
future and
+also eliminates some subtle behavioral differences between the Interpretive
and the
+Compiled processors.</p>
+
+<p>In addition to these design benefits, the integration of DTM with XSLTC
and the common
+serializer provide conformance and performance improvements to our users. In
a practical
+environment, the performance improvement for most stylesheets in XSLTC is
likely to be
+in the range of 10-20%. Stylesheets that use a lot of small result tree
fragments (RTF) can
+be a few times faster because of the new light-weight RTF model. Although
the performance
+improvement work focused mainly on the XSLTC side, the enhancements
introduced also
+contributed to performance benefits for the Xalan Interpretive processor.
As a result, the
+Interpretive processor is roughly 5-10% faster in this release.</p>
+
+<anchor name="XSLTC-DTM"/>
+<s2 title="Integration of DTM into the Xalan Compiled processor (XSLTC)">
+<p>As of the &xslt4j; 2.5 release, both the Xalan Interpretive and Xalan
Compiled (XSLTC)
+processors use the same <link idref="dtm">Document Table Model (DTM)</link>.
XSLTC's
+underlying document model, DOMImpl, was replaced with DTM and the original
DTM was extended
+so that it could be used more efficiently with XSLTC. Many of the
DOM-related classes in
+XSLTC were adapted to work with the new DTM model and only a few changes
were made in the
+compiler-related classes. However, because of the changes in the core
component, the
+translets generated by the XSLTC in this release are not binary compatible
with the
+translets generated by previous releases of XSLTC (up to and including Xalan
Java 2.5.D1).
+You'll need to recompile your stylesheets when you switch to this new
release.</p>
+</s2>
+
+<anchor name="common_serializer"/>
+<s2 title="Integration of Xalan Interpretive and Xalan Compiled Serializers">
+<p>As of the &xslt4j; 2.5 release, a common serializer is shared between the
+Xalan Interpretive and Xalan Compiled (XSLTC) processors. The common
serializer
+code resides in the org.apache.xml.serializer package. The new serializer is
+designed to take the benefits of the old serialization mechanisms from both
sides.
+By using the common serializer, many of the output differences between the
+Interpretive and the Compiled processor go away, and maintenance effort is
+reduced.</p>
+<p>During the merge of the Xalan Interpretive and XSLTC serializers, an
+effort was made to use the best performing features from each serializer.
+The new class hierarchy is similar to the one used by XSLTC. At the highest
+level the serializer classes split based on whether the output handler type
+("Stream" or "SAX"). At the next level, the hierarchy branches based on
+the output type (XML, HTML or TEXT). This allows each flavor of serializer
+to do optimizations based on the output type and whether that output is
going
+to a "Stream" or a "SAX" handler.</p>
+<p>From a functional point of view, the new serializer's output matches the
+behavior of the Interpretive processor's old serializer, such as the choice
of
+which HTML entities to write out, and how to escape attribute values in
+documents written to a stream. </p>
</s2>
</s1>
1.7 +3 -4 xml-xalan/java/xdocs/sources/xalan/commandline_xsltc.xml
Index: commandline_xsltc.xml
===================================================================
RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/commandline_xsltc.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- commandline_xsltc.xml 7 Apr 2003 18:04:12 -0000 1.6
+++ commandline_xsltc.xml 10 Apr 2003 14:34:58 -0000 1.7
@@ -70,8 +70,7 @@
<anchor name="options"/>
<s2 title="Options">
<p>The <code>org.apache.xalan.xslt.Process</code> command line now supports
&xslt4jc-short; for transformation.
-You can use the new <code>-XSLTC</code> option to enable the &xslt4jc-short;
support.
-The xsltc.jar file must be on your CLASSPATH in order to use the
<code>-XSLTC</code> option.</p>
+You can use the new <code>-XSLTC</code> option to enable the &xslt4jc-short;
support.</p>
<p>The following existing options can be used with -XSLTC:</p>
<p><code>-IN, -XSL, -OUT, -V, -EDUMP, -XML, -TEXT, -HTML, -PARAM, <br/>
-MEDIA, -FLAVOR, -DIAG, -URIRESOLVER, -ENTITYRESOLVER,<br/>
@@ -86,8 +85,8 @@
letter is X and the second letter is the same as the corresponding option in
the &xslt4jc-short; command line
<code>org.apache.xalan.xsltc.cmdline.Compile</code>.</p>
-<p>These new options can only be used with <code>-XSLTC</code>. If any of
them is used with
-&xslt4ji;, a message is printed and the option is ignored.</p>
+<p>These new options can only be used with <code>-XSLTC</code>. If any of
them is used
+with &xslt4ji;, a message is printed and the option is ignored.</p>
<p>Here is the list of the new options:</p>
<ul>
1.33 +12 -0 xml-xalan/java/xdocs/sources/xalan/resources.xml
Index: resources.xml
===================================================================
RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/resources.xml,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- resources.xml 25 Feb 2003 15:50:10 -0000 1.32
+++ resources.xml 10 Apr 2003 14:34:58 -0000 1.33
@@ -13,6 +13,9 @@
mailto CDATA #IMPLIED>
]>
<resources>
+ <resource id="xslt4j"
+ title="&xslt4j;"
+ location="http://xml.apache.org/xalan-j"/>
<resource id="xslt4j-current"
title="&xslt4j-current;"
location="http://xml.apache.org/xalan-j"/>
@@ -171,5 +174,14 @@
<human-resource id="zongaro"
name="Henry Zongaro"
mailto="[EMAIL PROTECTED]"/>
+ <human-resource id="minchau"
+ name="Brian Minchau"
+ mailto="[EMAIL PROTECTED]"/>
+ <human-resource id="igor"
+ name="Igor Hersht"
+ mailto="[EMAIL PROTECTED]"/>
+ <human-resource id="jycli"
+ name="Christine Li"
+ mailto="[EMAIL PROTECTED]"/>
</resources>
1.34 +304 -0 xml-xalan/java/xdocs/sources/xalan/history.xml
Index: history.xml
===================================================================
RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/history.xml,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- history.xml 2 Apr 2003 17:43:06 -0000 1.33
+++ history.xml 10 Apr 2003 14:34:58 -0000 1.34
@@ -59,6 +59,310 @@
<s1 title="History of software changes">
<p>The following sections list the core software changes in each release
since &xslt4j; version 2.0.D01.</p>
&history2xsltc;
+<s2 title="Changes for &xslt4j; 2.5.0">
+<p> Core (Non-XSLTC) source code updates:</p>
+<ul><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/02/21<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/dom SAXImpl.java
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm
SAX2DTM2.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+Small improvement to SAXImpl.copyElement().
+Move the getStringValue() method from SAXImpl to SAX2DTM2.
+Remove the SAXImpl.stringValueAux() method.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/02/25<br/><ref>Modified: </ref> xml-xalan/java/src
xml-commons-src.tar.gz xml-xalan/java/bin xml-apis.jar<br/><ref>Committer's log
entry: </ref>
+Update to latest version of xml-apis.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/02/26<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm
SAX2DTM2.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+Improvement to DescendantIterator. If _startNode is the root node, do
+not need to do the isDescendant() check.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/02/26<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm
SAX2DTM2.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+Set the nextsib element of an attribute or namespace node to -1.
+This makes the logic in the iterators simpler and easier to
+maintain.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/02/27<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/lib/sql DTMDocument.java
xml-xalan/java/src/org/apache/xalan/xsltc/compiler Constants.java
xml-xalan/java/src/org/apache/xalan/xsltc/dom SAXImpl.java
xml-xalan/java/src/org/apache/xalan/xsltc/runtime AttributeList.java
xml-xalan/java/src/org/apache/xml/dtm/ref DTMDefaultBase.java
DTMStringPool.java xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm
SAX2DTM.java SAX2DTM2.java xml-xalan/java/src/org/apache/xml/utils
SuballocatedIntVector.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+Improvement for RTF. These changes improve the performance
+for stylesheets which create and throw away many small RTFs.
+
+Make the sizes of all internal storage units used by SAXImpl configurable.
+These include SuballocatedIntVector, DTMStringPool, IntStack and
FastStringBuffer.
+The chain size of DTMStringPool and the number of blocks in
SuballocatedIntVector
+can now be passed in the constructor. These sizes are set to smaller values
in
+the RTF case.
+
+The default RTF size is changed to 32. There is also a change in the XSLTC
+AttributeList class to use on-demand memory allocation for the internal
vectors.
+The vectors are only allocated when there is an attribute.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/02/27<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm
SAX2DTM2.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+Small improvement to DescendantIterator and TypedDescendantIterator.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/02/28<br/><ref>Modified: </ref>
xml-xalan/java/samples/extensions/sql/streamable cachedNodes.xsl pivot.xsl
xml-xalan/java/xdocs/sources/xalan samples.xml
xml-xalan/java/samples/CompiledApplet menu.html README.applet
xml-xalan/java/samples/extensions/sql/basic-connection dbinfo.xml
dbtest.xsl<br/><ref>Committer's log entry: </ref>
+More sample and documentation updates from Christine Li ([EMAIL PROTECTED]).
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/02/28<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/transformer
TrAXFilter.java<br/><ref>Committer's log entry: </ref>
+Add a getTransformer() interface to TrAXFilter. This is a user requested
+feature. This interface can be used by the UseXMLFilters samples to
+set the output properties correctly.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/02/28<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/dom SAXImpl.java
xml-xalan/java/src/org/apache/xml/dtm/ref DTMDefaultBase.java
DTMDefaultBaseIterators.java DTMDefaultBaseTraversers.java
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm SAX2DTM.java
SAX2DTM2.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+Do not create the previous sibling array for XSLTC. This array is not used
+in XSLTC's SAXImpl. Creating it is a waste of time.
+
+We add a boolean flag to the constructors of DTMDefaultBase and its
+subclasses to indicate whether the previous sibling array should be created.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/02/28<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xml/dtm/ref
DTMDefaultBase.java<br/><ref>Committer's log entry: </ref>
+Correct an error. The DTMDefaultBase.getPreviousSibling() interface
+returns a node handle instead of a node identity.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/02/28<br/><ref>Modified: </ref> xml-xalan/java/samples/CompiledEJB
bottom_frame.html index.html README.ejb top_frame.html
xml-xalan/java/samples/CompiledServlet CompileServlet.java
README.servlet<br/><ref>Committer's log entry: </ref>
+Patches for samples from Christine Li ([EMAIL PROTECTED])
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/03<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/transformer
TrAXFilter.java<br/><ref>Committer's log entry: </ref>
+Propagate the change from head branch to XSLTC_DTM.
+Add a new getTransformer() interface to TrAXFilter.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/03<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/transformer
TrAXFilter.java<br/><ref>Committer's log entry: </ref>
+Add a new getTransformer() interface to TrAXFilter.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/03<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/cmdline Transform.java
xml-xalan/java/src/org/apache/xalan/xsltc/compiler Constants.java NameBase.java
Stylesheet.java xpath.cup XSLTC.java
xml-xalan/java/src/org/apache/xalan/xsltc/dom DOMImpl.java DocumentCache.java
LoadDocument.java SAXImpl.java XSLTCDTMManager.java
xml-xalan/java/src/org/apache/xalan/xsltc/runtime AbstractTranslet.java
BasisLibrary.java xml-xalan/java/src/org/apache/xalan/xsltc/trax
TransformerHandlerImpl.java TransformerImpl.java XSLTCSource.java
xml-xalan/java/src/org/apache/xml/dtm/ref DTMDefaultBase.java
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm
SAX2DTM2.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+
+Implement a feature for on-demand building of the ID index table.
+
+Before this change, the SAX2DTM2 class always builds an ID index
+hashtable by comparing the name of every attribute with "id". Now
+we maintain a flag _hasIdCall in AbstractTranslet to indicate
+whether the translet has id function calls. The value of this flag
+is compiled into the translet from the Stylesheet class. The Stylesheet
+class also has an _hasIdCall flag, which is set by the XPath parser.
+
+When a SAXImpl object is created, the _hasIdCall flag is passed in from the
+Translet. Now the id index table is only built when the stylesheet makes
+use of the id function.
+
+Also fix a bug in the NameBase class for using an incorrect class name
+(org.apache.xml.dtm.ref.DTMAxisIterator should be
org.apache.xml.dtm.DTMAxisIterator).
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/06<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/dom AnyNodeCounter.java
DOMAdapter.java xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm
SAX2DTM2.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+Improvement for xsl:number. Introduce an optimized version of
+getExpandedTypeID() in SAX2DTM2.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/07<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/dom DOMWSFilter.java
NodeSortRecord.java xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm
SAX2DTM2.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+Improvement for xsl:strip-space by caching the DTM that is used last time.
+Better Collator handling in NodeSortRecord.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/10<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm
SAX2DTM2.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+Save the values of attribute, namespace, comment and PI nodes
+in a plain Vector instead of in DTMStringPool. Saving a String
+in DTMStringPool involves a hash calculation. These values
+are unlikely to be equal. Saving them in a plain Vector has a
+lower cost than saving them in DTMStringPool. Only prefixed QNames
+are saved in DTMStringPool after this change.
+
+Need to make changes in a few interfaces to accommadate this change.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/13<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xml/utils
FastStringBuffer.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+Small improvement in FastStringBuffer.sendSAXCharacters() when the whole
+piece of text is in one chunk.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/14<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm
SAX2DTM2.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+Small improvement in SAX2DTM2.getStringValueX() and dispatchCharacterEvents()
+by saving one local variable.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/14<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/dom CollatorFactoryBase.java
SAXImpl.java xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm
SAX2DTM2.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+Save the offset and length of a Text node in a bitwise encoded value (10
+bits for length and 21 bits for offset) if they are within certain limits.
+Before this change, we need 3 SuballocatedIntVector calls to get the offset
+and length information. Now we only need one SuballocatedIntVector call,
+one bit AND & one SHIFT. Bit AND and SHIFT are faster than accessing a
+SuballocatedIntVector.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/20<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xml/dtm/ref
DTMDefaultBase.java<br/><ref>Committer's log entry: </ref>
+Fix a bug for testcase axes129.
+DTMDefaultBase.getFirstNamespaceNode() should return NULL when
+the given node is not an element. axes129 passed in both
+Xalan and XSLTC_DTM after this change.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/20<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xml/dtm/ref
DTMDefaultBaseTraversers.java<br/><ref>Committer's log entry: </ref>
+Oops! Old bug, just noticed -- we forgot to override RootTraverser's typed
first().
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/21<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/dom NthIterator.java
xml-xalan/java/src/org/apache/xml/dtm DTMAxisIterator.java
xml-xalan/java/src/org/apache/xml/dtm/ref DTMAxisIteratorBase.java
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm
SAX2DTM2.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+Improvement for step[n]. Introduce a new interface getNodeByPosition(int
position)
+in DTMAxisIterator, which is used by the NthIterator. The default
implementation
+is in DTMAxisIteratorBase. The subclasses can override this interface to
provide
+a faster customized implementation.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/21<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/dom SAXImpl.java
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm
SAX2DTM2.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+Introduce a copyAttribute() method in SAXImpl to speed up
+attribute copying.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/24<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm SAX2DTM.java
SAX2DTM2.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+Improvement in DTM building. Make the code more efficient
+in a few expensive interfaces.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/24<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/dom DOMAdapter.java
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm
SAX2DTM2.java<br/><ref>Committer's log entry: </ref>
+Fix a bug in XSLTC_DTM.
+Change the name of the optimized getExpandedTypeID method to
getgetExpandedTypeID2.
+The old one can be used during DTM building, while the new one is only
+used in document traversal.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/25<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/res XSLTErrorResources.java
XSLTErrorResources.properties XSLTErrorResources.java
XSLTErrorResources.properties xml-xalan/java/src/org/apache/xalan/templates
FuncDocument.java FuncDocument.java xml-xalan/java/src/org/apache/xalan/res
XSLTErrorResources.java XSLTErrorResources.properties XSLTErrorResources.java
XSLTErrorResources.properties xml-xalan/java/src/org/apache/xalan/templates
FuncDocument.java FuncDocument.java<br/><ref>Committer's log entry: </ref>
+Committing Christine Li's ([EMAIL PROTECTED]) patch for bugzilla #18210.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm SAX2DTM.java
SAX2DTM2.java<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xml.dtm.ref.sax2dtm.
+Add new file SAX2DTM2.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xml/dtm/ref/dom2dtm
DOM2DTM.java<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xml.dtm.ref.dom2dtm.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xml/dtm DTM.java DTMAxisIterator.java
DTMManager.java<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xml.dtm.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xml/dtm/ref DTMAxisIteratorBase.java
DTMAxisIterNodeList.java DTMChildIterNodeList.java DTMDefaultBase.java
DTMDefaultBaseIterators.java DTMDefaultBaseTraversers.java DTMDocumentImpl.java
DTMManagerDefault.java DTMNamedNodeMap.java DTMNodeList.java
DTMNodeListBase.java DTMNodeProxy.java DTMStringPool.java
ExpandedNameTable.java ExtendedType.java
IncrementalSAXSource_Xerces.java<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xml.dtm.ref.
+Add new files:
+DTMAxisIterNodeList.java
+DTMChildIterNodeList.java
+DTMNodeListBase.java
+ExtendedType.java
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xml/res
XMLErrorResources.java<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xml.res.
+Add new messages for common serializer.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xml/serializer AttributesImplSerializer.java
CharInfo.java DOMSerializer.java ElemDesc.java EmptySerializer.java
EncodingInfo.java Encodings.java Encodings.properties
ExtendedContentHandler.java ExtendedLexicalHandler.java HTMLEntities.res
Method.java NamespaceMappings.java output_html.properties
output_text.properties output_unknown.properties output_xml.properties
OutputPropertiesFactory.java OutputPropertyUtils.java package.html
SerializationHandler.java Serializer.java SerializerBase.java
SerializerConstants.java SerializerFactory.java SerializerTrace.java
SerializerTraceWriter.java ToHTMLSAXHandler.java ToHTMLStream.java
ToSAXHandler.java ToStream.java ToTextSAXHandler.java ToTextStream.java
ToUnknownStream.java ToXMLSAXHandler.java ToXMLStream.java
TransformStateSetter.java WriterToASCI.java WriterToUTF8.java
WriterToUTF8Buffered.java XMLEntities.res
XSLOutputAttributes.java<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Add new serializer classes under package org.apache.xml.serializer.
+Log from Brian Minchau ([EMAIL PROTECTED]):
+
+In the past Xalan-J interpretive (Xalan) and XSLTC both implemented their own
+serialization stages. Much of the code provides the same functionality.
+In order to improve the maintainability of the code, and to eliminate any
+functional differences, these two serializers are now merged in the
+org.apache.xml.serializer package.
+
+The best performing features of both have been used. The class hierarchy
+of serializers used by XSLTC is re-used for this reason. At the highest
+level the serializer classes split based on whether the output of the
+serializer is a "Stream" or whether it is a "SAX" handler. After that
+both major branches split based on the output type (e.g. XML, HTML or TEXT).
+
+The external user interface of the old Xalan serializer has been kept.
+Other classes and interfaces have been absorbed into the serializer
+package to keep it independent of both Xalan and XSLTC. The primary
+interface, SerializationHandler, accepts SAX and SAX-like calls, but
+it also absorbs other interfaces from the old Xalan serializer.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xml/utils DOMHelper.java FastStringBuffer.java
IntStack.java SuballocatedIntVector.java XMLStringDefault.java
XMLStringFactoryDefault.java<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xml.utils.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/extensions
XSLProcessorContext.java<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.extensions.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/lib ExsltDatetime.java PipeDocument.java
Redirect.java xml-xalan/java/src/org/apache/xalan/lib/sql
DTMDocument.java<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.lib.
+
+1. Change the return types of some date-time extension functions
+for support in XSLTC.
+
+2. Changes for the new serializer.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/processor ProcessorOutputElem.java
TransformerFactoryImpl.java<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.processor.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/serialize CharInfo.java DOMSerializer.java
ElemDesc.java EncodingInfo.java Encodings.java Encodings.properties
HTMLEntities.res Method.java package.html Serializer.java serializer.properties
SerializerFactory.java SerializerToHTML.java SerializerToText.java
SerializerToXML.java SerializerUtils.java WriterToASCI.java WriterToUTF8.java
WriterToUTF8Buffered.java XMLEntities.res<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Remove old serializer classes under org.apache.xalan.serialize.
+The new serializer files are now in org.apache.xml.serializer.
+Add new file SerializerUtils.java.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/templates ElemApplyTemplates.java
ElemAttribute.java ElemCopy.java ElemCopyOf.java ElemElement.java
ElemExtensionCall.java ElemForEach.java ElemLiteralResult.java
ElemTemplateElement.java ElemTextLiteral.java ElemValueOf.java
output_html.properties output_text.properties output_xml.properties
OutputProperties.java StylesheetRoot.java<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.templates.
+Replace ResultTreeHandler with SerializationHandler.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/trace GenerateEvent.java
PrintTraceListener.java<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.trace.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/transformer ClonerToResultTree.java
QueuedEvents.java ResultTreeHandler.java SerializerSwitcher.java
TransformerHandlerImpl.java TransformerIdentityImpl.java TransformerImpl.java
TransformSnapshot.java TransformSnapshotImpl.java TransformState.java
TreeWalker2Result.java XalanTransformState.java<br/><ref>Committer's log entry:
</ref>
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.transformer for the new serializer.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref> xml-xalan/java build.xml
xsltc_todo.xml<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Update build.xml and xsltc_todo.xml.
+
+Now the default build target is a big xalan.jar which
+includes both Xalan-J Interpretive and XSLTC.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref> xml-xalan/java/src
MANIFEST.MF<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Update MANIFEST.MF to include information about
+xsltc and its support jars.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/02<br/><ref>Modified: </ref> xml-xalan/java/bin
xercesImpl.jar<br/><ref>Committer's log entry: </ref>
+Updating to Xerces-J 2.4.0.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/02<br/><ref>Modified: </ref> xml-xalan/java/src
MANIFEST.MF<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Update spec version for XSLTC in MANIFEST.MF
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/02<br/><ref>Modified: </ref>
xml-xalan/java/samples/CompiledApplet menu.html README.applet
TransformApplet.java xml-xalan/java/samples/CompiledBrazil README.brazil
TransformHandler.java xml-xalan/java/samples/CompiledEJB README.ejb
TransformBean.java xml-xalan/java/samples/CompiledJAXP Compile.java
README.cjaxp Transform.java xml-xalan/java/samples/CompiledServlet
README.servlet TransformServlet.java xml-xalan/java/samples/DOM2DOM
DOM2DOM.java xml-xalan/java/samples/Pipe Pipe.java
xml-xalan/java/samples/SAX2SAX SAX2SAX.java xml-xalan/java/samples/translets
JAXPTransletMultipleTransformations.java JAXPTransletOneTransformation.java
todo.xsl xml-xalan/java/samples/UseXMLFilters
UseXMLFilters.java<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+
+Update in the samples
+1. Changes from Henry Zongaro ([EMAIL PROTECTED]) in the
+XSLTC samples. Use TrAX API instead of native API.
+2. Changes from Brian Minchau ([EMAIL PROTECTED]) to use
+the new serializer classes.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/02<br/><ref>Modified: </ref>
xml-xalan/java/samples/CompiledApplet singleTransform.html
xml-xalan/java/samples/CompiledEJB bottom_frame.html index.html top_frame.html
xml-xalan/java/samples/translets todo.xml todotoo.xml<br/><ref>Committer's log
entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Add new sample files.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/02<br/><ref>Modified: </ref> xml-xalan/java/xdocs/sources
entities.ent xalan-jlocal.xml xalan-jsite.xml
xml-xalan/java/xdocs/sources/xalan commandline_xsltc.xml commandline.xml
dtm.xml history.xml readme.xml samples.xml usagepatterns.xml xsltc_history.xml
xsltc_usage.xml<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+
+Update in java/xdocs.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/03<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xpath/axes
FilterExprWalker.java<br/><ref>Committer's log entry: </ref>
+Commit patch for bug 12797 from Arun Yadav ([EMAIL PROTECTED]).
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/03<br/><ref>Modified: </ref> xml-xalan/java
build.xml<br/><ref>Committer's log entry: </ref>
+Added a new "fulldist" target. It builds a distribution that includes
Xalan-J
+components that depend upon non-standard components that aren't part of the
+Xalan-J repository. In particular, xsltcbrazil.jar is built under the
+"fulldist" target, but not under the ordinary "dist" target.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/04<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xml/serializer ToStream.java<br/><ref>Committer's
log entry: </ref>
+Replace Vector.add() by Vector.addElement() because the first method
+is not in JDK 1.1.8.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/05<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/processor TransformerFactoryImpl.java
xml-xalan/java/src/org/apache/xml/utils TreeWalker.java<br/><ref>Committer's
log entry: </ref>
+Instead of setting a default baseURI in newTemplates, append a dummy string
+to the default used in the TreeWalker constructors. This solves the problem
+of violating the SourceLocator.getSystemId API which should return null
+if if no systemId was set, while allowing relative URI's to be resolved when
+the source is a DOM and no systemID has been set. Relative URI's are
already
+resolved correctly for other source types.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/06<br/><ref>Modified: </ref>
xml-xalan/java/samples/CompiledApplet TransformApplet.java
README.applet<br/><ref>Committer's log entry: </ref>
+Patch from Christine Li ([EMAIL PROTECTED]). Reworked applet code so that
the
+init method creates a thread to which it delegates all the work of creating
+Transformers and performing transformations.
+
+Xalan needs all of its classes to be loaded with respect to the same class
+loader. The thread that's created will have the context class loader, if
any,
+that is in effect when the applet's init method is called, but calls to other
+methods on the applet might not have the same context class loader. Using a
+thread avoids any problems that might arise from such a situation.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/06<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xml/serializer CharInfo.java
HTMLEntities.properties output_html.properties output_xml.properties
XMLEntities.properties xml-xalan/java/xdocs/sources/xalan
usagepatterns.xml<br/><ref>Committer's log entry: </ref>
+Patch from Christine Li ([EMAIL PROTECTED]). Changed CharInfo so that it
allows
+descriptions of entities to be specified as a properties file in addition to
a
+Xalan-specific resource file format.
+
+The code previously always assumed a Xalan-specific resource file format, for
+both user-supplied descriptions of entities, and for those supplied with
+Xalan-J. The security restrictions of applets are such that an applet that
+relies on a copy of Xalan-J in the Java run-time would find that Xalan-J
would
+be unable to read the default entities file that is packaged with the JRE on
+the applet's behalf - it can only do so with a properties, via
ResourceBundle.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/07<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/lib ExsltDatetime.java<br/><ref>Committer's
log entry: </ref>
+Commit an implementation of the date-time:format-date() extension function
+(bugzilla 18713) contributed by Helg Bredow ([EMAIL PROTECTED]).
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/07<br/><ref>Modified: </ref> xml-xalan/java/xdocs/sources/xalan
commandline_xsltc.xml<br/><ref>Committer's log entry: </ref>
+Docs update
+Document the new "use-classpath" attribute
+which is supported in the XSLTC TrAX API.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/07<br/><ref>Modified: </ref>
xml-xalan/java/samples/CompiledServlet README.servlet TransformServlet.java
xml-xalan/java/samples/CompiledBrazil README.brazil<br/><ref>Committer's log
entry: </ref>
+Sample updates from Christine Li ([EMAIL PROTECTED]).
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/08<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/serialize DOMSerializer.java
Serializer.java SerializerFactory.java
xml-xalan/java/src/org/apache/xml/serializer DOMSerializer.java
SerializationHandler.java SerializerBase.java ToHTMLStream.java
ToUnknownStream.java xml-xalan/java/src/org/apache/xalan/templates
OutputProperties.java<br/><ref>Committer's log entry: </ref>
+Patch from Brian Minchau ([EMAIL PROTECTED]) for backward compatibility
+of new serializers. Also a fix related to a failure in the DOM2DOM sample.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/09<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xml/serializer HTMLEntities.res
XMLEntities.res<br/><ref>Committer's log entry: </ref>
+Dropped descriptions of entities in the form of resource files in favour of
+those in the form of properties file. The resource files are still
supported,
+but Xalan-J's serializer only requires one.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/09<br/><ref>Modified: </ref> xml-xalan/java
build.xml<br/><ref>Committer's log entry: </ref>
+Dropped descriptions of entities in the form of resource files in favour of
+those in the form of properties file. The resource files are still
supported,
+but Xalan-J's serializer only requires one.
+<br/><br/></li></ul>
+</s2>
<s2 title="Changes for &xslt4j; 2.4.1">
<p> Core (Non-XSLTC) source code updates:</p><ul>
<li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2002/09/06<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/lib/sql
DefaultConnectionPool.java<br/><ref>Committer's log entry: </ref>
1.26 +1 -2 xml-xalan/java/xdocs/sources/xalan/commandline.xml
Index: commandline.xml
===================================================================
RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/commandline.xml,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- commandline.xml 2 Apr 2003 17:43:06 -0000 1.25
+++ commandline.xml 10 Apr 2003 14:34:58 -0000 1.26
@@ -74,8 +74,7 @@
<li>Download &xslt4j;.<br/><br/></li>
<li><link idref="getstarted" anchor="classpath">Set the Java
classpath</link> to include xalan.jar, xml-apis.jar, and
&xml4j-jar; -- or another conformant XML Parser -- (see <link
idref="usagepatterns" anchor="plug">Plugging in
- the Transformer and XML parser</link>). Also include xsltc.jar in the
classpath if you want to use
- &xslt4jc-short; related options.<br/><br/></li>
+ the Transformer and XML parser</link>).<br/><br/></li>
<li>Call java and the Process class with the appropriate 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
1.55 +1 -1 xml-xalan/java/xdocs/sources/xalan/samples.xml
Index: samples.xml
===================================================================
RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/samples.xml,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- samples.xml 2 Apr 2003 17:43:06 -0000 1.54
+++ samples.xml 10 Apr 2003 14:34:58 -0000 1.55
@@ -94,7 +94,7 @@
</tr>
<tr>
<td>xalansamples.jar</td>
- <td>Everything except the Xalan-J Interpretive servlet sample and some
+ <td>Everything except the &xslt4ji; servlet sample and some
&xslt4jc-short; samples</td>
</tr>
<tr>
1.53 +2 -4 xml-xalan/java/xdocs/sources/xalan/index.xml
Index: index.xml
===================================================================
RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/index.xml,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- index.xml 21 Feb 2003 20:10:08 -0000 1.52
+++ index.xml 10 Apr 2003 14:34:58 -0000 1.53
@@ -85,15 +85,13 @@
<anchor name="current"/>
<s2 title="How about this release?">
- <p>&xslt4j-current; is a developer release that works with &xml4j;. The
distribution includes
- xercesImpl.jar from &xml4j-used;.</p>
+ <p>&xslt4j-current; works with &xml4j;, and the distribution includes
xercesImpl.jar from &xml4j-used;.</p>
<p>Support for the &xslt4j; release 1 API, which predates the design of
the JAXP 1.2/TrAX interfaces,
has been dropped.</p>
<p>The &xslt4j; implementation is in xalan.jar. The SAX, DOM, and JAVAX
interfaces are in xml-apis.jar.
These interfaces are shared by a number of tools (&xslt4j;, &xml4j;,
etc.), so placing them in a
separate JAR simplifies coordination and reduces risk of duplication.
- <em>Be sure to put both JAR files (and xercesImpl.jar or another JAXP
1.2-compliant XML parser) on
- your classpath!</em></p>
+ <em>Be sure to put both JAR files (and xercesImpl.jar or another JAXP
1.2-compliant XML parser) on your classpath!</em></p>
</s2>
<anchor name="moreinfo"/>
1.92 +27 -1 xml-xalan/java/xdocs/sources/xalan/readme.xml
Index: readme.xml
===================================================================
RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/readme.xml,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -r1.91 -r1.92
--- readme.xml 2 Apr 2003 17:43:06 -0000 1.91
+++ readme.xml 10 Apr 2003 14:34:58 -0000 1.92
@@ -69,13 +69,30 @@
</ul><anchor name="status0"/>
<s2 title="Status">
<ul>
- <li><link anchor="done">Changes since version 2.4.1</link></li>
+ <li><link anchor="done">Changes since version 2.5.D1</link></li>
<li><link anchor="other">Other points of interest</link></li>
<li><link anchor="bugs">Bugs</link></li>
<li><link anchor="status">Version of &xml4j; to use</link></li>
<li><link anchor="developer-list">&xslt4j; developers</link></li>
</ul>
<anchor name="done"/>
+ <s3 title="Changes since &xslt4j; 2.5.D1">
+ <p>&xslt4j; 2.5.0 contains a variety of features, bug fixes and
+ performance enhancements.</p>
+ <p>New features in &xslt4j; 2.5.0 include:
+ <ul>
+ <li>integration of the Document Table Model (DTM) with the XSLTC
+ processor [Henry Zongaro, Morris Kwan] and </li>
+ <li>integration of the Xalan Interpretive and Xalan Compiled
+ serializers into a common serializer [Brian Minchau].</li>
+ </ul>
+ These features have been driven by a need to get common behavior,
+ improve maintainability, reduce duplication of effort for future
work,
+ and in some cases improve performance and conformance.</p>
+ <p>Refer to <link idref="whatsnew">What's New</link> for a description
of the new function
+ and <link idref="history">History of software changes</link> for a
list of the various
+ bug fixes and other enhancements in this release.</p>
+ </s3>
<s3 title="Changes since &xslt4j; 2.4.1">
<p>This developer's release, Xalan-Java 2.5.D1, is primarily for the
purpose of releasing
various bug fixes to the community. These will eventually be
released officially in
@@ -540,6 +557,15 @@
<li><human-resource-ref idref="zongaro"/>
<br/>Xalan-J developer.
</li>
+ <li><human-resource-ref idref="minchau"/>
+ <br/>Xalan-J developer.
+ </li>
+ <li><human-resource-ref idref="igor"/>
+ <br/>Xalan-J developer.
+ </li>
+ <li><human-resource-ref idref="jycli"/>
+ <br/>Xalan-J developer.
+ </li>
</ul>
</s2>
</s1>
1.10 +284 -0 xml-xalan/java/xdocs/sources/xalan/xsltc_history.xml
Index: xsltc_history.xml
===================================================================
RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/xsltc_history.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- xsltc_history.xml 2 Apr 2003 17:43:06 -0000 1.9
+++ xsltc_history.xml 10 Apr 2003 14:34:58 -0000 1.10
@@ -58,6 +58,290 @@
-->
<s1 title="XSLTC software changes">
<p>The following sections list <link idref="xsltc_usage">XSLTC</link>
changes back to the incorporation of XSLTC into &xslt4j;.</p>
+<s2 title="Changes or &xslt4j; 2.5.0">
+<p>XSLTC source code updates:</p>
+<ul><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/02/21<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/compiler Constants.java
Message.java<br/><ref>Committer's log entry: </ref>
+ New implementation of xsl:message that does not use RTFs. Using RTFs
+ is both slow and problematic since the number of RTFs that can be
+ created is limited in XSLTC.
+
+ The new implementation uses a StreamXMLOutput and a StringWriter to
+ output the template body as a string (in some cases, NS declarations
+ will be included and this behavior differs from the old implementation).
+ Additionally, the new implementation optimizes the case where the
+ message is empty and where the message is just a literal string.
+
+ The bug was reported by Mark Brunkhart ([EMAIL PROTECTED]).
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/02/21<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc DOM.java
xml-xalan/java/src/org/apache/xalan/xsltc/dom DOMAdapter.java DOMImpl.java
MultiDOM.java<br/><ref>Committer's log entry: </ref>
+ Removed the getTreeString() method from the DOM interface (as well as
+ from all the classes that implement this interface). This update will
+ require a sync with the XSLTC_DTM branch, but there was no point in
+ keeping this method when it's no longer used.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/02/26<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util
ReferenceType.java<br/><ref>Committer's log entry: </ref>
+ Fix for Bugzilla 17447. Conversion from reference type to string type
+ assumed the existence of the "current" local variable, which is
+ unavailable at top-level.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/02/26<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/dom SAXImpl.java<br/><ref>Committer's
log entry: </ref>
+XSLTC_DTM performance work
+Improvement for xsl:copy-of. Instead of using the expensive
getFirstAttribute()
+and getFirstNamespace() interfaces, increase the element id by 1 to iterate
+through all attribute and namespace nodes.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/02/27<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/dom SAXImpl.java<br/><ref>Committer's
log entry: </ref>
+XSLTC_DTM performance work
+Minor cleanup to SAXImpl.copy() and copyElement(). Introduce a new interface
+handleTextEvents() to handle Text nodes more efficiently.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/05<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc DOM.java
xml-xalan/java/src/org/apache/xalan/xsltc/compiler SyntaxTreeNode.java
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util ResultTreeType.java
xml-xalan/java/src/org/apache/xalan/xsltc/dom DOMAdapter.java DOMImpl.java
MultiDOM.java SAXImpl.java xml-xalan/java/src/org/apache/xalan/xsltc/runtime
BasisLibrary.java xml-xalan/java/src/org/apache/xalan/xsltc/trax
XSLTCSource.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+
+Design a new DOM model (SimpleResultTreeImpl) for simple result tree
+fragment (RTF). A simple RTF is an RTF which has only one Text node.
+It can be generated by a combination of Text, xsl:value-of and xsl:number
+instructions. It can also be generated by xsl:if or xsl:choose, as far
+as the content of the control body is pure Text. The code to detect whether
+an RTF is simple is in SyntaxTreeNode.isSimpleRTF().
+
+Before this change, an RTF is represented by a SAXImpl object. SAXImpl is
+a heavy-weight class in that it allocates a lot of array objects for storage.
+In the case where the RTF is only one Text node, creating a SAXImpl is just
+too expensive.
+
+A SimpleResultTreeImpl has only two nodes, i.e. the root node and the Text
+node. All DOM interfaces are overridden to handle this simplified model.
+SimpleResultTreeImpl has a few internal iterators, which is designed to
support
+the nodeset() extension function.
+
+This change brings a significant improvement to stylesheets that create
+a lot of simple RTFs. Some testcases are more than 100% faster after the
change.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/05<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/dom
SimpleResultTreeImpl.java<br/><ref>Committer's log entry: </ref>
+Add a new class SimpleResultTreeImpl as the model for simple RTF.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/06<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/dom MultiDOM.java NodeSortRecord.java
SAXImpl.java xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output
StreamHTMLOutput.java StreamXMLOutput.java
xml-xalan/java/src/org/apache/xalan/xsltc/util
IntegerArray.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+
+A few small improvements. More space efficient version of
IntegerArray.clone().
+Rearrange the condition checking in StreamXML(HTML)Output.escapeCharacters().
+Only create one default Collator instance in NodeSortRecord.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/07<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/dom DOMAdapter.java
SAXImpl.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+Small tweaks in DOMAdapter. Invoking a final method is generally faster than
+invoking a method via interface.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/07<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/runtime AbstractTranslet.java
xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output
StreamOutput.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+Improvement in StreamOutput.escapeString(). Do not create the StringBuffer
+if there is nothing to escape.
+
+This change needs to be put back to the new serializer if it uses the same
+code.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/07<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/runtime
StringValueHandler.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+Use a more sophisticated algorithm in StringValueHandler.
+Do not create new Strings if there is only String value.
+Creating many new Strings is an expensive operation.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/10<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/trax
TemplatesHandlerImpl.java<br/><ref>Committer's log entry: </ref>
+Fix a bug that causes id function testcases to fail in trax.sax flavor.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/11<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/dom
LoadDocument.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+Set the namespace feature directly on the XMLReader.
SAXParserFactory.setFeature()
+actually creates a temporary SAXParser to verify that feature. So we end up
creating
+two SAXParsers per document() call in the old code.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/12<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/dom
AdaptiveResultTreeImpl.java<br/><ref>Committer's log entry: </ref>
+file AdaptiveResultTreeImpl.java was initially added on branch XSLTC_DTM.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/12<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc DOM.java
xml-xalan/java/src/org/apache/xalan/xsltc/compiler SyntaxTreeNode.java
xml-xalan/java/src/org/apache/xalan/xsltc/dom AdaptiveResultTreeImpl.java
DOMAdapter.java DOMImpl.java MultiDOM.java SAXImpl.java
SimpleResultTreeImpl.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+
+Design a light-weight DOM model (AdaptiveResultTreeImpl) for RTFs with
xsl:call-template.
+
+AdaptiveResultTreeImpl is a adaptive DOM model for result tree fragments
(RTF). It is
+used in the case where the RTF is likely to be pure text yet it can still be
a DOM tree.
+It is designed for RTFs which have <xsl:call-template> or
<xsl:apply-templates> in
+the contents. Example:
+
+ <xsl:variable name = "x">
+ <xsl:call-template name = "test">
+ <xsl:with-param name="a" select="."/>
+ </xsl:call-template>
+ </xsl:variable>
+
+In this example the result produced by <xsl:call-template> is likely
to be a single
+Text node. But it can also be a DOM tree. This kind of RTF cannot be
modelled by
+SimpleResultTreeImpl.
+
+AdaptiveResultTreeImpl can be considered as a smart switcher between
SimpleResultTreeImpl
+and SAXImpl. It treats the RTF as simple Text and uses the
SimpleResultTreeImpl model
+at the beginning. However, if it receives a call which indicates that this
is a DOM tree
+(e.g. startElement), it will automatically transform itself into a wrapper
around a
+SAXImpl. In this way we can have a light-weight model when the result only
contains
+simple text, while at the same time it still works when the RTF is a DOM
tree.
+
+All methods in this class are overridden to delegate the action to the
wrapped SAXImpl object
+if it is non-null, or delegate the action to the SimpleResultTreeImpl if
there is no
+wrapped SAXImpl.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/12<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/dom
MultiDOM.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+Save the DTMManager in a field in MultiDOM. Don't compute it
+everytime in MultiDOM.getDTMId().
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/13<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/dom MultiDOM.java
xml-xalan/java/src/org/apache/xalan/xsltc/runtime
StringValueHandler.java<br/><ref>Committer's log entry: </ref>
+Fix a bug which causes the docbook testcase to fail.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/14<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/dom
MultiDOM.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+Improvement in MultiDOM. Make the nodeHandle to DOMAdapter mapping a
+straight map. The code in getDTMId() is much light-weight than before,
+because the complicated stuff is moved to addDOMAdapter() which is only
+called once per DTM. In the case where the DTM id runs across several
+addressing range (the size of each range is 65536 - an unusal case),
+there will be several items in the adapter array for one DTM.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/17<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/compiler
ProcessingInstructionPattern.java<br/><ref>Committer's log entry: </ref>
+Applying patch for bug 15332 from Igor Hersht ([EMAIL PROTECTED]). Ensure
that
+patterns of the form processing-instruction() and
processing-instruction('name')
+are given the right priorities.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/17<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/compiler
ProcessingInstructionPattern.java<br/><ref>Committer's log entry: </ref>
+Applying patch for bug 15332 from Igor Hersht ([EMAIL PROTECTED]). Ensure
that
+patterns of the form processing-instruction() and
processing-instruction('name')
+are given the right priorities.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/17<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/compiler
ProcessingInstructionPattern.java<br/><ref>Committer's log entry: </ref>
+Applying patch for bug 15332 from Igor Hersht ([EMAIL PROTECTED]). Ensure
that
+patterns of the form processing-instruction() and
processing-instruction('name')
+are given the right priorities.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/18<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/dom DOMAdapter.java DOMWSFilter.java
KeyIndex.java LoadDocument.java SAXImpl.java XSLTCDTMManager.java
xml-xalan/java/src/org/apache/xalan/xsltc/runtime AbstractTranslet.java
BasisLibrary.java xml-xalan/java/src/org/apache/xalan/xsltc/trax DOM2SAX.java
TransformerImpl.java<br/><ref>Committer's log entry: </ref>
+XSLTC_DTM performance work
+
+New solution for DOM input. Use SAXImpl + DOM2SAX to handle DOM
+input. This is the solution used in the old XSLTC. The DOMImpl
+class is completely deprecated. This solution is better
+than DOMImpl on top of DOM2DTM for the following reasons:
+
+1. DOM2DTM is known to be slow.
+2. DOM2DTM is an incremental model while DOMImpl is not.
+3. There are too much code duplication between DOMImpl and SAXImpl
+
+Under the new solution, any improvement to SAXImpl and SAX2DTM2 will
+also benefit the DOM case. There is no need to have separate optimizations
+for the DOM case.
+
+This solution is a little sophisticated than the old XSLTC solution in
+that we borrow some code from DOM2DTM (e.g. handling for id function
+and unparsed entity). The end result is that conformance in trax.dom
+is better than the old XSLTC.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/18<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util
VoidType.java<br/><ref>Committer's log entry: </ref>
+
+ Override definition of Type.POP() in VoidType to return NOP instead of POP.
+ If type is void, there's nothing to be popped. This problem shows up when
+ invoking an external Java function whose return type is void.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/19<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/cmdline Transform.java
xml-xalan/java/src/org/apache/xalan/xsltc/compiler Import.java Include.java
Parser.java SyntaxTreeNode.java XSLTC.java
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util ErrorMessages_no.java
ErrorMessages.java ErrorMsg.java TypeCheckError.java
xml-xalan/java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
ErrorMessages_no.java ErrorMessages.java
xml-xalan/java/src/org/apache/xalan/xsltc/trax
TransformerFactoryImpl.java<br/><ref>Committer's log entry: </ref>
+Changed XSLTC messages to extend ListResourceBundle, and use String keys to
+access messages. Code used to extend ResourceBundle and used to use integer
+indices to access error messages.
+
+Changes from myself and Gordon Chiu ([EMAIL PROTECTED]).
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/20<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/cmdline Transform.java
xml-xalan/java/src/org/apache/xalan/xsltc/compiler Import.java Include.java
Parser.java SyntaxTreeNode.java XSLTC.java
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util ErrorMessages_no.java
ErrorMessages.java ErrorMsg.java TypeCheckError.java
xml-xalan/java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
ErrorMessages_no.java ErrorMessages.java
xml-xalan/java/src/org/apache/xalan/xsltc/trax
TransformerFactoryImpl.java<br/><ref>Committer's log entry: </ref>
+Changed XSLTC messages to extend ListResourceBundle, and use String keys to
+access messages. Code used to extend ResourceBundle and used to use integer
+indices to access error messages.
+
+Changes from myself and Gordon Chiu ([EMAIL PROTECTED]).
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/21<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/compiler Constants.java
DecimalFormatting.java Constants.java
DecimalFormatting.java<br/><ref>Committer's log entry: </ref>
+The generated code for xsl:decimal-format used the no argument constructor of
+DecimalFormatSymbols, which is affected by the default locale. The default
+attribute values for xsl:decimal-format should not be affected by the default
+locale. Instead, the en_US Locale should be passed to the constructor, as it
+has settings that are consistent with the defaults for xsl:decimal-format.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/21<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/compiler Constants.java
DecimalFormatting.java<br/><ref>Committer's log entry: </ref>
+The generated code for xsl:decimal-format used the no argument constructor of
+DecimalFormatSymbols, which is affected by the default locale. The default
+attribute values for xsl:decimal-format should not be affected by the default
+locale. Instead, the en_US Locale should be passed to the constructor, as it
+has settings that are consistent with the defaults for xsl:decimal-format.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/25<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/compiler
XslAttribute.java<br/><ref>Committer's log entry: </ref>
+
+ Fix for Bugzilla 18162. Warnings are still reported if an occurrence of
+ xsl:attribute *may* result in a runtime error.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/26<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/trax
TransformerImpl.java<br/><ref>Committer's log entry: </ref>
+Committing patch by Arun Yadav ([EMAIL PROTECTED]) that fixes the problem
+of using "." or "-" as part of the name of a parameter (Bugzilla 15636).
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/26<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/compiler
KeyCall.java<br/><ref>Committer's log entry: </ref>
+Committing patch from Arun Yadav ([EMAIL PROTECTED]) for Bugzilla
+15830. Correct handling for id()/key() values of type result-tree.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/31<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/compiler Parser.java XSLTC.java
xml-xalan/java/src/org/apache/xalan/xsltc/trax TemplatesHandlerImpl.java
TransformerFactoryImpl.java<br/><ref>Committer's log entry: </ref>
+
+ New implementation for TemplatesHandlerImpl that does not extend
+ xsltc.compiler.Parser. The new implementation has a simpler init()
+ method. Also, instances of the new class can be re-used (previously,
+ there were problems with the output method when an instance was
+ used more than once).
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/03/31<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/trax
SmartTransformerFactoryImpl.java<br/><ref>Committer's log entry: </ref>
+Remove XSLTC's compile time dependency on Xalan.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/compiler Parser.java XSLTC.java
xml-xalan/java/src/org/apache/xalan/xsltc/trax TemplatesHandlerImpl.java
TransformerFactoryImpl.java<br/><ref>Committer's log entry: </ref>
+ New implementation of TemplatesHandlerImpl. Fixes output method problem
+ when reusing TemplatesHandler instances.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/cmdline
Transform.java<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.xsltc.cmdline.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc DOM.java DOMCache.java
NodeIterator.java Translet.java TransletOutputHandler.java<br/><ref>Committer's
log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.xsltc.
+
+1. Remove TransletOutputHandler.java
+2. Adapt the XSLTC interfaces to the DTM model.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/util
IntegerArray.java<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.xsltc.util.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/compiler AbsolutePathPattern.java
AncestorPattern.java CastExpr.java Constants.java CopyOf.java DocumentCall.java
ForEach.java GenerateIdCall.java IdKeyPattern.java Key.java KeyCall.java
Message.java Mode.java NameBase.java NodeTest.java Output.java
ParentLocationPath.java Predicate.java ProcessingInstructionPattern.java
Step.java StepPattern.java Stylesheet.java SyntaxTreeNode.java
UnionPathExpr.java UnparsedEntityUriCall.java ValueOf.java xpath.cup
XSLTC.java<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.xsltc.compiler.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util MethodGenerator.java
NodeSetType.java ObjectType.java ReferenceType.java ResultTreeType.java
TypeCheckError.java<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.xsltc.compiler.util.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/trax DOM2SAX.java DOM2TO.java
SAX2TO.java TemplatesHandlerImpl.java TransformerHandlerImpl.java
TransformerImpl.java XSLTCSource.java<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.xsltc.trax.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output OutputBase.java
SAXHTMLOutput.java SAXOutput.java SAXTextOutput.java SAXXMLOutput.java
StreamHTMLOutput.java StreamOutput.java StreamTextOutput.java
StreamUnknownOutput.java StreamXMLOutput.java
TransletOutputHandlerFactory.java<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.xsltc.runtime.output
+Remove the output classes in XSLTC. XSLTC now uses the
+output classes in the common serializer.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/runtime AbstractTranslet.java
AttributeList.java BasisLibrary.java Constants.java
DefaultSAXOutputHandler.java SAXAdapter.java StringValueHandler.java
TextOutput.java TransletOutputBase.java<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.xsltc.runtime.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/01<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/dom AbsoluteIterator.java
AdaptiveResultTreeImpl.java AnyNodeCounter.java Axis.java BitArray.java
CollatorFactoryBase.java CurrentNodeListFilter.java
CurrentNodeListIterator.java DocumentCache.java DOMAdapter.java DOMBuilder.java
DOMImpl.java DOMWSFilter.java DTDMonitor.java DupFilterIterator.java
EmptyFilter.java ExtendedSAX.java Filter.java FilteredStepIterator.java
FilterIterator.java ForwardPositionIterator.java KeyIndex.java
LoadDocument.java MatchingIterator.java MultiDOM.java MultipleNodeCounter.java
NodeCounter.java NodeIteratorBase.java NodeSortRecord.java
NodeSortRecordFactory.java NthIterator.java SAXImpl.java
SimpleResultTreeImpl.java SingleNodeCounter.java SingletonIterator.java
SortingIterator.java StepIterator.java StripWhitespaceFilter.java
UnionIterator.java XSLTCDTMManager.java<br/><ref>Committer's log entry: </ref>
+Merging XSLTC_DTM and common serializer to the head
+Adapt all dom classes in org.apache.xalan.xsltc.dom to
+the DTM model.
+
+Removed DOMImpl, DTDMonitor.
+Added a few new classes for the new DOM model. The core
+DOM class is SAXImpl.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/02<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/trax
TransformerFactoryImpl.java<br/><ref>Committer's log entry: </ref>
+If there is an error listener registered to a TransformerFactory, and the
+stylesheet cannot be compiled, call fatalError, in addition to throwing
+the TransformerConfigurationException.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/04<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/dom SAXImpl.java
xml-xalan/java/src/org/apache/xalan/xsltc/runtime
StringValueHandler.java<br/><ref>Committer's log entry: </ref>
+According to spec http://www.w3.org/1999/11/REC-xslt-19991116-errata/#E27,
+when element nodes are used in the instantiated content of attribute, comment
+and processing instructions, we should ignore the elements together with
+their content.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/07<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/dom
AdaptiveResultTreeImpl.java<br/><ref>Committer's log entry: </ref>
+Need to override more startElement and endElement interfaces
+in AdaptiveResultTreeImpl, because it now extends EmptySerializer,
+which has a few more interfaces than the old TransletOutputHandler.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/07<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/dom LoadDocument.java
SAXImpl.java<br/><ref>Committer's log entry: </ref>
+Fix for a few testcase failures in XSLTC trax.localPath.
+
+Detect the backslash ("\") character in the path in addtional to the
+forward slash ('/') in LoadDocument.document().
+
+The XSLTC conformance result in trax.localPath changed from
+Pass: 1634/Fail: 14/Errr: 35 to Pass: 1657/Fail: 17/Errr: 9
+after this change.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/08<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/compiler
Stylesheet.java<br/><ref>Committer's log entry: </ref>
+Fix for bugzilla 17448.
+Stylesheet.setIncludingStylesheet() should use _includedFrom
+instead of _importedFrom.
+<br/><br/></li><li><ref>Committed by </ref>[EMAIL PROTECTED]<ref> on
</ref>2003/04/08<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/compiler
Stylesheet.java<br/><ref>Committer's log entry: </ref>
+Fix another problem related to bug 17448.
+Only set the import precedence of an included stylesheet when it
+is directly included by this stylesheet. If it is indirectly
+included via imports, the import precedence will be different.
+<br/><br/></li></ul>
+</s2>
<s2 title="Changes for &xslt4j; 2.4.1">
<p>XSLTC source code updates:</p><ul><li><ref>Committed by </ref>[EMAIL
PROTECTED]<ref> on </ref>2002/08/28<br/><ref>Modified: </ref>
xml-xalan/java/src/org/apache/xalan/xsltc/trax
TransformerImpl.java<br/><ref>Committer's log entry: </ref>
Keep track of parameters for built-in identity transform (needed for
1.35 +14 -14 xml-xalan/java/xdocs/sources/xalan/xsltc_usage.xml
Index: xsltc_usage.xml
===================================================================
RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/xsltc_usage.xml,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- xsltc_usage.xml 2 Apr 2003 17:43:06 -0000 1.34
+++ xsltc_usage.xml 10 Apr 2003 14:34:58 -0000 1.35
@@ -105,20 +105,19 @@
<s3 title="Bundled System Classpath">
<p>
-To use this newer approach, simply put xalan.jar in your classpath.
-No need to mention the others (xsltc.jar, BCEL.jar, JLex.jar, regexp.jar,
-java_cup.jar, runtime.jar).
+To use this newer approach, simply put xalan.jar, xml-apis.jar and
xercesImpl.jar
+in your classpath. There is no need to include xsltc.jar, BCEL.jar,
JLex.jar,
+regexp.jar, java_cup.jar or runtime.jar as required in previous releases.
</p>
-<note>In order to compile and run translets you must have a JAXP-compliant
XML
-parser installed. Our distribution
-includes <jump
href="http://xml.apache.org/xerces2-j/index.html">Xerces</jump>
-(just include xercesImpl.jar and xml-apis.jar in your class path).
+<note>In order to compile and run translets you must have a JAXP 1.2
compliant XML
+parser installed. Our distribution includes <resource-ref idref='xml4j-used'
/>.
+Include xercesImpl.jar and xml-apis.jar in your class path.
</note>
</s3>
<s3 title="Unbundled System Classpath">
-<p>The binary distribution contains a bundled xsltc.jar which contains all
-of the support classes in a single jar. To use the unbundled approach,
rebuild
+<p>The binary distribution contains &xslt4jc-short; and all its support
classes bundled
+into xalan.jar. To use the unbundled approach, rebuild
the xsltc.jar file using the xsltc.unbundledjar target. The support jars
that
you'll need to add to your classpath are available in the Xalan Java bin
directory.</p>
@@ -391,8 +390,8 @@
<p>When you use the JAXP 1.2 API to run &xslt4j;, the
<code>javax.xml.transform.TransformerFactory</code> system property is set to
<code>org.apache.xalan.processor.TransformerFactoryImpl</code>. As it
currently
-stands, this Xalan implementation of TransformerFactory always uses the
-&xslt4ji; processor to perform transformations. To use translets to perform
+stands, this &xslt4j; implementation of TransformerFactory always uses the
&xslt4j;
+Interpretive processor to perform transformations. To use translets to
perform
transformations, set this system property to
<code>org.apache.xalan.xsltc.trax.TransformerFactoryImpl</code>. For
information on setting this and related system properties designating XML
@@ -577,9 +576,10 @@
</s2>
<anchor name="xsltcsmart"/>
<s2 title="Smart Transformer Switch">
-<p>As part of the TrAX API, a "Smart Transformer Switch" enables
automatic switching between &xslt4ji; and &xslt4jc-short;
-processors within your application. It uses &xslt4ji; to create your
- <code>Transformer</code> objects, and uses &xslt4jc-short; to create your
<code>Templates</code> objects.</p>
+<p>As part of the TrAX API, a "Smart Transformer Switch" enables
automatic switching
+between &xslt4ji; and &xslt4jc-short; processors within your application. It
uses &xslt4ji;
+processor to create your <code>Transformer</code> objects, and uses
&xslt4jc-short; to create your
+<code>Templates</code> objects.</p>
<p>To use the switch, you set the TrAX system property,
<code>javax.xml.transform.TransformerFactory</code>, to
<code>org.apache.xalan.xsltc.trax.SmartTransformerFactoryImpl</code>.
1.61 +11 -29 xml-xalan/java/xdocs/sources/entities.ent
Index: entities.ent
===================================================================
RCS file: /home/cvs/xml-xalan/java/xdocs/sources/entities.ent,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- entities.ent 2 Apr 2003 17:43:06 -0000 1.60
+++ entities.ent 10 Apr 2003 14:34:59 -0000 1.61
@@ -8,18 +8,18 @@
<!ENTITY xslt4jc-long "&xslt4j; Compiled">
<!ENTITY xslt4j-dist-bin "&xslt4j-dist;-bin">
<!ENTITY xslt4j-dist-src "&xslt4j-dist;-src">
-<!ENTITY xslt4j-dist "xalan-j_2_5_D1">
-<!ENTITY xslt4j-current "&xslt4j; version 2.5.D1">
+<!ENTITY xslt4j-dist "xalan-j_2_5_0">
+<!ENTITY xslt4j-current "&xslt4j; version 2.5.0">
<!ENTITY xslt4j-distdir "http://xml.apache.org/dist/xalan-j/">
<!ENTITY xslt4j_longname "Apache Xalan Java">
<!ENTITY xml4j "Xerces-Java">
<!ENTITY xml4j1 "Xerces-Java 1">
<!ENTITY xml4j2 "Xerces-Java 2">
-<!ENTITY xml4j-used "&xml4j; 2.3.0">
+<!ENTITY xml4j-used "&xml4j; 2.4.0">
<!ENTITY xml4j-jar "xercesImpl.jar">
<!ENTITY xslt4c "Xalan-C++">
<!ENTITY xml4c "Xerces-C++">
-<!ENTITY download "The &xslt4j-current; download from xml.apache.org
includes &xml4j-jar; from &xml4j-used; and xml-apis.jar.
+<!ENTITY download "The &xslt4j-current; download from &xslt4j-distdir;
includes &xml4j-jar; from &xml4j-used; and xml-apis.jar.
For version information about the contents of xml-apis.jar, see the JAR
manifest.">
<!ENTITY xsltcwhatsnewhead '<li><link
anchor="xsltc">&xslt4jc-short;</link></li>'>
@@ -28,7 +28,7 @@
<p>In April 2001, Sun donated &xslt4jc-short; to the Xalan
project. &xslt4jc-short; compiles stylesheets into translets and
provides a runtime environment for using translets to
transform XML documents. Initially, &xslt4jc-short; is
available in a separate JAR. Over time, we plan to integrate
the two codebases. For more information,
- see <link idref="xsltc_usage">Using &xslt4jc-short;</link>,
<link idref="readme" anchor="xsltcreleasenotes">&xslt4jc-short;
+ see <link idref="xsltc_usage">Getting Started with
&xslt4jc-short;</link>, <link idref="readme"
anchor="xsltcreleasenotes">&xslt4jc-short;
Release Notes</link>, and <jump
href="xsltc/index.html">&xslt4jc-short; Design</link>.</p>
</s2>'>
@@ -44,42 +44,25 @@
<ul>
<li><link
anchor="xsltc1">JAXPTransletOneTransformation</link></li>
<li><link
anchor="xsltc2">JAXPTransletMultipleTransformations</link></li>
- <li><link anchor="xsltcother">Other &xslt4jc-short;
samples</link></li>
+ <li><link anchor="xsltcother">Other &xslt4jc-short;
samples</link></li>
</ul>
<p>You can use the TrAX/JAXP 1.2 interfaces to compile and
run translets.
- For this release, you must still
- use StreamSource objects for the XSL stylesheet and XML
input document,
- and a StreamResult object for the transformation output.
- For an overview of the usage patterns these samples
illustrate, see
+ For an overview of the usage patterns these samples
illustrate, see
<link idref="xsltc_usage" anchor="api">Calling
&xslt4jc-short; with the TrAX/JAXP API</link>.</p>
- <anchor name="xsltcprepare"/>
- <p><em>Important:</em> To run these samples, you must
compile the sample class files and adjust the
- system classpath.</p>
- <ol>
- <li>To compile the samples, you can run the Ant build
from the root directory as follows:<br/><br/>
- <code> build
xsltc.samples</code><br/><br/></li>
- <li>Add xsltc.jar, runtime.jar, BCEL.jar, java_cup.jar,
and the samples/translets subdirectory to
- the classpath</li>
- </ol>
- <note>The JAR files listed above are in the bin directory.
- The samples/translets directory contains the sample class
files as well as the translet class file that is
- generated at tun time (todo.class from the todo.xsl
stylesheet).</note>
<anchor name="xsltc1"/>
<s3 title="JAXPTransletOneTransformation">
<p>What it does: Uses the &xslt4jc-short;
TransformerFactory to compile a translet and use
the translet to transform the &xslt4jc-short; to-do list
from XML into HTML.</p>
- <p>Complete the <link anchor="xsltcprepare">steps detailed
above</link>, and run this sample
- from the translets subdirectory with</p>
+ <p>Run this sample from the translets subdirectory with</p>
<p><code>java JAXPTransletOneTransformation</code></p>
<p>View the result in todo-xsltc.html.</p>
</s3><anchor name="xsltc2"/>
<s3 title="JAXPTransletMultipleTransformations">
<p>What it does: Uses the &xslt4jc-short;
TransformerFactory to compile a translet and use
- the Templates object associated with the translet to
transform two to-do lists from XML
+ the Templates object associated with the translet to
transform the &xslt4jc-short; and Xalan to-do lists from XML
into HTML.</p>
- <p>Complete the <link anchor="xsltcprepare">steps detailed
above</link>, and run this sample
- from the translets subdirectory with</p>
- <p><code>java JAXPTransletOneTransformation</code></p>
+ <p>Run this sample from the translets subdirectory with</p>
+ <p><code>java JAXPTransletMultipleTransformations</code></p>
<p>View the results in todo-xsltc.html and
todo-xalan.html.</p>
</s3><anchor name="xsltcother"/>
<s3 title="Other &xslt4jc-short; samples">
@@ -92,7 +75,6 @@
<li>CompiledEJB</li>
</ul>
<p>For information about each of these samples, consult the
README file in the subdirectory.</p>
- <note>The following paragraphs supply some basic background
information for CompiledServlet and CompiledBrazil.</note>
<p>&xslt4jc-short; provides demos for using &xslt4jc-short;
as a servlet and as a handler for
Brazil (a new and powerful Web techology from Sun labs).</p>
<p>To run the Brazil-handler demo, download Brazil from
sunlabs:</p>
1.28 +1 -1 xml-xalan/java/xdocs/sources/xalan-jlocal.xml
Index: xalan-jlocal.xml
===================================================================
RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan-jlocal.xml,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- xalan-jlocal.xml 2 Apr 2003 17:43:06 -0000 1.27
+++ xalan-jlocal.xml 10 Apr 2003 14:34:59 -0000 1.28
@@ -61,7 +61,6 @@
<book title="Xalan XSL Transformer User's Guide" copyright="2003 The Apache
Software Foundation">
<resources source="sbk:/sources/xalan/resources.xml"/>
<document id="whatsnew" label="What's New" source="xalan/whatsnew.xml"/>
- <document id="dtm" label="DTM" source="xalan/dtm.xml"/>
<separator/>
<document id="overview" label="Overview" source="xalan/overview.xml"/>
<document id="downloads" label="Downloads" source="xalan/downloads.xml"/>
@@ -78,6 +77,7 @@
<document id="features" label="Features" source="xalan/features.xml"/>
<separator/>
<document id="trax" label="TrAX" source="xalan/trax.xml"/>
+ <document id="dtm" label="DTM" source="xalan/dtm.xml"/>
<external href="apidocs/index.html" label="API (Javadoc)"/>
<separator/>
<document id="extensions" label="Extensions"
source="xalan/extensions.xml"/>
1.53 +2 -2 xml-xalan/java/xdocs/sources/xalan-jsite.xml
Index: xalan-jsite.xml
===================================================================
RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan-jsite.xml,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- xalan-jsite.xml 2 Apr 2003 17:43:06 -0000 1.52
+++ xalan-jsite.xml 10 Apr 2003 14:34:59 -0000 1.53
@@ -62,13 +62,13 @@
<resources source="sbk:/sources/xalan/resources.xml"/>
<external href="../index.html" label="Home"/>
<separator/>
- <document id="index" label="Xalan-J 2.5.D1" source="xalan/index.xml"/>
+ <document id="index" label="Xalan-J 2.5.0" source="xalan/index.xml"/>
<document id="whatsnew" label="What's New" source="xalan/whatsnew.xml"/>
- <document id="xsltc_usage" label="XSLTC Translets"
source="xalan/xsltc_usage.xml"/>
<separator/>
<document id="overview" label="Overview" source="xalan/overview.xml"/>
<document id="downloads" label="Downloads" source="xalan/downloads.xml"/>
<document id="getstarted" label="Getting Started"
source="xalan/getstarted.xml"/>
+ <document id="xsltc_usage" label="Using XSLTC"
source="xalan/xsltc_usage.xml"/>
<separator/>
<faqs id="faq" label="FAQs" source="xalan/faq.xml"/>
<separator/>
1.100 +18 -26 xml-xalan/test/test.properties
Index: test.properties
===================================================================
RCS file: /home/cvs/xml-xalan/test/test.properties,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -r1.99 -r1.100
--- test.properties 6 Apr 2003 03:11:43 -0000 1.99
+++ test.properties 10 Apr 2003 14:35:01 -0000 1.100
@@ -131,17 +131,15 @@
smoketest.conf.passFile=smoketest/Pass-StylesheetTestletDriver.xml
smoketest.conf.embedded=embed01.xml;embed02.xml;embed07.xml
smoketest.conf.ConsoleLogger.loggingLevel=20
-# Bugzilla5389 attribset40.xsl
+# Bugzilla5389 attribset40.xsl
# Bugzilla12690 axes62.xsl
# Bugzilla10616 copy56.xsl;copy58.xsl;copy59.xsl;copy60.xsl
-# Bugzilla6155 numberformat45.xsl;numberformat46.xsl
-# Bugzilla7163 output97.xsl
-# Bugzilla10900 select85.xsl
-# Bugzilla14862 idkey61.xsl;idkey62.xsl
# Bugzilla14999 idkey31.xsl
+# Bugzilla6155 numberformat45.xsl;numberformat46.xsl
+# Bugzilla????? numbering79 -- fails to run on Sun JDK1.4 on GUMP machine;
JDK bug??
# Bugzilla17400 position112.xsl;position113.xsl
-# Bugzilla 18210 mdocs19.xsl
-smoketest.conf.normal.excludes=attribset40.xsl;axes62.xsl;copy56.xsl;copy58.xsl;copy59.xsl;copy60.xsl;idkey31.xsl;idkey61.xsl;idkey62.xsl;mdocs19.xsl;numberformat45.xsl;numberformat46.xsl;output97.xsl;position112.xsl;position113.xsl;select85.xsl;numbering79.xsl
+# Bugzilla10900 select85.xsl
+smoketest.conf.normal.excludes=attribset40.xsl;axes62.xsl;copy56.xsl;copy58.xsl;copy59.xsl;copy60.xsl;idkey31.xsl;numberformat45.xsl;numberformat46.xsl;numbering79.xsl;position112.xsl;position113.xsl;select85.xsl
smoketest.conf.supplemental.excludes=
smoketest.extensions.excludes=javaBugzilla3722.xsl;libraryNodeset05.xsl;libraryNodeset06.xsl;libraryNodeset07.xsl;libraryNodeset08.xsl
@@ -187,32 +185,26 @@
smoketest.xsltc.conf.embedded=embed01.xml;embed07.xml
smoketest.xsltc.conf.ConsoleLogger.loggingLevel=20
-# Bugzilla1396 sort15.xsl
+# Bugzilla???? attribset15.xsl;attribset23.xsl - are permitted to fail
(discretionary item)
+# Bugzilla???? attribset19.xsl
# Bugzilla14607 axes62.xsl
-# Bugzilla14609 copy56.xsl;copy58.xsl;copy59.xsl;copy60.xsl
-# Bugzilla14608 copy09.xsl
-# Bugzilla14610 output63.xsl
-# Bugzilla9157 reluri11.xsl
-# attribset17.xsl - not fixed for performance reasons
-# axes120.xsl - shortcoming of the compilation model
-# Bugzilla15205 ver01.xsl;ver05.xsl;ver06.xsl;ver07.xsl
-# Bugzilla15200 reluri09.xsl
-# Bugzilla15253 idkey49.xsl
-# Bugzilla6155 numberformat45.xsl;numberformat46.xsl
+# Bugzilla????? axes120.xsl - shortcoming of the compilation model
# Bugzilla14999 idkey31.xsl
+# Bugzilla15253 idkey49.xsl
+# Bugzilla15333 impincl28.xsl;impincll29.xsl
+# Bugzilla????? math111.xsl
+# Bugzilla 18210 mdocs19.xsl
# namespace140.xsl - shortcoming of the compilation model, workaround exists
-# Bugzilla1520 attribvaltemplate08.xsl;output04.xsl
-# Bugzilla15179 output46.xsl - excluded until issue is resolved
-# Bugzilla15326 whitespace35.xsl
+# Bugzilla6155 numberformat45.xsl;numberformat46.xsl
+# Bugzilla14610 output63.xsl
# Bugzilla15327 position102.xsl;position103.xsl;position105.xsl
-# Bugzilla15333 impincl28.xsl;impincl29.xsl
# Bugzilla15335 select85.xsl
+# Bugzilla1396 sort15.xsl
+# Bugzilla15205 ver01.xsl;ver05.xsl;ver06.xsl;ver07.xsl
+# Bugzilla15326 whitespace35.xsl
# embed02.xml - testcase is actually passing; harness issue to be resolved
-# attribset15,23.xsl are permitted to fail (discretionary item)
-# excluding them for now until it's decided what to do with these tests
-
-smoketest.xsltc.conf.normal.excludes=sort15.xsl;axes62.xsl;copy09.xsl;output63.xsl;reluri11.xsl;attribset17.xsl;ver01.xsl;ver05.xsl;ver06.xsl;ver07.xsl;reluri09.xsl;attribset15.xsl;attribset19.xsl;attribset23.xsl;idkey49.xsl;numberformat45.xsl;numberformat46.xsl;idkey31.xsl;namespace140.xsl;attribvaltemplate08.xsl;output04.xsl;output46.xsl;whitespace35.xsl;position102.xsl;position103.xsl;position105.xsl;axes120.xsl;impincl28.xsl;impincl29.xsl;select85.xsl;embed02.xml;math111.xsl;mdocs19.xsl
+smoketest.xsltc.conf.normal.excludes=attribset15.xsl;attribset19.xsl;attribset23.xsl;axes62.xsl;axes120.xsl;idkey31.xsl;idkey49.xsl;impincl28.xsl;impincl29.xsl;math111.xsl;mdocs19.xsl;namespace140.xsl;numberformat45.xsl;numberformat46.xsl;output63.xsl;position102.xsl;position103.xsl;position105.xsl;select85.xsl;sort15.xsl;ver01.xsl;ver05.xsl;ver06.xsl;ver07.xsl;whitespace35.xsl
smoketest.xsltc.conf.supplemental.excludes=
1.61 +4 -3 xml-xalan/test/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-xalan/test/build.xml,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- build.xml 1 Apr 2003 22:00:43 -0000 1.60
+++ build.xml 10 Apr 2003 14:35:01 -0000 1.61
@@ -43,7 +43,7 @@
-->
<property environment="ENV" />
- <property name="year" value="2000-2002"/>
+ <property name="year" value="2000-2003"/>
<!-- Properties related to compiling the tests -->
<property name="build.compiler" value="classic"/>
<property name="compiler" value="${build.compiler}"/>
@@ -101,6 +101,7 @@
<pathelement location="${bsf.jar}" />
<pathelement location="${stylebook.jar}" />
<pathelement location="${doclet.jar}" />
+ <pathelement location="${jtidy.jar}" />
<pathelement location="${xalan.jar}" />
<pathelement location="${xml-apis.jar}" />
<pathelement location="${parserjar}" />
1.54 +789 -696 xml-xalan/java/commits.xml
Index: commits.xml
===================================================================
RCS file: /home/cvs/xml-xalan/java/commits.xml,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- commits.xml 21 Feb 2003 20:10:11 -0000 1.53
+++ commits.xml 10 Apr 2003 14:35:01 -0000 1.54
@@ -1,1138 +1,1231 @@
<?xml version="1.0" encoding="UTF-8"?>
<Commits>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/01</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/lib ExsltDynamic.java
ExsltStrings.java</Modified>
+<Commit category="xsltc">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/02/21</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler Constants.java
Message.java</Modified>
<Log>
-For Bugzilla 14157. Correct namespace prefixes in EXSLT javadoc.
+ New implementation of xsl:message that does not use RTFs. Using RTFs
+ is both slow and problematic since the number of RTFs that can be
+ created is limited in XSLTC.
+
+ The new implementation uses a StreamXMLOutput and a StringWriter to
+ output the template body as a string (in some cases, NS declarations
+ will be included and this behavior differs from the old implementation).
+ Additionally, the new implementation optimizes the case where the
+ message is empty and where the message is just a literal string.
+
+ The bug was reported by Mark Brunkhart ([EMAIL PROTECTED]).
</Log>
</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/01</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xml/utils
SystemIDResolver.java</Modified>
+<Commit category="xsltc">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/02/21</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc DOM.java
xml-xalan/java/src/org/apache/xalan/xsltc/dom DOMAdapter.java DOMImpl.java
MultiDOM.java</Modified>
<Log>
-Rework the SystemIDResolver class for Bugzilla 13651 and 13977.
-
-The getAbsoluteURI interfaces have been rewritten so that they always
-return a good absolute URI for a systemId string, no matter it is a
-URI or a local filesystem path. The path is resolved to be absolute
-whenever possible. We also do conversions from space to "%20" and
-backslash to forward slash to ensure that the returned URI is a
-well-formed URI. The URI might not be in a normalized form because
-normalization takes extra cycles.
+ Removed the getTreeString() method from the DOM interface (as well as
+ from all the classes that implement this interface). This update will
+ require a sync with the XSLTC_DTM branch, but there was no point in
+ keeping this method when it's no longer used.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/01</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xml/utils URI.java</Modified>
+<DateCommitted>2003/02/21</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom SAXImpl.java
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm SAX2DTM2.java</Modified>
<Log>
-For Bugzilla 13977. Return a good absolute URI when the urlstring
-is in the form of "file:abc.xsl".
+XSLTC_DTM performance work
+Small improvement to SAXImpl.copyElement().
+Move the getStringValue() method from SAXImpl to SAX2DTM2.
+Remove the SAXImpl.stringValueAux() method.
</Log>
</Commit>
<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/01</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/processor
TransformerFactoryImpl.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/02/25</DateCommitted>
+<Modified> xml-xalan/java/src xml-commons-src.tar.gz xml-xalan/java/bin
xml-apis.jar</Modified>
<Log>
-For Bugzilla 13651. Set the systemID to a good absolute URI for the
InputSource.
+Update to latest version of xml-apis.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/01</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/serialize
SerializerToXML.java</Modified>
+<DateCommitted>2003/02/26</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm
SAX2DTM2.java</Modified>
<Log>
-Simplify the code for the new SystemIDResolver. One call to the
getAbsoluteURI
-interface should be enough.
+XSLTC_DTM performance work
+Improvement to DescendantIterator. If _startNode is the root node, do
+not need to do the isDescendant() check.
</Log>
</Commit>
<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/01</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xpath/compiler
OpMapVector.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/02/26</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm
SAX2DTM2.java</Modified>
<Log>
-Patch for bugzilla #14178 - Long XPath expressions. The token queue was
-growing properly, but the operations map was missing the last element when
-it grew.
+XSLTC_DTM performance work
+Set the nextsib element of an attribute or namespace node to -1.
+This makes the logic in the iterators simpler and easier to
+maintain.
</Log>
</Commit>
<Commit category="xsltc">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/04</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/trax
TransformerFactoryImpl.java Util.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/02/26</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util
ReferenceType.java</Modified>
<Log>
-bug 14148 fixed, Morris Kwan patch
+ Fix for Bugzilla 17447. Conversion from reference type to string type
+ assumed the existence of the "current" local variable, which is
+ unavailable at top-level.
</Log>
</Commit>
<Commit category="xsltc">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/04</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom
MultiDOM.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/02/26</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom
SAXImpl.java</Modified>
<Log>
-Fixed problem in AxisIterator.isReverse(). This patch fixes Bugzilla
-14112.
+XSLTC_DTM performance work
+Improvement for xsl:copy-of. Instead of using the expensive
getFirstAttribute()
+and getFirstNamespace() interfaces, increase the element id by 1 to iterate
+through all attribute and namespace nodes.
</Log>
</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/04</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xpath/domapi
XPathNamespaceImpl.java</Modified>
+<Commit category="xsltc">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/02/27</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom
SAXImpl.java</Modified>
<Log>
-Update XPathNamespaceImpl to be consistent with spec for
-getLocalName, getPrefix, getNamespaceURI, getNodeName, getNodeValue
+XSLTC_DTM performance work
+Minor cleanup to SAXImpl.copy() and copyElement(). Introduce a new interface
+handleTextEvents() to handle Text nodes more efficiently.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/04</DateCommitted>
-<Modified> xml-xalan/java/xdocs/sources xalan-jlocal.xml xalan-jsite.xml
xml-xalan/java/xdocs/sources/xalan commandline_xsltc.xml commandline.xml
extensions_xsltc.xml extensionslib.xml</Modified>
+<DateCommitted>2003/02/27</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/lib/sql DTMDocument.java
xml-xalan/java/src/org/apache/xalan/xsltc/compiler Constants.java
xml-xalan/java/src/org/apache/xalan/xsltc/dom SAXImpl.java
xml-xalan/java/src/org/apache/xalan/xsltc/runtime AttributeList.java
xml-xalan/java/src/org/apache/xml/dtm/ref DTMDefaultBase.java
DTMStringPool.java xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm
SAX2DTM.java SAX2DTM2.java xml-xalan/java/src/org/apache/xml/utils
SuballocatedIntVector.java</Modified>
<Log>
-Added two new documents: Extensions for XSLTC and XSLTC options in the
-Process command line. Added the "XSLTC Exts" item to the main panel.
+XSLTC_DTM performance work
+Improvement for RTF. These changes improve the performance
+for stylesheets which create and throw away many small RTFs.
+
+Make the sizes of all internal storage units used by SAXImpl configurable.
+These include SuballocatedIntVector, DTMStringPool, IntStack and
FastStringBuffer.
+The chain size of DTMStringPool and the number of blocks in
SuballocatedIntVector
+can now be passed in the constructor. These sizes are set to smaller values
in
+the RTF case.
+
+The default RTF size is changed to 32. There is also a change in the XSLTC
+AttributeList class to use on-demand memory allocation for the internal
vectors.
+The vectors are only allocated when there is an attribute.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/04</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/lib
ExsltDatetime.java</Modified>
+<DateCommitted>2003/02/27</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm
SAX2DTM2.java</Modified>
<Log>
-For Bugzilla 14237. Fix problems in the hour-in-day extension function.
+XSLTC_DTM performance work
+Small improvement to DescendantIterator and TypedDescendantIterator.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/05</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xpath/compiler
OpMapVector.java</Modified>
+<DateCommitted>2003/02/28</DateCommitted>
+<Modified> xml-xalan/java/samples/extensions/sql/streamable cachedNodes.xsl
pivot.xsl xml-xalan/java/xdocs/sources/xalan samples.xml
xml-xalan/java/samples/CompiledApplet menu.html README.applet
xml-xalan/java/samples/extensions/sql/basic-connection dbinfo.xml
dbtest.xsl</Modified>
<Log>
-Use actual length of array in call to arraycopy.
+More sample and documentation updates from Christine Li ([EMAIL PROTECTED]).
</Log>
</Commit>
<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/05</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xpath/objects
XNumber.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/02/28</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/transformer
TrAXFilter.java</Modified>
<Log>
-Applying Gordon Chiu's ([EMAIL PROTECTED]) patch for bugzilla #14241.
-Extra trailing 0 when calling XNumber.str().
+Add a getTransformer() interface to TrAXFilter. This is a user requested
+feature. This interface can be used by the UseXMLFilters samples to
+set the output properties correctly.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/05</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/lib
ExsltDynamic.java</Modified>
+<DateCommitted>2003/02/28</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom SAXImpl.java
xml-xalan/java/src/org/apache/xml/dtm/ref DTMDefaultBase.java
DTMDefaultBaseIterators.java DTMDefaultBaseTraversers.java
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm SAX2DTM.java
SAX2DTM2.java</Modified>
<Log>
-Fix a problem in the max() function. Reuse the Document object to reduce
-memory usage.
+XSLTC_DTM performance work
+Do not create the previous sibling array for XSLTC. This array is not used
+in XSLTC's SAXImpl. Creating it is a waste of time.
+
+We add a boolean flag to the constructors of DTMDefaultBase and its
+subclasses to indicate whether the previous sibling array should be created.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/05</DateCommitted>
-<Modified> xml-xalan/java/xdocs/sources/xalan commandline_xsltc.xml
commandline.xml</Modified>
+<DateCommitted>2003/02/28</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xml/dtm/ref
DTMDefaultBase.java</Modified>
<Log>
-xdocs update for XSLTC options in Process command line.
+Correct an error. The DTMDefaultBase.getPreviousSibling() interface
+returns a node handle instead of a node identity.
</Log>
</Commit>
<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/06</DateCommitted>
-<Modified> xml-xalan/java/xdocs/sources entities.ent xalan-jlocal.xml
xalan-jsite.xml xml-xalan/java/xdocs/sources/xalan readme.xml
xsltc_constraints.xml xsltc_usage.xml</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/02/28</DateCommitted>
+<Modified> xml-xalan/java/samples/CompiledEJB bottom_frame.html index.html
README.ejb top_frame.html xml-xalan/java/samples/CompiledServlet
CompileServlet.java README.servlet</Modified>
<Log>
-XSLTC xdocs update.
-Remove xsltc_constraints.xml. Move the "known problem" and "smart transformer
-switch" sections into xsltc_usage.xml.
+Patches for samples from Christine Li ([EMAIL PROTECTED])
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/07</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/lib
ExsltDatetime.java</Modified>
+<DateCommitted>2003/03/03</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/transformer
TrAXFilter.java</Modified>
<Log>
-For bugzilla 14324. Fix a few problems in datetime extension functions.
+Propagate the change from head branch to XSLTC_DTM.
+Add a new getTransformer() interface to TrAXFilter.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/07</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/lib
ExsltDatetime.java</Modified>
-<Log>
-For bugzilla 14322. Fix problem in condition checking in getZoneStart().
-</Log>
-</Commit>
-<Commit category="xsltc">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/07</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output
StreamHTMLOutput.java StreamOutput.java</Modified>
+<DateCommitted>2003/03/03</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/transformer
TrAXFilter.java</Modified>
<Log>
-Fix for Bugzilla 14229.
+Add a new getTransformer() interface to TrAXFilter.
</Log>
</Commit>
<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/08</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/transformer
ResultTreeHandler.java xml-xalan/java/src/org/apache/xalan/templates
ElemElement.java ElemTemplateElement.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/03/03</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/cmdline Transform.java
xml-xalan/java/src/org/apache/xalan/xsltc/compiler Constants.java NameBase.java
Stylesheet.java xpath.cup XSLTC.java
xml-xalan/java/src/org/apache/xalan/xsltc/dom DOMImpl.java DocumentCache.java
LoadDocument.java SAXImpl.java XSLTCDTMManager.java
xml-xalan/java/src/org/apache/xalan/xsltc/runtime AbstractTranslet.java
BasisLibrary.java xml-xalan/java/src/org/apache/xalan/xsltc/trax
TransformerHandlerImpl.java TransformerImpl.java XSLTCSource.java
xml-xalan/java/src/org/apache/xml/dtm/ref DTMDefaultBase.java
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm SAX2DTM2.java</Modified>
<Log>
-Committing Gordon Chiu's ([EMAIL PROTECTED]) patches for
-namespace bugs #13774,13775,13414
+XSLTC_DTM performance work
+
+Implement a feature for on-demand building of the ID index table.
+
+Before this change, the SAX2DTM2 class always builds an ID index
+hashtable by comparing the name of every attribute with "id". Now
+we maintain a flag _hasIdCall in AbstractTranslet to indicate
+whether the translet has id function calls. The value of this flag
+is compiled into the translet from the Stylesheet class. The Stylesheet
+class also has an _hasIdCall flag, which is set by the XPath parser.
+
+When a SAXImpl object is created, the _hasIdCall flag is passed in from the
+Translet. Now the id index table is only built when the stylesheet makes
+use of the id function.
+
+Also fix a bug in the NameBase class for using an incorrect class name
+(org.apache.xml.dtm.ref.DTMAxisIterator should be
org.apache.xml.dtm.DTMAxisIterator).
</Log>
</Commit>
-<Commit category="core">
+<Commit category="xsltc">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/11</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xml/utils
SystemIDResolver.java</Modified>
+<DateCommitted>2003/03/05</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc DOM.java
xml-xalan/java/src/org/apache/xalan/xsltc/compiler SyntaxTreeNode.java
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util ResultTreeType.java
xml-xalan/java/src/org/apache/xalan/xsltc/dom DOMAdapter.java DOMImpl.java
MultiDOM.java SAXImpl.java xml-xalan/java/src/org/apache/xalan/xsltc/runtime
BasisLibrary.java xml-xalan/java/src/org/apache/xalan/xsltc/trax
XSLTCSource.java</Modified>
<Log>
-Minor improvement to the getAbsoluteURIFromRelative() and getAbsoluteURI()
-interfaces. Reorganize the code to be more efficient. Return a slightly
-better result when the input string is an invalid URI.
+XSLTC_DTM performance work
+
+Design a new DOM model (SimpleResultTreeImpl) for simple result tree
+fragment (RTF). A simple RTF is an RTF which has only one Text node.
+It can be generated by a combination of Text, xsl:value-of and xsl:number
+instructions. It can also be generated by xsl:if or xsl:choose, as far
+as the content of the control body is pure Text. The code to detect whether
+an RTF is simple is in SyntaxTreeNode.isSimpleRTF().
+
+Before this change, an RTF is represented by a SAXImpl object. SAXImpl is
+a heavy-weight class in that it allocates a lot of array objects for storage.
+In the case where the RTF is only one Text node, creating a SAXImpl is just
+too expensive.
+
+A SimpleResultTreeImpl has only two nodes, i.e. the root node and the Text
+node. All DOM interfaces are overridden to handle this simplified model.
+SimpleResultTreeImpl has a few internal iterators, which is designed to
support
+the nodeset() extension function.
+
+This change brings a significant improvement to stylesheets that create
+a lot of simple RTFs. Some testcases are more than 100% faster after the
change.
</Log>
</Commit>
-<Commit category="core">
+<Commit category="xsltc">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/11</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xml/dtm/ref
DTMNodeList.java</Modified>
+<DateCommitted>2003/03/05</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom
SimpleResultTreeImpl.java</Modified>
<Log>
-For Bugzilla 14406. Make the interface getDTMIterator() public.
+Add a new class SimpleResultTreeImpl as the model for simple RTF.
</Log>
</Commit>
-<Commit category="core">
+<Commit category="xsltc">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/11</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xpath/objects
XNodeSet.java</Modified>
+<DateCommitted>2003/03/06</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom MultiDOM.java
NodeSortRecord.java SAXImpl.java
xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output StreamHTMLOutput.java
StreamXMLOutput.java xml-xalan/java/src/org/apache/xalan/xsltc/util
IntegerArray.java</Modified>
<Log>
-For Bugzilla 14406. Handle the side-effect that creating a DTMNodeList
-will change the state of the iterator.
+XSLTC_DTM performance work
+
+A few small improvements. More space efficient version of
IntegerArray.clone().
+Rearrange the condition checking in StreamXML(HTML)Output.escapeCharacters().
+Only create one default Collator instance in NodeSortRecord.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/12</DateCommitted>
-<Modified> xml-xalan/java/xdocs/sources/xalan extensions_xsltc.xml</Modified>
+<DateCommitted>2003/03/06</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom AnyNodeCounter.java
DOMAdapter.java xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm
SAX2DTM2.java</Modified>
<Log>
-Fix problems in the XSLTC redirect sample. This sample was copied from
-xsltc_constraints.xml. It works with XSLTC, but not using a good syntax.
-It is better to change "xsl:version" to "version" and add a "extension-
-element-prefixes" attribute.
+XSLTC_DTM performance work
+Improvement for xsl:number. Introduce an optimized version of
+getExpandedTypeID() in SAX2DTM2.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/13</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xpath
ExtensionsProvider.java</Modified>
+<DateCommitted>2003/03/07</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom DOMWSFilter.java
NodeSortRecord.java xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm
SAX2DTM2.java</Modified>
<Log>
-For bugzilla 14236. Add a new interface to pass the XPath
-extension function up to Xalan.
+XSLTC_DTM performance work
+Improvement for xsl:strip-space by caching the DTM that is used last time.
+Better Collator handling in NodeSortRecord.
</Log>
</Commit>
-<Commit category="core">
+<Commit category="xsltc">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/13</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xpath/functions
FuncExtFunction.java</Modified>
+<DateCommitted>2003/03/07</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom DOMAdapter.java
SAXImpl.java</Modified>
<Log>
-For bugzilla 14236. Pass the XPath extension function object to the
-extension provider.
+XSLTC_DTM performance work
+Small tweaks in DOMAdapter. Invoking a final method is generally faster than
+invoking a method via interface.
</Log>
</Commit>
-<Commit category="core">
+<Commit category="xsltc">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/13</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/extensions
ExtensionHandler.java ExtensionHandlerExsltFunction.java
ExtensionHandlerGeneral.java ExtensionHandlerJavaClass.java
ExtensionHandlerJavaPackage.java ExtensionsTable.java
xml-xalan/java/src/org/apache/xalan/templates ElemExsltFuncResult.java
ElemExsltFunction.java xml-xalan/java/src/org/apache/xalan/transformer
TransformerImpl.java</Modified>
+<DateCommitted>2003/03/07</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/runtime
AbstractTranslet.java xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output
StreamOutput.java</Modified>
<Log>
-For bugzilla 14236 and 14244. Cleanup in the extension handling code to make
-EXSLT func:function and func:result work correctly.
+XSLTC_DTM performance work
+Improvement in StreamOutput.escapeString(). Do not create the StringBuffer
+if there is nothing to escape.
-New interfaces are added in ExtensionProvider, ExtensionsTable and
-ExtensionHandler to pass the XPath extension function up to the extension
-handler. In the case of an EXSLT function, we need to find out the frame
-size of the caller template and use that to reset the frame bottom of
-the variable stack. This prevents the local variables in the callee
-from overwriting the variables in the caller. Also change the way to
-handle the return result of the function to fix the problem in 14244.
-</Log>
-</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/13</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xpath/axes PredicatedNodeTest.java
OneStepIterator.java</Modified>
-<Log>
-Committing Gordon Chiu's ([EMAIL PROTECTED]) patches for bugzilla #14365,
14368.
-Fixes for processing of last() function.
+This change needs to be put back to the new serializer if it uses the same
+code.
</Log>
</Commit>
<Commit category="xsltc">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/14</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom
DOMWSFilter.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/03/07</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/runtime
StringValueHandler.java</Modified>
<Log>
-file DOMWSFilter.java was initially added on branch XSLTC_DTM.
+XSLTC_DTM performance work
+Use a more sophisticated algorithm in StringValueHandler.
+Do not create new Strings if there is only String value.
+Creating many new Strings is an expensive operation.
</Log>
</Commit>
<Commit category="xsltc">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/18</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/runtime
SAXAdapter.java</Modified>
-<Log>
-Forward namespace() event as startPrefixMapping() to the DOM builder. TODO:
-additional logic is needed to emit the endPrefixMapping() event. This patch
-fixes namespace141.
-</Log>
-</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/22</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/processor
StylesheetHandler.java</Modified>
-<Log>
-In response to Simon Kitching's ([EMAIL PROTECTED]) bug report #14578,
moved synchronized
-block from init method to static initializer to avoid race conditions.
-</Log>
-</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/22</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/serialize Encodings.java
Encodings.properties xml-xalan/java/samples/ApplyXPath ApplyXPath.java
xml-xalan/java/samples/ApplyXPathDOM ApplyXPathDOM.java
xml-xalan/java/samples/CompiledJAXP Transform.java xml-xalan/java/samples/trax
Examples.java xml-xalan/java/samples/UseStylesheetParam
UseStylesheetParam.java</Modified>
-<Log>
-Committing Gordon Chiu's ([EMAIL PROTECTED]) patch for encoding issues
-with serializer, samples and test harness. (Bugzilla #14753)
-</Log>
-</Commit>
-<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/25</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/lib ExsltStrings.java
Extensions.java</Modified>
+<DateCommitted>2003/03/10</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/trax
TemplatesHandlerImpl.java</Modified>
<Log>
-Fix possible thread contention issue by putting
-a lock on the Document object before using it.
+Fix a bug that causes id function testcases to fail in trax.sax flavor.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/25</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/templates
OutputProperties.java</Modified>
+<DateCommitted>2003/03/10</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm
SAX2DTM2.java</Modified>
<Log>
-Commit Ramesh Mandava's ([EMAIL PROTECTED]) patch to allow xalan to read
-property files without opening upcontainer permissions when Xalan is used as
-part of a secure container, such as J2EE RI.
+XSLTC_DTM performance work
+Save the values of attribute, namespace, comment and PI nodes
+in a plain Vector instead of in DTMStringPool. Saving a String
+in DTMStringPool involves a hash calculation. These values
+are unlikely to be equal. Saving them in a plain Vector has a
+lower cost than saving them in DTMStringPool. Only prefixed QNames
+are saved in DTMStringPool after this change.
-The change makes use of the PrivilegedAction interface in JDK 1.2+. It was
-written with JDK 1.1.8 compatibility in mind so that it will do the same
-thing as before in JDK 1.1.8.
+Need to make changes in a few interfaces to accommadate this change.
</Log>
</Commit>
<Commit category="xsltc">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/26</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler Constants.java
Sort.java xml-xalan/java/src/org/apache/xalan/xsltc/dom
NodeSortRecord.java</Modified>
-<Log>
-
-Changed the NodeSortRecord class to hold non-static references to
-instances of java.text.Collator and java.util.Locale. Updated the
-bytecode generation for NodeSortRecord subclasses to access the new
-variables correctly. When a stylesheet specifies a different language
-in xsl:sort, the protected references in NodeSortRecord will be
-updated by the subclass' constructor.
-</Log>
-</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/27</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xpath/axes
NodeSequence.java</Modified>
-<Log>
-Patch for bugzilla #14862. When NodeSequence wraps a mutable nodeset
-use the wrapped nodeset in getLength() method.
-</Log>
-</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/11/27</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xpath/axes NodeSequence.java
xml-xalan/java/src/org/apache/xpath/objects XNodeSet.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/03/11</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom
LoadDocument.java</Modified>
<Log>
-The is a better patch for bugzilla #14862 and more consistent with code in
xslt20 branch.
+XSLTC_DTM performance work
+Set the namespace feature directly on the XMLReader.
SAXParserFactory.setFeature()
+actually creates a temporary SAXParser to verify that feature. So we end up
creating
+two SAXParsers per document() call in the old code.
</Log>
</Commit>
<Commit category="xsltc">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/03</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/runtime
DefaultSAXOutputHandler.java TextOutput.java</Modified>
-<Log>
- Added deprecation comments for DefaultSAXOutputHandler and TextOutput.
- The class xsltc.runtime.output.TransletOutputHandlerFactory
- should be used instead. See xsltc.cmdline.Transform for an example.
-</Log>
-</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/03</DateCommitted>
-<Modified> xml-xalan/java/samples/CompiledServlet CompileServlet.java
TransformServlet.java</Modified>
-<Log>
-Updated sample to use non-deprecated API.
-</Log>
-</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/03</DateCommitted>
-<Modified> xml-xalan/java/samples/CompiledApplet TransformApplet.java
xml-xalan/java/samples/CompiledBrazil TransformHandler.java
xml-xalan/java/samples/CompiledEJB TransformBean.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/03/12</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom
AdaptiveResultTreeImpl.java</Modified>
<Log>
-Updated samples to use non-deprecated API.
+file AdaptiveResultTreeImpl.java was initially added on branch XSLTC_DTM.
</Log>
</Commit>
<Commit category="xsltc">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/04</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xsltc CollatorFactory.java
xml-xalan/java/src/org/apache/xalan/xsltc/dom CollatorFactoryBase.java
NodeSortRecord.java NodeSortRecordFactory.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/03/12</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc DOM.java
xml-xalan/java/src/org/apache/xalan/xsltc/compiler SyntaxTreeNode.java
xml-xalan/java/src/org/apache/xalan/xsltc/dom AdaptiveResultTreeImpl.java
DOMAdapter.java DOMImpl.java MultiDOM.java SAXImpl.java
SimpleResultTreeImpl.java</Modified>
<Log>
-Patch provided by W. Eliot Kimber to support user-defined collators. A
-class implementing the org.apache.xalan.xsltc.CollatorFactory interface
-can be specified from the command line by setting the property:
+XSLTC_DTM performance work
- org.apache.xalan.xsltc.COLLATOR_FACTORY
+Design a light-weight DOM model (AdaptiveResultTreeImpl) for RTFs with
xsl:call-template.
-The class org.apache.xalan.xsltc.dom.CollatorFactoryBase will be used
-by default.
-</Log>
-</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/04</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/processor
TransformerFactoryImpl.java</Modified>
-<Log>
-Performance fix
-Move the call to newTemplateHandler() to be after DOMSource processing.
-DOMSource creates another template handler in the processFromNode() method.
-The newTemplateHandler() call initializes the schema, which is expensive.
+AdaptiveResultTreeImpl is a adaptive DOM model for result tree fragments
(RTF). It is
+used in the case where the RTF is likely to be pure text yet it can still be
a DOM tree.
+It is designed for RTFs which have <xsl:call-template> or
<xsl:apply-templates> in
+the contents. Example:
+
+ <xsl:variable name = "x">
+ <xsl:call-template name = "test">
+ <xsl:with-param name="a" select="."/>
+ </xsl:call-template>
+ </xsl:variable>
+
+In this example the result produced by <xsl:call-template> is likely
to be a single
+Text node. But it can also be a DOM tree. This kind of RTF cannot be
modelled by
+SimpleResultTreeImpl.
+
+AdaptiveResultTreeImpl can be considered as a smart switcher between
SimpleResultTreeImpl
+and SAXImpl. It treats the RTF as simple Text and uses the
SimpleResultTreeImpl model
+at the beginning. However, if it receives a call which indicates that this
is a DOM tree
+(e.g. startElement), it will automatically transform itself into a wrapper
around a
+SAXImpl. In this way we can have a light-weight model when the result only
contains
+simple text, while at the same time it still works when the RTF is a DOM
tree.
+
+All methods in this class are overridden to delegate the action to the
wrapped SAXImpl object
+if it is non-null, or delegate the action to the SimpleResultTreeImpl if
there is no
+wrapped SAXImpl.
</Log>
</Commit>
-<Commit category="core">
+<Commit category="xsltc">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/04</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xml/dtm/ref/dom2dtm
DOM2DTM.java</Modified>
+<DateCommitted>2003/03/12</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom
MultiDOM.java</Modified>
<Log>
-Performance fix
-Reuse the node name in the preceding statement.
+XSLTC_DTM performance work
+Save the DTMManager in a field in MultiDOM. Don't compute it
+everytime in MultiDOM.getDTMId().
</Log>
</Commit>
-<Commit category="core">
+<Commit category="xsltc">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/04</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/serialize
Encodings.java</Modified>
+<DateCommitted>2003/03/13</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom MultiDOM.java
xml-xalan/java/src/org/apache/xalan/xsltc/runtime
StringValueHandler.java</Modified>
<Log>
-Commit Gordon Chiu's ([EMAIL PROTECTED]) patch for performance improvement
-in the Encodings class. The convertJava2MimeEncoding() and getLastPrintable()
-methods can be called many times. The old code walks through a big array and
-do String comparison to find a match. A Hashtable is now used to speed up
-this processing.
+Fix a bug which causes the docbook testcase to fail.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/04</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xpath/objects
XBoolean.java</Modified>
+<DateCommitted>2003/03/13</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xml/utils
FastStringBuffer.java</Modified>
<Log>
-For Bugzilla 15074. Return a java Boolean type object in object(),
-so that it can be recognized by extension functions.
+XSLTC_DTM performance work
+Small improvement in FastStringBuffer.sendSAXCharacters() when the whole
+piece of text is in one chunk.
</Log>
</Commit>
<Commit category="xsltc">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/05</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom
DOMImpl.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/03/14</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom
MultiDOM.java</Modified>
<Log>
- Patch for Bugzilla 15094. Fixed method to compute limit in a Descendant
-iterator; old method was (very) buggy.
+XSLTC_DTM performance work
+Improvement in MultiDOM. Make the nodeHandle to DOMAdapter mapping a
+straight map. The code in getDTMId() is much light-weight than before,
+because the complicated stuff is moved to addDOMAdapter() which is only
+called once per DTM. In the case where the DTM id runs across several
+addressing range (the size of each range is 65536 - an unusal case),
+there will be several items in the adapter array for one DTM.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/05</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/templates
ElemVariable.java</Modified>
+<DateCommitted>2003/03/14</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm
SAX2DTM2.java</Modified>
<Log>
-Commit the patch from Arun Yadav([EMAIL PROTECTED]) to fix Bugzilla 15089.
-Don't add the func:result element to the variable table because it does not
have
-a name.
+XSLTC_DTM performance work
+Small improvement in SAX2DTM2.getStringValueX() and dispatchCharacterEvents()
+by saving one local variable.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/06</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xpath/axes AxesWalker.java
ChildTestIterator.java MatchPatternIterator.java OneStepIterator.java
ReverseAxesWalker.java</Modified>
+<DateCommitted>2003/03/14</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom
CollatorFactoryBase.java SAXImpl.java
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm SAX2DTM2.java</Modified>
<Log>
-Fix the memory leak problem in Bug 6075.
-In the detach() method, null out the fields in the iterators that will
-be reassigned a value upon the next usage. This change fixes the problem
-that the iterators in the IteratorPool can indirectly reference the
-TransformerImpl object.
+XSLTC_DTM performance work
+Save the offset and length of a Text node in a bitwise encoded value (10
+bits for length and 21 bits for offset) if they are within certain limits.
+Before this change, we need 3 SuballocatedIntVector calls to get the offset
+and length information. Now we only need one SuballocatedIntVector call,
+one bit AND & one SHIFT. Bit AND and SHIFT are faster than accessing a
+SuballocatedIntVector.
</Log>
</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/09</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/serialize
SerializerToXML.java</Modified>
+<Commit category="xsltc">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/03/17</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler
ProcessingInstructionPattern.java</Modified>
<Log>
-Patch for bugzilla 14965, with tweak from Art W ([EMAIL PROTECTED]).
-Handle empty comment case.
+Applying patch for bug 15332 from Igor Hersht ([EMAIL PROTECTED]). Ensure
that
+patterns of the form processing-instruction() and
processing-instruction('name')
+are given the right priorities.
</Log>
</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/10</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/templates
ElemForEach.java</Modified>
+<Commit category="xsltc">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/03/17</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler
ProcessingInstructionPattern.java</Modified>
<Log>
-Patch for bugzilla 15254.
+Applying patch for bug 15332 from Igor Hersht ([EMAIL PROTECTED]). Ensure
that
+patterns of the form processing-instruction() and
processing-instruction('name')
+are given the right priorities.
</Log>
</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/11</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xml/dtm/ref
DTMNodeList.java</Modified>
+<Commit category="xsltc">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/03/17</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler
ProcessingInstructionPattern.java</Modified>
<Log>
-Applying Arun Yadav's ([EMAIL PROTECTED]) patch for bugzilla #15218.
+Applying patch for bug 15332 from Igor Hersht ([EMAIL PROTECTED]). Ensure
that
+patterns of the form processing-instruction() and
processing-instruction('name')
+are given the right priorities.
</Log>
</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/11</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xml/dtm DTMIterator.java
xml-xalan/java/src/org/apache/xml/dtm/ref DTMNodeIterator.java
xml-xalan/java/src/org/apache/xpath NodeSetDTM.java</Modified>
+<Commit category="xsltc">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/03/18</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom DOMAdapter.java
DOMWSFilter.java KeyIndex.java LoadDocument.java SAXImpl.java
XSLTCDTMManager.java xml-xalan/java/src/org/apache/xalan/xsltc/runtime
AbstractTranslet.java BasisLibrary.java
xml-xalan/java/src/org/apache/xalan/xsltc/trax DOM2SAX.java
TransformerImpl.java</Modified>
<Log>
-Just tidying up the javadoc in the previousNode and nextNode methods
-and making sure we're testing against DTM.NULL instead of -1.
+XSLTC_DTM performance work
+
+New solution for DOM input. Use SAXImpl + DOM2SAX to handle DOM
+input. This is the solution used in the old XSLTC. The DOMImpl
+class is completely deprecated. This solution is better
+than DOMImpl on top of DOM2DTM for the following reasons:
+
+1. DOM2DTM is known to be slow.
+2. DOM2DTM is an incremental model while DOMImpl is not.
+3. There are too much code duplication between DOMImpl and SAXImpl
+
+Under the new solution, any improvement to SAXImpl and SAX2DTM2 will
+also benefit the DOM case. There is no need to have separate optimizations
+for the DOM case.
+
+This solution is a little sophisticated than the old XSLTC solution in
+that we borrow some code from DOM2DTM (e.g. handling for id function
+and unparsed entity). The end result is that conformance in trax.dom
+is better than the old XSLTC.
</Log>
</Commit>
<Commit category="xsltc">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/17</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/cmdline Compile.java
xml-xalan/java/src/org/apache/xalan/xsltc/compiler Mode.java StepPattern.java
xpath.cup xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output
StreamHTMLOutput.java StreamOutput.java StreamTextOutput.java
StreamXMLOutput.java</Modified>
+<DateCommitted>2003/03/18</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util
VoidType.java</Modified>
<Log>
-Changes:
- - Fixed matching problem reported by Ivelin Ivanov (Cocoon).
- - Added support for namespaces when output is HTML.
- - Set new version of XSLTC to be 1.4.0.
+
+ Override definition of Type.POP() in VoidType to return NOP instead of POP.
+ If type is void, there's nothing to be popped. This problem shows up when
+ invoking an external Java function whose return type is void.
</Log>
</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/17</DateCommitted>
-<Modified> xml-xalan/java/samples/trax Examples.java</Modified>
+<Commit category="xsltc">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/03/19</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/cmdline Transform.java
xml-xalan/java/src/org/apache/xalan/xsltc/compiler Import.java Include.java
Parser.java SyntaxTreeNode.java XSLTC.java
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util ErrorMessages_no.java
ErrorMessages.java ErrorMsg.java TypeCheckError.java
xml-xalan/java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
ErrorMessages_no.java ErrorMessages.java
xml-xalan/java/src/org/apache/xalan/xsltc/trax
TransformerFactoryImpl.java</Modified>
<Log>
-Fixing encodings issues with samples.
+Changed XSLTC messages to extend ListResourceBundle, and use String keys to
+access messages. Code used to extend ResourceBundle and used to use integer
+indices to access error messages.
+
+Changes from myself and Gordon Chiu ([EMAIL PROTECTED]).
</Log>
</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/17</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xml/dtm/ref
DTMDefaultBase.java</Modified>
+<Commit category="xsltc">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/03/20</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/cmdline Transform.java
xml-xalan/java/src/org/apache/xalan/xsltc/compiler Import.java Include.java
Parser.java SyntaxTreeNode.java XSLTC.java
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util ErrorMessages_no.java
ErrorMessages.java ErrorMsg.java TypeCheckError.java
xml-xalan/java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
ErrorMessages_no.java ErrorMessages.java
xml-xalan/java/src/org/apache/xalan/xsltc/trax
TransformerFactoryImpl.java</Modified>
<Log>
-Migrating an improvement in memory usage from the XSLTC_DTM branch:
+Changed XSLTC messages to extend ListResourceBundle, and use String keys to
+access messages. Code used to extend ResourceBundle and used to use integer
+indices to access error messages.
-Reduced the initial sizes of SuballocatedIntVectors used for m_dtmIdent and
-namespace management. In both cases default size SuballocatedIntVectors were
-being used, which entails a block size of 2048. For m_dtmIdent, that value
-would only overflow into a second block for a document with 2048*65536 nodes.
-Using a smaller size improves DTM build time for smaller documents, without
-penalizing most larger documents.
+Changes from myself and Gordon Chiu ([EMAIL PROTECTED]).
</Log>
</Commit>
<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/17</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm
SAX2DTM.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/03/20</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xml/dtm/ref
DTMDefaultBase.java</Modified>
<Log>
-Patch for bugzilla 4858.
-Reduces SAX2DTM memory usage by dropping m_locator after parsing is
complete. Value of m_locator.getSystemId() is cached.
+Fix a bug for testcase axes129.
+DTMDefaultBase.getFirstNamespaceNode() should return NULL when
+the given node is not an element. axes129 passed in both
+Xalan and XSLTC_DTM after this change.
</Log>
</Commit>
<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/20</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/lib/sql
SQLDocument.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/03/20</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xml/dtm/ref
DTMDefaultBaseTraversers.java</Modified>
<Log>
-Fixed spelling mistake for DEFINITELYWRITABLE
+Oops! Old bug, just noticed -- we forgot to override RootTraverser's typed
first().
</Log>
</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/20</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/lib/sql
DTMDocument.java</Modified>
+<Commit category="xsltc">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/03/21</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler Constants.java
DecimalFormatting.java Constants.java DecimalFormatting.java</Modified>
<Log>
-Fixed handling of Node text when an Element Node is selected
-Code provided by [EMAIL PROTECTED]
+The generated code for xsl:decimal-format used the no argument constructor of
+DecimalFormatSymbols, which is affected by the default locale. The default
+attribute values for xsl:decimal-format should not be affected by the default
+locale. Instead, the en_US Locale should be passed to the constructor, as it
+has settings that are consistent with the defaults for xsl:decimal-format.
</Log>
</Commit>
<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/20</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/lib/sql
DefaultConnectionPool.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/03/21</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom NthIterator.java
xml-xalan/java/src/org/apache/xml/dtm DTMAxisIterator.java
xml-xalan/java/src/org/apache/xml/dtm/ref DTMAxisIteratorBase.java
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm SAX2DTM2.java</Modified>
<Log>
-Added in missing code for disable pool
-Code provided by [EMAIL PROTECTED]
+XSLTC_DTM performance work
+Improvement for step[n]. Introduce a new interface getNodeByPosition(int
position)
+in DTMAxisIterator, which is used by the NthIterator. The default
implementation
+is in DTMAxisIteratorBase. The subclasses can override this interface to
provide
+a faster customized implementation.
</Log>
</Commit>
<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/20</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/lib/sql
DTMDocument.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/03/21</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom SAXImpl.java
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm SAX2DTM2.java</Modified>
<Log>
-Fixed minor bug with for loop in getNodeData. Removed
-direct access to child node array
+XSLTC_DTM performance work
+Introduce a copyAttribute() method in SAXImpl to speed up
+attribute copying.
</Log>
</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/20</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/lib/sql
DefaultConnectionPool.java</Modified>
+<Commit category="xsltc">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/03/21</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler Constants.java
DecimalFormatting.java</Modified>
<Log>
-Fixed createConnection method for JDK1.4
-Tested with 1.4.1
+The generated code for xsl:decimal-format used the no argument constructor of
+DecimalFormatSymbols, which is affected by the default locale. The default
+attribute values for xsl:decimal-format should not be affected by the default
+locale. Instead, the en_US Locale should be passed to the constructor, as it
+has settings that are consistent with the defaults for xsl:decimal-format.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2002/12/22</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xpath/objects
XRTreeFragSelectWrapper.java</Modified>
+<DateCommitted>2003/03/24</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm SAX2DTM.java
SAX2DTM2.java</Modified>
<Log>
-For Bugzilla 15373. Change the execute() method to always return a XString
-object. Also change the type to CLASS_STRING.
+XSLTC_DTM performance work
+Improvement in DTM building. Make the code more efficient
+in a few expensive interfaces.
</Log>
</Commit>
<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/09</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xpath/objects XNumber.java
XStringForFSB.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/03/24</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom DOMAdapter.java
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm SAX2DTM2.java</Modified>
<Log>
-Patch for bugzilla 14300.
-Corrected algorithm for converting strings to numbers as it was failing on
very large or very small numbers.
+Fix a bug in XSLTC_DTM.
+Change the name of the optimized getExpandedTypeID method to
getgetExpandedTypeID2.
+The old one can be used during DTM building, while the new one is only
+used in document traversal.
</Log>
</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/10</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/processor
ProcessorImport.java ProcessorInclude.java StylesheetHandler.java
XSLTAttributeDef.java xml-xalan/java/src/org/apache/xalan/res XSLMessages.java
XSLTErrorResources_de.java XSLTErrorResources_en.java
XSLTErrorResources_es.java XSLTErrorResources.java XSLTErrorResources_fr.java
XSLTErrorResources_it.java XSLTErrorResources_ja.java
XSLTErrorResources_ko.java XSLTErrorResources_sv.java
XSLTErrorResources_zh_CN.java XSLTErrorResources_zh_TW.java
xml-xalan/java/src/org/apache/xalan/templates ElemTemplateElement.java
FuncDocument.java FuncFormatNumb.java
xml-xalan/java/src/org/apache/xalan/transformer MsgMgr.java
xml-xalan/java/src/org/apache/xml/utils UnImplNode.java
xml-xalan/java/src/org/apache/xml/utils/res XResourceBundleBase.java
XResources_de.java XResources_es.java XResources_fr.java XResources_it.java
XResources_ko.java XResources_sv.java XResources_zh_CN.java
XResources_zh_TW.java xml-xalan/java/src/org/apache/xpath Expression.java
XPath.java xml-xalan/java/src/org/apache/xpath/compiler Compiler.java
OpMap.java XPathParser.java xml-xalan/java/src/org/apache/xpath/objects
XObject.java xml-xalan/java/src/org/apache/xpath/res
XPATHErrorResources_de.java XPATHErrorResources_en.java
XPATHErrorResources_es.java XPATHErrorResources_fr.java
XPATHErrorResources_it.java XPATHErrorResources_ja.java
XPATHErrorResources_ko.java XPATHErrorResources_sv.java
XPATHErrorResources_zh_CN.java XPATHErrorResources_zh_TW.java
XPATHErrorResources.java</Modified>
+<Commit category="xsltc">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/03/25</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler
XslAttribute.java</Modified>
<Log>
-Changes from Ramesh Mandava ([EMAIL PROTECTED]) to move to using
-ListResourceBundles for Xalan-J Interpretive messages, along with localized
-versions of those messages.
-In addition, message keys are now meaningful strings, rather than numeric.
+ Fix for Bugzilla 18162. Warnings are still reported if an occurrence of
+ xsl:attribute *may* result in a runtime error.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/10</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/templates
OutputProperties.java</Modified>
+<DateCommitted>2003/03/25</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/res XSLTErrorResources.java
XSLTErrorResources.properties XSLTErrorResources.java
XSLTErrorResources.properties xml-xalan/java/src/org/apache/xalan/templates
FuncDocument.java FuncDocument.java xml-xalan/java/src/org/apache/xalan/res
XSLTErrorResources.java XSLTErrorResources.properties XSLTErrorResources.java
XSLTErrorResources.properties xml-xalan/java/src/org/apache/xalan/templates
FuncDocument.java FuncDocument.java</Modified>
<Log>
-Committing Gordon Chiu's patch for bugzilla #6157. Multiple xsl:output
-statements should now be merged correctly.
+Committing Christine Li's ([EMAIL PROTECTED]) patch for bugzilla #18210.
</Log>
</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/11</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/templates
OutputProperties.java</Modified>
+<Commit category="xsltc">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/03/26</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/trax
TransformerImpl.java</Modified>
<Log>
-Small cleanup regarding bugzilla 6157.
-Removed m_propertiesLevels field as it's no longer required.
+Committing patch by Arun Yadav ([EMAIL PROTECTED]) that fixes the problem
+of using "." or "-" as part of the name of a parameter (Bugzilla 15636).
</Log>
</Commit>
<Commit category="xsltc">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/11</DateCommitted>
-<Modified> xml-xalan/java/xdocs/sources/xsltc
xsltc_performance.xml</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/03/26</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler
KeyCall.java</Modified>
<Log>
-Fixing mispellings in xsltc_performance.xml (bugzilla 15591).
-Changes will appear when the site is re-generated.
-
-Mispellings originally reported by Rob Tougher ([EMAIL PROTECTED]).
+Committing patch from Arun Yadav ([EMAIL PROTECTED]) for Bugzilla
+15830. Correct handling for id()/key() values of type result-tree.
</Log>
</Commit>
<Commit category="xsltc">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/13</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler
CompilerContext.java</Modified>
+<DateCommitted>2003/03/31</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler Parser.java
XSLTC.java xml-xalan/java/src/org/apache/xalan/xsltc/trax
TemplatesHandlerImpl.java TransformerFactoryImpl.java</Modified>
<Log>
-file CompilerContext.java was initially added on branch xslt20.
+
+ New implementation for TemplatesHandlerImpl that does not extend
+ xsltc.compiler.Parser. The new implementation has a simpler init()
+ method. Also, instances of the new class can be re-used (previously,
+ there were problems with the output method when an instance was
+ used more than once).
</Log>
</Commit>
<Commit category="xsltc">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/13</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler
CompilerContextImpl.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/03/31</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/trax
SmartTransformerFactoryImpl.java</Modified>
<Log>
-file CompilerContextImpl.java was initially added on branch xslt20.
+Remove XSLTC's compile time dependency on Xalan.
</Log>
</Commit>
<Commit category="xsltc">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/13</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler
StaticContext.java</Modified>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler Parser.java
XSLTC.java xml-xalan/java/src/org/apache/xalan/xsltc/trax
TemplatesHandlerImpl.java TransformerFactoryImpl.java</Modified>
<Log>
-file StaticContext.java was initially added on branch xslt20.
+ New implementation of TemplatesHandlerImpl. Fixes output method problem
+ when reusing TemplatesHandler instances.
</Log>
</Commit>
-<Commit category="xsltc">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/13</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler
StaticContextImpl.java</Modified>
+<Commit category="core">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm SAX2DTM.java
SAX2DTM2.java</Modified>
<Log>
-file StaticContextImpl.java was initially added on branch xslt20.
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xml.dtm.ref.sax2dtm.
+Add new file SAX2DTM2.
</Log>
</Commit>
<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/14</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xml/dtm DTMManager.java
FactoryFinder.java SecuritySupport.java SecuritySupport12.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xml/dtm/ref/dom2dtm
DOM2DTM.java</Modified>
<Log>
-Committing changes in response to bugzilla #12481.
-Before this commit, DTMManager.newInstance cached the found class
-in the cases where the class was identified in jaxp.properties or the class
path.
-There were some problems with this:
-
-1. It was not thread-safe because access to the static field foundFactory was
- not synchronized.
-2. We weren't caching the class when we defaulted to the fallback class (this
- was the original issue in the bug report.)
-3. We weren't using the AccessController class available in JDK1.2 to control
- access to priviliged resources (eg. system properties, files).
-4. DTMManager would never be specified in jaxp.properties because it's
- not part of the JAXP specification.
-5. We aren't using context class loaders.
-
-So, I have made the following changes:
-
-1. Taken the FactoryFinder, SecuritySupport and SecuritySupport12 classes
-from the JAXP subdirectories (in xml-commons) and used them as the basis
-for the lookup of the DTMManager class. This gives us the AccessController
-code.
-
-2. Removed the context class loader support and added a cache for
- the found class (which gets used if the system property is not set.)
- If we want context class loader support in the future (which we probably)
- do, then we will need to revisit this to see if caching the class loader
and the
- class would work.
-
-3. Synchronized access to the found class.
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xml.dtm.ref.dom2dtm.
+</Log>
+</Commit>
+<Commit category="core">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xml/dtm DTM.java
DTMAxisIterator.java DTMManager.java</Modified>
+<Log>
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xml.dtm.
+</Log>
+</Commit>
+<Commit category="core">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xml/dtm/ref
DTMAxisIteratorBase.java DTMAxisIterNodeList.java DTMChildIterNodeList.java
DTMDefaultBase.java DTMDefaultBaseIterators.java DTMDefaultBaseTraversers.java
DTMDocumentImpl.java DTMManagerDefault.java DTMNamedNodeMap.java
DTMNodeList.java DTMNodeListBase.java DTMNodeProxy.java DTMStringPool.java
ExpandedNameTable.java ExtendedType.java
IncrementalSAXSource_Xerces.java</Modified>
+<Log>
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xml.dtm.ref.
+Add new files:
+DTMAxisIterNodeList.java
+DTMChildIterNodeList.java
+DTMNodeListBase.java
+ExtendedType.java
+</Log>
+</Commit>
+<Commit category="core">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xml/res
XMLErrorResources.java</Modified>
+<Log>
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xml.res.
+Add new messages for common serializer.
+</Log>
+</Commit>
+<Commit category="core">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xml/serializer
AttributesImplSerializer.java CharInfo.java DOMSerializer.java ElemDesc.java
EmptySerializer.java EncodingInfo.java Encodings.java Encodings.properties
ExtendedContentHandler.java ExtendedLexicalHandler.java HTMLEntities.res
Method.java NamespaceMappings.java output_html.properties
output_text.properties output_unknown.properties output_xml.properties
OutputPropertiesFactory.java OutputPropertyUtils.java package.html
SerializationHandler.java Serializer.java SerializerBase.java
SerializerConstants.java SerializerFactory.java SerializerTrace.java
SerializerTraceWriter.java ToHTMLSAXHandler.java ToHTMLStream.java
ToSAXHandler.java ToStream.java ToTextSAXHandler.java ToTextStream.java
ToUnknownStream.java ToXMLSAXHandler.java ToXMLStream.java
TransformStateSetter.java WriterToASCI.java WriterToUTF8.java
WriterToUTF8Buffered.java XMLEntities.res XSLOutputAttributes.java</Modified>
+<Log>
+Merging XSLTC_DTM and common serializer to the head
+Add new serializer classes under package org.apache.xml.serializer.
+Log from Brian Minchau ([EMAIL PROTECTED]):
-4. Instead of looking in jaxp.properties, look in xalan.properties (a xalan
- specific configuration file) which can be placed in
<$JAVA_HOME>/jre/lib.
+In the past Xalan-J interpretive (Xalan) and XSLTC both implemented their own
+serialization stages. Much of the code provides the same functionality.
+In order to improve the maintainability of the code, and to eliminate any
+functional differences, these two serializers are now merged in the
+org.apache.xml.serializer package.
-Possible issues:
+The best performing features of both have been used. The class hierarchy
+of serializers used by XSLTC is re-used for this reason. At the highest
+level the serializer classes split based on whether the output of the
+serializer is a "Stream" or whether it is a "SAX" handler. After that
+both major branches split based on the output type (e.g. XML, HTML or TEXT).
-1. In general, using a cache means that the class will not change,
- regardless of changes to xalan.properties or the class loader.
+The external user interface of the old Xalan serializer has been kept.
+Other classes and interfaces have been absorbed into the serializer
+package to keep it independent of both Xalan and XSLTC. The primary
+interface, SerializationHandler, accepts SAX and SAX-like calls, but
+it also absorbs other interfaces from the old Xalan serializer.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/22</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xml/res XMLErrorResources_de.java
XMLErrorResources_en.java XMLErrorResources_es.java XMLErrorResources_fr.java
XMLErrorResources_it.java XMLErrorResources_ja.java XMLErrorResources_ko.java
XMLErrorResources_sv.java XMLErrorResources_zh_CN.java
XMLErrorResources_zh_TW.java XMLErrorResources.java XMLMessages.java</Modified>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xml/utils DOMHelper.java
FastStringBuffer.java IntStack.java SuballocatedIntVector.java
XMLStringDefault.java XMLStringFactoryDefault.java</Modified>
<Log>
-DTM Separation -- New message files
-Move the error messages used by DTM classes from Xalan and XPath
-down to org.apache.xml.res. Created XMLErrorResources files for
-all locales. The XMLMessages class is introduced to handle error
-resources at this level. If a DTM interface needs to issue an error
-message, it will use the new XMLMessages class rather than the
-XSLMessages class in org.apache.xalan.res.
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xml.utils.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/22</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xml/utils Constants.java
DOM2Helper.java DOMHelper.java DOMOrder.java
ThreadControllerWrapper.java</Modified>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/extensions
XSLProcessorContext.java</Modified>
<Log>
-DTM Separation - new files in org.apache.xml.utils
-Move the classes DOMOrder, DOMHelper and DOM2Helper from XPath to xml.utils.
-Add a new Constants class to hold the constants used by XPath.
-The ThreadControllerWrapper class is a container for the nested class
-ThreadController which was originally in
org.apache.xalan.transformer.TransformerImpl.
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.extensions.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/22</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xml/dtm DTMException.java
DTMManager.java xml-xalan/java/src/org/apache/xml/dtm/ref ChunkedIntArray.java
CoroutineManager.java DTMDefaultBase.java DTMDefaultBaseIterators.java
DTMDefaultBaseTraversers.java DTMManagerDefault.java
IncrementalSAXSource_Filter.java IncrementalSAXSource_Xerces.java
xml-xalan/java/src/org/apache/xml/dtm/ref/dom2dtm DOM2DTM.java
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm SAX2DTM.java SAX2RTFDTM.java
xml-xalan/java/src/org/apache/xml/utils AttList.java DefaultErrorHandler.java
DOMBuilder.java ListingErrorHandler.java ObjectPool.java
PrefixResolverDefault.java QName.java TreeWalker.java UnImplNode.java
URI.java</Modified>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/lib ExsltDatetime.java
PipeDocument.java Redirect.java xml-xalan/java/src/org/apache/xalan/lib/sql
DTMDocument.java</Modified>
<Log>
-DTM Separation -- patches for files under org.apache.xml
-1. Replace all invocations of XSLMessages.createMessage() by
-XMLMessages.createXMLMessage().
-
-2. Replace XSLTErrorResources by XMLErrorResources.
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.lib.
-3. In IncrementalSAXSource_Filter, use ThreadControllerWrapper.runThread()
-rather than calling TransformerImpl.runTransformThread().
+1. Change the return types of some date-time extension functions
+for support in XSLTC.
-4. In SAX2DTM, use a setter method to set the source location property.
-Remove the field access to
org.apache.xalan.processor.TransformerFactoryImpl.m_source_location.
+2. Changes for the new serializer.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/22</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xpath DOM2Helper.java
DOMHelper.java DOMOrder.java</Modified>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/processor
ProcessorOutputElem.java TransformerFactoryImpl.java</Modified>
<Log>
-DTM Separation - remove old files in XPath
-DOMOrder, DOMHelper and DOM2Helper are now in org.apache.xml.utils.
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.processor.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/22</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xpath NodeSet.java
XPathContext.java xml-xalan/java/src/org/apache/xpath/functions FuncId.java
FuncSum.java xml-xalan/java/src/org/apache/xpath/objects XNodeSet.java
XRTreeFragSelectWrapper.java xml-xalan/java/src/org/apache/xpath/res
XPATHErrorResources_de.java XPATHErrorResources_es.java
XPATHErrorResources_fr.java XPATHErrorResources_it.java
XPATHErrorResources_ja.java XPATHErrorResources_ko.java
XPATHErrorResources_sv.java XPATHErrorResources_zh_CN.java
XPATHErrorResources_zh_TW.java XPATHErrorResources.java
XPATHMessages.java</Modified>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/serialize CharInfo.java
DOMSerializer.java ElemDesc.java EncodingInfo.java Encodings.java
Encodings.properties HTMLEntities.res Method.java package.html Serializer.java
serializer.properties SerializerFactory.java SerializerToHTML.java
SerializerToText.java SerializerToXML.java SerializerUtils.java
WriterToASCI.java WriterToUTF8.java WriterToUTF8Buffered.java
XMLEntities.res</Modified>
<Log>
-DTM Separation -- changes in org.apache.xpath
-1. Change the import path for DOMHelper and DOM2Helper
-2. Move 8 errror messages from XPATHErrorResources to XMLErrorResources
-3. Create a new XPATHMessages class to handle error resources at
-the XPath level.
+Merging XSLTC_DTM and common serializer to the head
+Remove old serializer classes under org.apache.xalan.serialize.
+The new serializer files are now in org.apache.xml.serializer.
+Add new file SerializerUtils.java.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/22</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/lib ExsltSets.java
xml-xalan/java/src/org/apache/xalan/processor ProcessorInclude.java
StylesheetHandler.java TransformerFactoryImpl.java
xml-xalan/java/src/org/apache/xalan/res XSLMessages.java
XSLTErrorResources_de.java XSLTErrorResources.java XSLTErrorResources_es.java
XSLTErrorResources_fr.java XSLTErrorResources_it.java
XSLTErrorResources_ja.java XSLTErrorResources_ko.java
XSLTErrorResources_sv.java XSLTErrorResources_zh_CN.java
XSLTErrorResources_zh_TW.java xml-xalan/java/src/org/apache/xalan/serialize
SerializerToXML.java xml-xalan/java/src/org/apache/xalan/templates
Constants.java xml-xalan/java/src/org/apache/xalan/transformer MsgMgr.java
TransformerIdentityImpl.java TransformerImpl.java
TreeWalker2Result.java</Modified>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/templates
ElemApplyTemplates.java ElemAttribute.java ElemCopy.java ElemCopyOf.java
ElemElement.java ElemExtensionCall.java ElemForEach.java ElemLiteralResult.java
ElemTemplateElement.java ElemTextLiteral.java ElemValueOf.java
output_html.properties output_text.properties output_xml.properties
OutputProperties.java StylesheetRoot.java</Modified>
<Log>
-DTM Separation -- changes in org.apache.xalan
-1. Change the paths to DOMHelper and DOM2Helper
-2. Remove the m_XSLMessages field from a few classes.
-Use the static methods instead.
-3. In TransformerFactoryImpl, whenever the source location attribute
-is set, call the setter method in SAX2DTM to set the same attribute.
-4. XSLMessages now extends from XPATHMessages. The common interfaces
-are moved to XMLMessages.
-5. Move 53 error messages from XSLTErrorResources to XMLErrorResources.
-6. Move some of the constants from org.apache.xalan.templates.Constants
-to org.apache.xml.utils.Constants.
-7. Move the nested class ThreadControler in TransformerImpl to
-org.apache.xml.utils.ThreadControllerWrapper.
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.templates.
+Replace ResultTreeHandler with SerializationHandler.
</Log>
</Commit>
<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/23</DateCommitted>
-<Modified> xml-xalan/java/samples/UseStylesheetParam UseStylesheetParam.java
xml-xalan/java/samples/extensions/sql/ext-connection ExternalConnection.java
xml-xalan/java/samples/SimpleTransform SimpleTransform.java
xml-xalan/java/samples/Validate ValidateXMLInput.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/trace GenerateEvent.java
PrintTraceListener.java</Modified>
<Log>
-Updating license in some samples.
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.trace.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/23</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/res
XSLTErrorResources_de.java XSLTErrorResources_es.java
XSLTErrorResources_fr.java XSLTErrorResources_it.java XSLTErrorResources.java
XSLTErrorResources_ja.java XSLTErrorResources_ko.java
XSLTErrorResources_sv.java XSLTErrorResources_zh_CN.java
XSLTErrorResources_zh_TW.java</Modified>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/transformer
ClonerToResultTree.java QueuedEvents.java ResultTreeHandler.java
SerializerSwitcher.java TransformerHandlerImpl.java
TransformerIdentityImpl.java TransformerImpl.java TransformSnapshot.java
TransformSnapshotImpl.java TransformState.java TreeWalker2Result.java
XalanTransformState.java</Modified>
<Log>
-Correction to the message number.
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.transformer for the new serializer.
</Log>
</Commit>
<Commit category="xsltc">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/24</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler
FunctionCall.java</Modified>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/cmdline
Transform.java</Modified>
<Log>
-For Bugzilla 16386. Add rules for object type matching.
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.xsltc.cmdline.
</Log>
</Commit>
<Commit category="xsltc">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/24</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler
ForEachGroup.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc DOM.java DOMCache.java
NodeIterator.java Translet.java TransletOutputHandler.java</Modified>
<Log>
-file ForEachGroup.java was initially added on branch xslt20.
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.xsltc.
+
+1. Remove TransletOutputHandler.java
+2. Adapt the XSLTC interfaces to the DTM model.
</Log>
</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/24</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xml/utils
FastStringBuffer.java</Modified>
+<Commit category="xsltc">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/util
IntegerArray.java</Modified>
<Log>
-Fix for Bugzilla bug 10053. Before, a blank was emitted for any chunk that
-began with whitespace after non-whitespace characters had been seen. Also
made
-some performance improvements to sendNormalizedSAXcharacters.
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.xsltc.util.
</Log>
</Commit>
-<Commit category="core">
+<Commit category="xsltc">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/24</DateCommitted>
-<Modified> xml-xalan/java build.xml</Modified>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler
AbsolutePathPattern.java AncestorPattern.java CastExpr.java Constants.java
CopyOf.java DocumentCall.java ForEach.java GenerateIdCall.java
IdKeyPattern.java Key.java KeyCall.java Message.java Mode.java NameBase.java
NodeTest.java Output.java ParentLocationPath.java Predicate.java
ProcessingInstructionPattern.java Step.java StepPattern.java Stylesheet.java
SyntaxTreeNode.java UnionPathExpr.java UnparsedEntityUriCall.java ValueOf.java
xpath.cup XSLTC.java</Modified>
<Log>
-Commit the patch from Sarah Mcnamara ([EMAIL PROTECTED]) to remove
-the compat target.
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.xsltc.compiler.
</Log>
</Commit>
<Commit category="xsltc">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/24</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler
AnalyzeString.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util
MethodGenerator.java NodeSetType.java ObjectType.java ReferenceType.java
ResultTreeType.java TypeCheckError.java</Modified>
<Log>
-file AnalyzeString.java was initially added on branch xslt20.
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.xsltc.compiler.util.
</Log>
</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/27</DateCommitted>
-<Modified> xml-xalan/java/bin xml-apis.jar xml-xalan/java/src
xml-commons-src.tar.gz</Modified>
+<Commit category="xsltc">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/trax DOM2SAX.java
DOM2TO.java SAX2TO.java TemplatesHandlerImpl.java TransformerHandlerImpl.java
TransformerImpl.java XSLTCSource.java</Modified>
<Log>
-Committing xml-apis bin and source based off new tck-jaxp-1_2_0 branch
-of xml-commons.
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.xsltc.trax.
</Log>
</Commit>
<Commit category="xsltc">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/27</DateCommitted>
-<Modified> xml-xalan/java build.xml License xml-xalan/java/bin
xercesImpl.LICENSE.txt xml-apis.LICENSE.txt xml-xalan/java/samples/ApplyXPath
ApplyXPath.java xml-xalan/java/samples/ApplyXPathDOM ApplyXPathDOM.java
xml-xalan/java/samples/CompiledApplet TransformApplet.java
xml-xalan/java/samples/CompiledBrazil TransformHandler.java
xml-xalan/java/samples/CompiledEJB TransformBean.java TransformHome.java
TransformRemote.java TransformServlet.java xml-xalan/java/samples/CompiledJAXP
Compile.java Transform.java xml-xalan/java/samples/CompiledServlet
CompileServlet.java TransformServlet.java xml-xalan/java/samples/DOM2DOM
DOM2DOM.java xml-xalan/java/samples/Pipe Pipe.java
xml-xalan/java/samples/SAX2SAX SAX2SAX.java
xml-xalan/java/samples/SimpleTransform SimpleTransform.java
xml-xalan/java/samples/Trace Trace.java xml-xalan/java/samples/UseStylesheetPI
UseStylesheetPI.java xml-xalan/java/samples/extensions IntDate.java
MyCounter.java xml-xalan/java/samples/extensions/sql/ext-connection
ExternalConnection.java xml-xalan/java/samples/servlet ApplyXSLT.java
ApplyXSLTException.java ApplyXSLTListener.java ApplyXSLTProperties.java
DefaultApplyXSLTProperties.java SimpleXSLTServlet.java
UseStylesheetParamServlet.java XSLTServletWithParams.java
xml-xalan/java/samples/UseStylesheetParam UseStylesheetParam.java
xml-xalan/java/samples/UseXMLFilters UseXMLFilters.java
xml-xalan/java/samples/Validate Validate.java ValidateXMLInput.java
xml-xalan/java/samples/servlet ApplyXSLT.java ApplyXSLTException.java
ApplyXSLTListener.java ApplyXSLTProperties.java DefaultApplyXSLTProperties.java
SimpleXSLTServlet.java UseStylesheetParamServlet.java
XSLTServletWithParams.java xml-xalan/java/samples/translets
JAXPTransletMultipleTransformations.java JAXPTransletOneTransformation.java
xml-xalan/java/samples/trax ExampleContentHandler.java Examples.java
xml-xalan/java/src/org/apache/xalan Version.java
xml-xalan/java/src/org/apache/xalan/client XSLTProcessorApplet.java
xml-xalan/java/src/org/apache/xalan/extensions ExpressionContext.java
ExpressionVisitor.java ExtensionHandler.java ExtensionHandlerExsltFunction.java
ExtensionHandlerGeneral.java ExtensionHandlerJava.java
ExtensionHandlerJavaClass.java ExtensionHandlerJavaPackage.java
ExtensionNamespacesManager.java ExtensionNamespaceSupport.java
ExtensionsTable.java MethodResolver.java XSLProcessorContext.java
xml-xalan/java/src/org/apache/xalan/lib ExsltBase.java ExsltCommon.java
ExsltDatetime.java ExsltDynamic.java ExsltMath.java ExsltSets.java
ExsltStrings.java Extensions.java NodeInfo.java PipeDocument.java Redirect.java
xml-xalan/java/src/org/apache/xalan/lib/sql ConnectionPool.java
ConnectionPoolManager.java DefaultConnectionPool.java DTMDocument.java
ObjectArray.java PooledConnection.java QueryParameter.java SQLDocument.java
SQLErrorDocument.java XConnection.java
xml-xalan/java/src/org/apache/xalan/processor ProcessorAttributeSet.java
ProcessorCharacters.java ProcessorDecimalFormat.java
ProcessorExsltFuncResult.java ProcessorExsltFunction.java
ProcessorGlobalParamDecl.java ProcessorGlobalVariableDecl.java
ProcessorImport.java ProcessorInclude.java ProcessorKey.java ProcessorLRE.java
ProcessorNamespaceAlias.java ProcessorOutputElem.java
ProcessorPreserveSpace.java ProcessorStripSpace.java
ProcessorStylesheetDoc.java ProcessorStylesheetElement.java
ProcessorTemplate.java ProcessorTemplateElem.java ProcessorText.java
ProcessorUnknown.java StopParseException.java StylesheetHandler.java
StylesheetPIHandler.java TransformerFactoryImpl.java WhitespaceInfoPaths.java
XSLProcessorVersion.java XSLTAttributeDef.java XSLTElementDef.java
XSLTElementProcessor.java XSLTSchema.java
xml-xalan/java/src/org/apache/xalan/res XSLMessages.java
XSLTErrorResources_de.java XSLTErrorResources_en.java
XSLTErrorResources_es.java XSLTErrorResources.java XSLTErrorResources_fr.java
XSLTErrorResources_it.java XSLTErrorResources_ja.java
XSLTErrorResources_ko.java XSLTErrorResources_sv.java
XSLTErrorResources_zh_CN.java XSLTErrorResources_zh_TW.java
xml-xalan/java/src/org/apache/xalan/serialize CharInfo.java DOMSerializer.java
ElemDesc.java EncodingInfo.java Encodings.java Method.java Serializer.java
SerializerFactory.java SerializerToHTML.java SerializerToText.java
SerializerToXML.java WriterToASCI.java WriterToUTF8.java
WriterToUTF8Buffered.java xml-xalan/java/src/org/apache/xalan/templates
AbsPathChecker.java AVT.java AVTPart.java AVTPartSimple.java AVTPartXPath.java
Constants.java DecimalFormatProperties.java ElemApplyImport.java
ElemApplyTemplates.java ElemAttribute.java ElemAttributeSet.java
ElemCallTemplate.java ElemChoose.java ElemComment.java ElemCopy.java
ElemCopyOf.java ElemElement.java ElemEmpty.java ElemExsltFuncResult.java
ElemExsltFunction.java ElemExtensionCall.java ElemExtensionDecl.java
ElemExtensionScript.java ElemFallback.java ElemForEach.java ElemIf.java
ElemLiteralResult.java ElemMessage.java ElemNumber.java ElemOtherwise.java
ElemParam.java ElemPI.java ElemSort.java ElemTemplate.java
ElemTemplateElement.java ElemText.java ElemTextLiteral.java ElemUnknown.java
ElemUse.java ElemValueOf.java ElemVariable.java ElemVariablePsuedo.java
ElemWhen.java ElemWithParam.java FuncDocument.java FuncFormatNumb.java
FuncKey.java KeyDeclaration.java NamespaceAlias.java OutputProperties.java
RedundentExprEliminator.java Stylesheet.java StylesheetComposed.java
StylesheetRoot.java TemplateList.java TemplateSubPatternAssociation.java
VarNameCollector.java WhiteSpaceInfo.java XMLNSDecl.java XSLTVisitable.java
XSLTVisitor.java XUnresolvedVariable.java XUnresolvedVariableSimple.java
xml-xalan/java/src/org/apache/xalan/trace EndSelectionEvent.java
GenerateEvent.java PrintTraceListener.java SelectionEvent.java
TraceListener.java TraceListenerEx.java TraceListenerEx2.java TraceManager.java
TracerEvent.java xml-xalan/java/src/org/apache/xalan/transformer
ClonerToResultTree.java Counter.java CountersTable.java DecimalToRoman.java
KeyIterator.java KeyManager.java KeyRefIterator.java KeyTable.java MsgMgr.java
NodeSorter.java NodeSortKey.java NumeratorFormatter.java QueuedEvents.java
ResultNameSpace.java ResultTreeHandler.java SerializerSwitcher.java
StackGuard.java TransformerClient.java TransformerHandlerImpl.java
TransformerIdentityImpl.java TransformerImpl.java TransformSnapshot.java
TransformSnapshotImpl.java TransformState.java TrAXFilter.java
TreeWalker2Result.java XalanProperties.java XSLInfiniteLoopException.java
xml-xalan/java/src/org/apache/xalan/xslt EnvironmentCheck.java Process.java
xml-xalan/java/src/org/apache/xalan/xsltc CollatorFactory.java DOM.java
DOMCache.java NodeIterator.java ProcessorVersion.java StripFilter.java
Translet.java TransletException.java TransletOutputHandler.java
xml-xalan/java/src/org/apache/xalan/xsltc/cmdline Compile.java Transform.java
xml-xalan/java/src/org/apache/xalan/xsltc/cmdline/getopt GetOpt.java
GetOptsException.java IllegalArgumentException.java MissingOptArgException.java
xml-xalan/java/src/org/apache/xalan/xsltc/compiler AbsoluteLocationPath.java
AbsolutePathPattern.java AlternativePattern.java AncestorPattern.java
ApplyImports.java ApplyTemplates.java ArgumentList.java Attribute.java
AttributeSet.java AttributeValue.java AttributeValueTemplate.java
BinOpExpr.java BooleanCall.java BooleanExpr.java CallTemplate.java
CastExpr.java CeilingCall.java Choose.java Closure.java Comment.java
CompilerException.java ConcatCall.java Constants.java ContainsCall.java
Copy.java CopyOf.java CurrentCall.java DecimalFormatting.java DocumentCall.java
ElementAvailableCall.java EqualityExpr.java Expression.java Fallback.java
FilteredAbsoluteLocationPath.java FilterExpr.java FilterParentPath.java
FloorCall.java FlowList.java ForEach.java FormatNumberCall.java
ForwardPositionExpr.java FunctionAvailableCall.java FunctionCall.java
GenerateIdCall.java IdKeyPattern.java IdPattern.java If.java
IllegalCharException.java Import.java Include.java Instruction.java
IntExpr.java Key.java KeyCall.java KeyPattern.java LangCall.java LastCall.java
LiteralAttribute.java LiteralElement.java LiteralExpr.java LocalNameCall.java
LocationPathPattern.java LogicalExpr.java Message.java Mode.java NameBase.java
NameCall.java NamespaceAlias.java NamespaceUriCall.java NodeTest.java
NotCall.java Number.java NumberCall.java Otherwise.java Output.java Param.java
ParameterRef.java ParentLocationPath.java ParentPattern.java Parser.java
Pattern.java PositionCall.java Predicate.java ProcessingInstruction.java
ProcessingInstructionPattern.java QName.java RealExpr.java RelationalExpr.java
RelativeLocationPath.java RelativePathPattern.java RoundCall.java
SimpleAttributeValue.java Sort.java SourceLoader.java StartsWithCall.java
Step.java StepPattern.java StringCall.java StringLengthCall.java
Stylesheet.java SymbolTable.java SyntaxTreeNode.java Template.java TestSeq.java
Text.java TopLevelElement.java TransletOutput.java UnaryOpExpr.java
UnionPathExpr.java UnparsedEntityUriCall.java UnresolvedRef.java
UnsupportedElement.java UseAttributeSets.java ValueOf.java Variable.java
VariableBase.java VariableRef.java VariableRefBase.java When.java
Whitespace.java WithParam.java xpath.cup xpath.lex XslAttribute.java
XslElement.java XSLTC.java
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util
AttributeSetMethodGenerator.java BooleanType.java ClassGenerator.java
CompareGenerator.java ErrorMessages_no.java ErrorMessages.java ErrorMsg.java
FilterGenerator.java IntType.java MatchGenerator.java MethodGenerator.java
MethodType.java MultiHashtable.java NamedMethodGenerator.java
NodeCounterGenerator.java NodeSetType.java NodeSortRecordFactGenerator.java
NodeSortRecordGenerator.java NodeType.java NumberType.java ObjectType.java
RealType.java ReferenceType.java ResultTreeType.java RtMethodGenerator.java
SlotAllocator.java StringStack.java StringType.java TestGenerator.java
Type.java TypeCheckError.java Util.java VoidType.java
xml-xalan/java/src/org/apache/xalan/xsltc/runtime AbstractTranslet.java
AttributeList.java Attributes.java BasisLibrary.java Constants.java
DefaultSAXOutputHandler.java ErrorMessages_no.java ErrorMessages.java
Hashtable.java MessageHandler.java Node.java Operators.java Parameter.java
SAXAdapter.java StringValueHandler.java TextOutput.java TransletLoader.java
TransletOutputBase.java
xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output OutputBase.java
OutputBuffer.java SAXHTMLOutput.java SAXOutput.java SAXTextOutput.java
SAXXMLOutput.java StreamHTMLOutput.java StreamOutput.java StreamTextOutput.java
StreamUnknownOutput.java StreamXMLOutput.java StringOutputBuffer.java
TransletOutputHandlerFactory.java WriterOutputBuffer.java
xml-xalan/java/src/org/apache/xalan/xsltc/trax DOM2SAX.java DOM2TO.java
OutputSettings.java SAX2DOM.java SAX2TO.java SmartTransformerFactoryImpl.java
TemplatesHandlerImpl.java TemplatesImpl.java TransformerFactoryImpl.java
TransformerHandlerImpl.java TransformerImpl.java TrAXFilter.java Util.java
XSLTCSource.java xml-xalan/java/src/org/apache/xalan/xsltc/util
IntegerArray.java JavaCupRedirect.java xml-xalan/java/src/org/apache/xml/dtm
Axis.java DTM.java DTMAxisIterator.java DTMAxisTraverser.java
DTMConfigurationException.java DTMDOMException.java DTMException.java
DTMFilter.java DTMIterator.java DTMManager.java DTMWSFilter.java
FactoryFinder.java SecuritySupport.java SecuritySupport12.java
xml-xalan/java/src/org/apache/xml/dtm/ref ChunkedIntArray.java
CoroutineManager.java CoroutineParser.java CustomStringPool.java
DTMAxisIteratorBase.java DTMDefaultBase.java DTMDefaultBaseIterators.java
DTMDefaultBaseTraversers.java DTMDocumentImpl.java DTMManagerDefault.java
DTMNamedNodeMap.java DTMNodeIterator.java DTMNodeList.java DTMNodeProxy.java
DTMSafeStringPool.java DTMStringPool.java DTMTreeWalker.java
ExpandedNameTable.java IncrementalSAXSource_Filter.java
IncrementalSAXSource_Xerces.java IncrementalSAXSource.java NodeLocator.java
xml-xalan/java/src/org/apache/xml/dtm/ref/dom2dtm DOM2DTM.java
DOM2DTMdefaultNamespaceDeclarationNode.java
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm SAX2DTM.java SAX2RTFDTM.java
xml-xalan/java/src/org/apache/xml/res XMLErrorResources_de.java
XMLErrorResources_en.java XMLErrorResources_es.java XMLErrorResources_fr.java
XMLErrorResources_it.java XMLErrorResources_ja.java XMLErrorResources_ko.java
XMLErrorResources_sv.java XMLErrorResources_zh_CN.java
XMLErrorResources_zh_TW.java XMLErrorResources.java XMLMessages.java
xml-xalan/java/src/org/apache/xml/utils AttList.java BoolStack.java
CharKey.java Constants.java DefaultErrorHandler.java DOM2Helper.java
DOMBuilder.java DOMHelper.java DOMOrder.java ElemDesc.java
FastStringBuffer.java Hashtree2Node.java IntStack.java IntVector.java
ListingErrorHandler.java MutableAttrListImpl.java NameSpace.java
NamespaceSupport2.java NodeConsumer.java NodeVector.java NSInfo.java
ObjectPool.java ObjectStack.java ObjectVector.java PrefixResolver.java
PrefixResolverDefault.java QName.java RawCharacterHandler.java
SAXSourceLocator.java SerializableLocatorImpl.java StringBufferPool.java
StringToIntTable.java StringToStringTable.java StringToStringTableVector.java
StringVector.java SuballocatedByteVector.java SuballocatedIntVector.java
SystemIDResolver.java ThreadControllerWrapper.java TreeWalker.java Trie.java
UnImplNode.java URI.java WrappedRuntimeException.java WrongParserException.java
XMLChar.java XMLCharacterRecognizer.java XMLString.java XMLStringFactory.java
xml-xalan/java/src/org/apache/xml/utils/res XResourceBundle.java
XResourceBundleBase.java XResources_cy.java XResources_de.java
XResources_el.java XResources_en.java XResources_es.java XResources_fr.java
XResources_he.java XResources_hy.java XResources_it.java
XResources_ja_JP_A.java XResources_ja_JP_HA.java XResources_ja_JP_HI.java
XResources_ja_JP_I.java XResources_ka.java XResources_ko.java
XResources_sv.java XResources_zh_CN.java XResources_zh_TW.java
xml-xalan/java/src/org/apache/xml/utils/synthetic Class.java JavaUtils.java
SynthesisException.java TestDriver.java
xml-xalan/java/src/org/apache/xml/utils/synthetic/reflection Constructor.java
EntryPoint.java Field.java Member.java Method.java
xml-xalan/java/src/org/apache/xpath Arg.java CachedXPathAPI.java
Expression.java ExpressionNode.java ExpressionOwner.java
ExtensionsProvider.java FoundIndex.java NodeSet.java NodeSetDTM.java
SourceTree.java SourceTreeManager.java VariableStack.java
WhitespaceStrippingElementMatcher.java XPath.java XPathAPI.java
XPathContext.java XPathException.java XPathFactory.java
XPathProcessorException.java XPathVisitable.java XPathVisitor.java
xml-xalan/java/src/org/apache/xpath/axes AttributeIterator.java AxesWalker.java
BasicTestIterator.java ChildIterator.java ChildTestIterator.java
ContextNodeList.java DescendantIterator.java FilterExprIterator.java
FilterExprIteratorSimple.java FilterExprWalker.java
HasPositionalPredChecker.java IteratorPool.java LocPathIterator.java
MatchPatternIterator.java NodeSequence.java OneStepIterator.java
OneStepIteratorForward.java PathComponent.java PredicatedNodeTest.java
ReverseAxesWalker.java RTFIterator.java SelfIteratorNoPredicate.java
SubContextList.java UnionChildIterator.java UnionPathIterator.java
WalkerFactory.java WalkingIterator.java WalkingIteratorSorted.java
xml-xalan/java/src/org/apache/xpath/compiler Compiler.java FuncLoader.java
FunctionTable.java Keywords.java Lexer.java OpCodes.java OpMap.java
OpMapVector.java PsuedoNames.java XPathDumper.java XPathParser.java
xml-xalan/java/src/org/apache/xpath/domapi XPathEvaluatorImpl.java
XPathExpressionImpl.java XPathNamespaceImpl.java XPathNSResolverImpl.java
XPathResultImpl.java xml-xalan/java/src/org/apache/xpath/functions
FuncBoolean.java FuncCeiling.java FuncConcat.java FuncContains.java
FuncCount.java FuncCurrent.java FuncDoclocation.java
FuncExtElementAvailable.java FuncExtFunction.java FuncExtFunctionAvailable.java
FuncFalse.java FuncFloor.java FuncGenerateId.java FuncId.java FuncLang.java
FuncLast.java FuncLocalPart.java FuncNamespace.java FuncNormalizeSpace.java
FuncNot.java FuncNumber.java FuncPosition.java FuncQname.java FuncRound.java
FuncStartsWith.java FuncString.java FuncStringLength.java FuncSubstring.java
FuncSubstringAfter.java FuncSubstringBefore.java FuncSum.java
FuncSystemProperty.java Function.java Function2Args.java Function3Args.java
FunctionDef1Arg.java FunctionMultiArgs.java FunctionOneArg.java
FuncTranslate.java FuncTrue.java FuncUnparsedEntityURI.java
WrongNumberArgsException.java xml-xalan/java/src/org/apache/xpath/objects
XBoolean.java XBooleanStatic.java XMLStringFactoryImpl.java XNodeSet.java
XNodeSetForDOM.java XNull.java XNumber.java XObject.java XObjectFactory.java
XRTreeFrag.java XRTreeFragSelectWrapper.java XString.java XStringForChars.java
XStringForFSB.java xml-xalan/java/src/org/apache/xpath/operations And.java
Bool.java Div.java Equals.java Gt.java Gte.java Lt.java Lte.java Minus.java
Mod.java Mult.java Neg.java NotEquals.java Number.java Operation.java Or.java
Plus.java Quo.java String.java UnaryOperation.java Variable.java
VariableSafeAbsRef.java xml-xalan/java/src/org/apache/xpath/patterns
ContextMatchStepPattern.java FunctionPattern.java NodeTest.java
NodeTestFilter.java StepPattern.java UnionPattern.java
xml-xalan/java/src/org/apache/xpath/res XPATHErrorResources_de.java
XPATHErrorResources_en.java XPATHErrorResources_es.java
XPATHErrorResources_fr.java XPATHErrorResources_it.java
XPATHErrorResources_ja.java XPATHErrorResources.java
XPATHErrorResources_ko.java XPATHErrorResources_sv.java
XPATHErrorResources_zh_CN.java XPATHErrorResources_zh_TW.java
XPATHMessages.java xml-xalan/java/xdocs/sources xalandesign.xml
xalan-jlocal.xml xalan-jsite.xml xml-xalan/java/xdocs/sources/xalan builds.xml
commandline_xsltc.xml commandline.xml dtm.xml extensions_xsltc.xml
extensions.xml extensionslib.xml faq.xml features.xml getstarted.xml
history.xml index.xml overview.xml readme.xml samples.xml trax.xml
usagepatterns.xml whatsnew.xml xsltc_history.xml xsltc_usage.xml
xml-xalan/java/xdocs/sources/xsltc index.xml xsl_choose_design.xml
xsl_comment_design.xml xsl_if_design.xml xsl_include_design.xml
xsl_key_design.xml xsl_lang_design.xml xsl_sort_design.xml
xsl_unparsed_design.xml xsl_variable_design.xml xsl_whitespace_design.xml
xsltc_compiler.xml xsltc_dom.xml xsltc_iterators.xml xsltc_namespace.xml
xsltc_native_api.xml xsltc_overview.xml xsltc_performance.xml
xsltc_predicates.xml xsltc_runtime.xml xsltc_trax_api.xml
xsltc_trax.xml</Modified>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output
OutputBase.java SAXHTMLOutput.java SAXOutput.java SAXTextOutput.java
SAXXMLOutput.java StreamHTMLOutput.java StreamOutput.java StreamTextOutput.java
StreamUnknownOutput.java StreamXMLOutput.java
TransletOutputHandlerFactory.java</Modified>
<Log>
-Commit the copyright patches from Sarah Mcnamara ([EMAIL PROTECTED]).
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.xsltc.runtime.output
+Remove the output classes in XSLTC. XSLTC now uses the
+output classes in the common serializer.
</Log>
</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/30</DateCommitted>
-<Modified> xml-xalan/java/samples/CompiledApplet TransformApplet.java
xml-xalan/java/samples/CompiledBrazil TransformHandler.java
xml-xalan/java/samples/CompiledEJB TransformBean.java TransformHome.java
TransformRemote.java TransformServlet.java xml-xalan/java/samples/CompiledJAXP
Compile.java Transform.java xml-xalan/java/samples/CompiledServlet
CompileServlet.java TransformServlet.java xml-xalan/java/samples/translets
JAXPTransletMultipleTransformations.java
JAXPTransletOneTransformation.java</Modified>
+<Commit category="xsltc">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/runtime
AbstractTranslet.java AttributeList.java BasisLibrary.java Constants.java
DefaultSAXOutputHandler.java SAXAdapter.java StringValueHandler.java
TextOutput.java TransletOutputBase.java</Modified>
<Log>
-Changes to minimize set of classes imported.
+Merging XSLTC_DTM and common serializer to the head
+Changes in org.apache.xalan.xsltc.runtime.
</Log>
</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/30</DateCommitted>
-<Modified> xml-xalan/java todo.xsl</Modified>
+<Commit category="xsltc">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom
AbsoluteIterator.java AdaptiveResultTreeImpl.java AnyNodeCounter.java Axis.java
BitArray.java CollatorFactoryBase.java CurrentNodeListFilter.java
CurrentNodeListIterator.java DocumentCache.java DOMAdapter.java DOMBuilder.java
DOMImpl.java DOMWSFilter.java DTDMonitor.java DupFilterIterator.java
EmptyFilter.java ExtendedSAX.java Filter.java FilteredStepIterator.java
FilterIterator.java ForwardPositionIterator.java KeyIndex.java
LoadDocument.java MatchingIterator.java MultiDOM.java MultipleNodeCounter.java
NodeCounter.java NodeIteratorBase.java NodeSortRecord.java
NodeSortRecordFactory.java NthIterator.java SAXImpl.java
SimpleResultTreeImpl.java SingleNodeCounter.java SingletonIterator.java
SortingIterator.java StepIterator.java StripWhitespaceFilter.java
UnionIterator.java XSLTCDTMManager.java</Modified>
<Log>
-Added support for distinguishing between active and past developers. The
-latter will have an attribute on the "person" tag named "status" whose value
-equals "emeritus".
+Merging XSLTC_DTM and common serializer to the head
+Adapt all dom classes in org.apache.xalan.xsltc.dom to
+the DTM model.
+
+Removed DOMImpl, DTDMonitor.
+Added a few new classes for the new DOM model. The core
+DOM class is SAXImpl.
</Log>
</Commit>
<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/30</DateCommitted>
-<Modified> xml-xalan/java xsltc_todo.xml</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java build.xml xsltc_todo.xml</Modified>
<Log>
-Changed two developers to have 'emeritus' status.
+Merging XSLTC_DTM and common serializer to the head
+Update build.xml and xsltc_todo.xml.
+
+Now the default build target is a big xalan.jar which
+includes both Xalan-J Interpretive and XSLTC.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/30</DateCommitted>
-<Modified> xml-xalan/java/samples/ApplyXPath ApplyXPath.java
xml-xalan/java/samples/DOM2DOM DOM2DOM.java xml-xalan/java/samples/Pipe
Pipe.java xml-xalan/java/samples/SAX2SAX SAX2SAX.java
xml-xalan/java/samples/SimpleTransform SimpleTransform.java
xml-xalan/java/samples/Trace Trace.java
xml-xalan/java/samples/UseStylesheetParam UseStylesheetParam.java
xml-xalan/java/samples/UseStylesheetPI UseStylesheetPI.java
xml-xalan/java/samples/UseXMLFilters UseXMLFilters.java
xml-xalan/java/samples/Validate Validate.java ValidateXMLInput.java
xml-xalan/java/samples/extensions IntDate.java xml-xalan/java/samples/trax
ExampleContentHandler.java Examples.java</Modified>
+<DateCommitted>2003/04/01</DateCommitted>
+<Modified> xml-xalan/java/src MANIFEST.MF</Modified>
<Log>
-Patch from Sarah Mcnamara ([EMAIL PROTECTED]) to remove
-unused imports in samples.
+Merging XSLTC_DTM and common serializer to the head
+Update MANIFEST.MF to include information about
+xsltc and its support jars.
</Log>
</Commit>
<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/30</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/client
XSLTProcessorApplet.java xml-xalan/java/src/org/apache/xalan/extensions
ExpressionContext.java ExpressionVisitor.java ExtensionHandler.java
ExtensionHandlerExsltFunction.java ExtensionHandlerGeneral.java
ExtensionHandlerJavaClass.java ExtensionHandlerJavaPackage.java
ExtensionNamespacesManager.java ExtensionNamespaceSupport.java
ExtensionsTable.java MethodResolver.java XSLProcessorContext.java
xml-xalan/java/src/org/apache/xalan/lib ExsltBase.java ExsltCommon.java
ExsltDatetime.java ExsltDynamic.java ExsltMath.java ExsltSets.java
ExsltStrings.java Extensions.java NodeInfo.java PipeDocument.java Redirect.java
xml-xalan/java/src/org/apache/xalan/lib/sql ConnectionPool.java
ConnectionPoolManager.java DTMDocument.java DefaultConnectionPool.java
PooledConnection.java SQLDocument.java SQLErrorDocument.java XConnection.java
xml-xalan/java/src/org/apache/xalan/processor ProcessorAttributeSet.java
ProcessorCharacters.java ProcessorDecimalFormat.java
ProcessorExsltFuncResult.java ProcessorExsltFunction.java
ProcessorGlobalParamDecl.java ProcessorGlobalVariableDecl.java
ProcessorImport.java ProcessorInclude.java ProcessorKey.java ProcessorLRE.java
ProcessorNamespaceAlias.java ProcessorOutputElem.java
ProcessorPreserveSpace.java ProcessorStripSpace.java
ProcessorStylesheetElement.java ProcessorTemplate.java
ProcessorTemplateElem.java ProcessorText.java ProcessorUnknown.java
StylesheetHandler.java StylesheetPIHandler.java TransformerFactoryImpl.java
WhitespaceInfoPaths.java XSLTAttributeDef.java XSLTElementDef.java
XSLTElementProcessor.java XSLTSchema.java
xml-xalan/java/src/org/apache/xalan/res XSLMessages.java
XSLTErrorResources.java XSLTErrorResources_de.java XSLTErrorResources_es.java
XSLTErrorResources_fr.java XSLTErrorResources_it.java
XSLTErrorResources_ja.java XSLTErrorResources_ko.java
XSLTErrorResources_sv.java XSLTErrorResources_zh_CN.java
XSLTErrorResources_zh_TW.java xml-xalan/java/src/org/apache/xalan/serialize
CharInfo.java Encodings.java Serializer.java SerializerFactory.java
SerializerToHTML.java SerializerToText.java SerializerToXML.java
WriterToASCI.java WriterToUTF8.java WriterToUTF8Buffered.java
xml-xalan/java/src/org/apache/xalan/templates AVT.java AVTPart.java
AVTPartSimple.java AVTPartXPath.java Constants.java
DecimalFormatProperties.java ElemApplyImport.java ElemApplyTemplates.java
ElemAttribute.java ElemAttributeSet.java ElemCallTemplate.java ElemChoose.java
ElemComment.java ElemCopy.java ElemCopyOf.java ElemElement.java ElemEmpty.java
ElemExsltFuncResult.java ElemExsltFunction.java ElemExtensionCall.java
ElemExtensionDecl.java ElemFallback.java ElemForEach.java ElemIf.java
ElemLiteralResult.java ElemMessage.java ElemNumber.java ElemOtherwise.java
ElemPI.java ElemParam.java ElemSort.java ElemTemplate.java
ElemTemplateElement.java ElemText.java ElemTextLiteral.java ElemUnknown.java
ElemUse.java ElemValueOf.java ElemVariable.java ElemVariablePsuedo.java
ElemWhen.java ElemWithParam.java FuncDocument.java FuncFormatNumb.java
FuncKey.java KeyDeclaration.java OutputProperties.java
RedundentExprEliminator.java Stylesheet.java StylesheetComposed.java
StylesheetRoot.java TemplateList.java TemplateSubPatternAssociation.java
XSLTVisitor.java XUnresolvedVariable.java XUnresolvedVariableSimple.java
xml-xalan/java/src/org/apache/xalan/trace EndSelectionEvent.java
GenerateEvent.java PrintTraceListener.java SelectionEvent.java
TraceListener.java TraceManager.java TracerEvent.java
xml-xalan/java/src/org/apache/xalan/transformer ClonerToResultTree.java
Counter.java CountersTable.java KeyIterator.java KeyManager.java
KeyRefIterator.java KeyTable.java MsgMgr.java NodeSorter.java NodeSortKey.java
NumeratorFormatter.java QueuedEvents.java ResultTreeHandler.java
SerializerSwitcher.java StackGuard.java TransformSnapshotImpl.java
TransformState.java TrAXFilter.java TransformerHandlerImpl.java
TransformerIdentityImpl.java TransformerImpl.java TreeWalker2Result.java
xml-xalan/java/src/org/apache/xalan/xslt EnvironmentCheck.java Process.java
xml-xalan/java/src/org/apache/xalan/xsltc DOMCache.java StripFilter.java
TransletOutputHandler.java xml-xalan/java/src/org/apache/xalan/xsltc/cmdline
Compile.java Transform.java
xml-xalan/java/src/org/apache/xalan/xsltc/cmdline/getopt GetOpt.java
IllegalArgumentException.java MissingOptArgException.java
xml-xalan/java/src/org/apache/xalan/xsltc/compiler AbsoluteLocationPath.java
AbsolutePathPattern.java AlternativePattern.java AncestorPattern.java
ApplyImports.java ApplyTemplates.java Attribute.java AttributeSet.java
AttributeValue.java AttributeValueTemplate.java BinOpExpr.java BooleanCall.java
BooleanExpr.java CallTemplate.java CastExpr.java CeilingCall.java Choose.java
Comment.java ConcatCall.java ContainsCall.java Copy.java CopyOf.java
CurrentCall.java DecimalFormatting.java DocumentCall.java
ElementAvailableCall.java EqualityExpr.java Expression.java Fallback.java
FilteredAbsoluteLocationPath.java FilterExpr.java FilterParentPath.java
FloorCall.java FlowList.java ForEach.java FormatNumberCall.java
ForwardPositionExpr.java FunctionAvailableCall.java FunctionCall.java
GenerateIdCall.java IdKeyPattern.java IdPattern.java If.java Import.java
Include.java Instruction.java IntExpr.java Key.java KeyCall.java LangCall.java
LastCall.java LiteralAttribute.java LiteralElement.java LiteralExpr.java
LocalNameCall.java LocationPathPattern.java LogicalExpr.java Message.java
Mode.java NameBase.java NameCall.java NamespaceAlias.java NamespaceUriCall.java
NotCall.java Number.java NumberCall.java Otherwise.java Output.java Param.java
ParameterRef.java ParentLocationPath.java ParentPattern.java Parser.java
Pattern.java PositionCall.java Predicate.java ProcessingInstruction.java
ProcessingInstructionPattern.java RealExpr.java RelationalExpr.java
RoundCall.java SimpleAttributeValue.java Sort.java StartsWithCall.java
Step.java StepPattern.java StringCall.java StringLengthCall.java
Stylesheet.java SymbolTable.java SyntaxTreeNode.java Template.java TestSeq.java
Text.java TopLevelElement.java TransletOutput.java UnaryOpExpr.java
UnionPathExpr.java UnparsedEntityUriCall.java UnresolvedRef.java
UnsupportedElement.java UseAttributeSets.java ValueOf.java Variable.java
VariableBase.java VariableRef.java VariableRefBase.java When.java
Whitespace.java WithParam.java XslAttribute.java XslElement.java XSLTC.java
xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util
AttributeSetMethodGenerator.java BooleanType.java ClassGenerator.java
CompareGenerator.java ErrorMessages_no.java ErrorMessages.java ErrorMsg.java
FilterGenerator.java IntType.java MatchGenerator.java MethodGenerator.java
MultiHashtable.java NamedMethodGenerator.java NodeCounterGenerator.java
NodeSetType.java NodeSortRecordFactGenerator.java NodeSortRecordGenerator.java
NodeType.java NumberType.java ObjectType.java RealType.java ReferenceType.java
ResultTreeType.java RtMethodGenerator.java SlotAllocator.java StringType.java
TestGenerator.java Type.java Util.java VoidType.java
xml-xalan/java/src/org/apache/xalan/xsltc/dom AnyNodeCounter.java BitArray.java
CurrentNodeListFilter.java CurrentNodeListIterator.java DocumentCache.java
DOMAdapter.java DOMBuilder.java DOMImpl.java DTDMonitor.java
DupFilterIterator.java FilteredStepIterator.java KeyIndex.java
LoadDocument.java MultiDOM.java MultipleNodeCounter.java NodeCounter.java
NodeSortRecord.java NthIterator.java SingleNodeCounter.java
SortingIterator.java xml-xalan/java/src/org/apache/xalan/xsltc/runtime
AbstractTranslet.java AttributeList.java Attributes.java BasisLibrary.java
DefaultSAXOutputHandler.java ErrorMessages_no.java ErrorMessages.java
Hashtable.java SAXAdapter.java StringValueHandler.java TextOutput.java
TransletLoader.java TransletOutputBase.java
xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output OutputBase.java
SAXHTMLOutput.java SAXOutput.java SAXTextOutput.java SAXXMLOutput.java
StreamHTMLOutput.java StreamOutput.java StreamTextOutput.java
StreamUnknownOutput.java StreamXMLOutput.java StringOutputBuffer.java
TransletOutputHandlerFactory.java WriterOutputBuffer.java
xml-xalan/java/src/org/apache/xalan/xsltc/trax DOM2SAX.java DOM2TO.java
OutputSettings.java SAX2DOM.java SAX2TO.java SmartTransformerFactoryImpl.java
TemplatesHandlerImpl.java TemplatesImpl.java TransformerFactoryImpl.java
TransformerHandlerImpl.java TransformerImpl.java TrAXFilter.java Util.java
XSLTCSource.java xml-xalan/java/src/org/apache/xml/dtm DTM.java
DTMException.java DTMManager.java FactoryFinder.java SecuritySupport.java
SecuritySupport12.java xml-xalan/java/src/org/apache/xml/dtm/ref
ChunkedIntArray.java CoroutineManager.java CoroutineParser.java
CustomStringPool.java DTMAxisIteratorBase.java DTMDefaultBase.java
DTMDefaultBaseIterators.java DTMDefaultBaseTraversers.java DTMDocumentImpl.java
DTMManagerDefault.java DTMNamedNodeMap.java DTMNodeIterator.java
DTMNodeList.java DTMNodeProxy.java DTMSafeStringPool.java DTMStringPool.java
DTMTreeWalker.java ExpandedNameTable.java IncrementalSAXSource_Filter.java
IncrementalSAXSource_Xerces.java IncrementalSAXSource.java
xml-xalan/java/src/org/apache/xml/dtm/ref/dom2dtm DOM2DTM.java
DOM2DTMdefaultNamespaceDeclarationNode.java
xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm SAX2DTM.java SAX2RTFDTM.java
xml-xalan/java/src/org/apache/xml/res XMLErrorResources.java XMLMessages.java
xml-xalan/java/src/org/apache/xml/utils AttList.java BoolStack.java
DefaultErrorHandler.java DOM2Helper.java DOMBuilder.java DOMHelper.java
Hashtree2Node.java ListingErrorHandler.java MutableAttrListImpl.java
ObjectPool.java PrefixResolverDefault.java QName.java SAXSourceLocator.java
SystemIDResolver.java TreeWalker.java UnImplNode.java
xml-xalan/java/src/org/apache/xml/utils/res XResourceBundle.java
XResources_cy.java XResources_de.java XResources_el.java XResources_en.java
XResources_es.java XResources_fr.java XResources_he.java XResources_hy.java
XResources_it.java XResources_ja_JP_A.java XResources_ja_JP_HA.java
XResources_ja_JP_HI.java XResources_ja_JP_I.java XResources_ka.java
XResources_ko.java XResources_sv.java XResources_zh_CN.java
XResources_zh_TW.java xml-xalan/java/src/org/apache/xml/utils/synthetic
Class.java TestDriver.java
xml-xalan/java/src/org/apache/xml/utils/synthetic/reflection Constructor.java
EntryPoint.java Method.java xml-xalan/java/src/org/apache/xpath
CachedXPathAPI.java Expression.java ExtensionsProvider.java NodeSet.java
NodeSetDTM.java SourceTree.java SourceTreeManager.java VariableStack.java
WhitespaceStrippingElementMatcher.java XPath.java XPathAPI.java
XPathContext.java XPathException.java XPathFactory.java XPathVisitor.java
xml-xalan/java/src/org/apache/xpath/axes AttributeIterator.java AxesWalker.java
BasicTestIterator.java ChildIterator.java ChildTestIterator.java
DescendantIterator.java FilterExprIterator.java FilterExprIteratorSimple.java
FilterExprWalker.java IteratorPool.java LocPathIterator.java
MatchPatternIterator.java NodeSequence.java OneStepIterator.java
OneStepIteratorForward.java PredicatedNodeTest.java ReverseAxesWalker.java
RTFIterator.java SelfIteratorNoPredicate.java SubContextList.java
UnionPathIterator.java WalkerFactory.java WalkingIterator.java
WalkingIteratorSorted.java xml-xalan/java/src/org/apache/xpath/compiler
Compiler.java FuncLoader.java XPathDumper.java XPathParser.java
xml-xalan/java/src/org/apache/xpath/domapi XPathEvaluatorImpl.java
XPathExpressionImpl.java XPathNamespaceImpl.java XPathResultImpl.java
xml-xalan/java/src/org/apache/xpath/functions FuncBoolean.java FuncCeiling.java
FuncConcat.java FuncContains.java FuncCount.java FuncCurrent.java
FuncDoclocation.java FuncExtElementAvailable.java FuncExtFunction.java
FuncExtFunctionAvailable.java FuncFalse.java FuncFloor.java FuncGenerateId.java
FuncId.java FuncLang.java FuncLast.java FuncLocalPart.java FuncNamespace.java
FuncNormalizeSpace.java FuncNot.java FuncNumber.java FuncPosition.java
FuncQname.java FuncRound.java FuncStartsWith.java FuncString.java
FuncStringLength.java FuncSubstring.java FuncSubstringAfter.java
FuncSubstringBefore.java FuncSum.java FuncSystemProperty.java Function.java
Function2Args.java Function3Args.java FunctionDef1Arg.java
FunctionMultiArgs.java FunctionOneArg.java FuncTranslate.java FuncTrue.java
FuncUnparsedEntityURI.java xml-xalan/java/src/org/apache/xpath/objects
XBoolean.java XBooleanStatic.java XMLStringFactoryImpl.java XNodeSet.java
XNodeSetForDOM.java XNull.java XNumber.java XObject.java XObjectFactory.java
XRTreeFrag.java XRTreeFragSelectWrapper.java XString.java XStringForChars.java
XStringForFSB.java xml-xalan/java/src/org/apache/xpath/operations And.java
Bool.java Div.java Equals.java Gt.java Gte.java Lt.java Lte.java Minus.java
Mod.java Mult.java Neg.java NotEquals.java Number.java Operation.java Or.java
Plus.java Quo.java UnaryOperation.java Variable.java VariableSafeAbsRef.java
xml-xalan/java/src/org/apache/xpath/patterns ContextMatchStepPattern.java
FunctionPattern.java NodeTest.java StepPattern.java UnionPattern.java
xml-xalan/java/src/org/apache/xpath/res XPATHErrorResources_de.java
XPATHErrorResources_es.java XPATHErrorResources_fr.java
XPATHErrorResources_it.java XPATHErrorResources_ja.java
XPATHErrorResources_ko.java XPATHErrorResources_sv.java
XPATHErrorResources_zh_CN.java XPATHErrorResources_zh_TW.java
XPATHErrorResources.java XPATHMessages.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/02</DateCommitted>
+<Modified> xml-xalan/java/bin xercesImpl.jar</Modified>
<Log>
-Patch from Sarah Mcnamara ([EMAIL PROTECTED]) to remove
-unused imports in java source.
+Updating to Xerces-J 2.4.0.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/31</DateCommitted>
-<Modified> xml-xalan/java/bin xercesImpl.jar</Modified>
+<DateCommitted>2003/04/02</DateCommitted>
+<Modified> xml-xalan/java/src MANIFEST.MF</Modified>
<Log>
-Check in new XercesImpl (2.3.0 + patch).
+Merging XSLTC_DTM and common serializer to the head
+Update spec version for XSLTC in MANIFEST.MF
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/31</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xml/dtm/ref
ExtendedType.java</Modified>
+<DateCommitted>2003/04/02</DateCommitted>
+<Modified> xml-xalan/java/samples/CompiledApplet menu.html README.applet
TransformApplet.java xml-xalan/java/samples/CompiledBrazil README.brazil
TransformHandler.java xml-xalan/java/samples/CompiledEJB README.ejb
TransformBean.java xml-xalan/java/samples/CompiledJAXP Compile.java
README.cjaxp Transform.java xml-xalan/java/samples/CompiledServlet
README.servlet TransformServlet.java xml-xalan/java/samples/DOM2DOM
DOM2DOM.java xml-xalan/java/samples/Pipe Pipe.java
xml-xalan/java/samples/SAX2SAX SAX2SAX.java xml-xalan/java/samples/translets
JAXPTransletMultipleTransformations.java JAXPTransletOneTransformation.java
todo.xsl xml-xalan/java/samples/UseXMLFilters UseXMLFilters.java</Modified>
<Log>
-file ExtendedType.java was initially added on branch XSLTC_DTM.
+Merging XSLTC_DTM and common serializer to the head
+
+Update in the samples
+1. Changes from Henry Zongaro ([EMAIL PROTECTED]) in the
+XSLTC samples. Use TrAX API instead of native API.
+2. Changes from Brian Minchau ([EMAIL PROTECTED]) to use
+the new serializer classes.
</Log>
</Commit>
<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/01/31</DateCommitted>
-<Modified> xml-xalan/java todo.xsl</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/02</DateCommitted>
+<Modified> xml-xalan/java/samples/CompiledApplet singleTransform.html
xml-xalan/java/samples/CompiledEJB bottom_frame.html index.html top_frame.html
xml-xalan/java/samples/translets todo.xml todotoo.xml</Modified>
<Log>
-Removed current project name from list of past developers, as it might not be
-pertinent.
+Merging XSLTC_DTM and common serializer to the head
+Add new sample files.
</Log>
</Commit>
-<Commit category="xsltc">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/02/03</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/trax
TransformerImpl.java</Modified>
+<Commit category="core">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/02</DateCommitted>
+<Modified> xml-xalan/java/xdocs/sources entities.ent xalan-jlocal.xml
xalan-jsite.xml xml-xalan/java/xdocs/sources/xalan commandline_xsltc.xml
commandline.xml dtm.xml history.xml readme.xml samples.xml usagepatterns.xml
xsltc_history.xml xsltc_usage.xml</Modified>
<Log>
-Committing a patch contributed by Prakash Sridharan ([EMAIL PROTECTED]).
-Messages displayed using xsl:message are now reported to an ErrorListener
-registered in a Transformer instance. The warning() callback is used for
-this purpose.
+Merging XSLTC_DTM and common serializer to the head
+
+Update in java/xdocs.
</Log>
</Commit>
-<Commit category="core">
+<Commit category="xsltc">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/02/03</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/trace
PrintTraceListener.java</Modified>
+<DateCommitted>2003/04/02</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/trax
TransformerFactoryImpl.java</Modified>
<Log>
-Committing patch for bugzilla #16222. Thanks to Elson Jiang ([EMAIL
PROTECTED])
-for identifying the problem and isolating the cause.
+If there is an error listener registered to a TransformerFactory, and the
+stylesheet cannot be compiled, call fatalError, in addition to throwing
+the TransformerConfigurationException.
</Log>
</Commit>
<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/02/03</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/trace
TraceManager.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/03</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xpath/axes
FilterExprWalker.java</Modified>
<Log>
-Committing Elson Jiang's ([EMAIL PROTECTED]) patch for bugzilla #5140.
+Commit patch for bug 12797 from Arun Yadav ([EMAIL PROTECTED]).
</Log>
</Commit>
-<Commit category="xsltc">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/02/03</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/trax TemplatesImpl.java
TransformerFactoryImpl.java TransformerImpl.java</Modified>
+<Commit category="core">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/03</DateCommitted>
+<Modified> xml-xalan/java build.xml</Modified>
<Log>
-Add a new attribute "use-classpath" to the XSLTC Trax API.
-If this attribute is set, the Templates object is created from a translet
-which is loaded from the CLASSPATH. The translet name is either set by
-the "translet_name" attribute, or derived from the system ID, or the
-default name. In TemplatesImpl, we add a new constructor to support
-creating a TemplatesImpl from a Translet instance.
+Added a new "fulldist" target. It builds a distribution that includes
Xalan-J
+components that depend upon non-standard components that aren't part of the
+Xalan-J repository. In particular, xsltcbrazil.jar is built under the
+"fulldist" target, but not under the ordinary "dist" target.
</Log>
</Commit>
<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/02/03</DateCommitted>
-<Modified> xml-xalan/java/xdocs/sources/xalan faq.xml
resources.xml</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/04</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xml/serializer
ToStream.java</Modified>
<Log>
-Updates to the FAQ for bugzilla#15586 and #14856
+Replace Vector.add() by Vector.addElement() because the first method
+is not in JDK 1.1.8.
</Log>
</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/02/03</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xslt Process.java
xml-xalan/java/src/org/apache/xml/dtm/ref DTMManagerDefault.java
xml-xalan/java/src/org/apache/xpath SourceTreeManager.java
xml-xalan/java/src/org/apache/xalan/processor ProcessorInclude.java
TransformerFactoryImpl.java xml-xalan/java/src/org/apache/xalan/transformer
TransformerIdentityImpl.java TrAXFilter.java
xml-xalan/java/src/org/apache/xalan/processor ProcessorInclude.java
TransformerFactoryImpl.java</Modified>
+<Commit category="xsltc">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/04</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom SAXImpl.java
xml-xalan/java/src/org/apache/xalan/xsltc/runtime
StringValueHandler.java</Modified>
<Log>
-The behaviour of the Xerces-J parser recently changed to agree with its
-documented behaviour with respect to the dynamic validation feature. This
-causes problems for stylesheets that contain a DTD, but are not otherwise
-"valid" - for instance, because the DTD contains ENTITY declarations, but no
-ELEMENT declarations - because error reporting is performed for documents if
-the dynamic validation feature is enabled and the document contains a DOCTYPE
-declaration.
-
-The solution is to remove code (including code that was commented out) that
-enabled the Xerces dynamic validation feature.
+According to spec http://www.w3.org/1999/11/REC-xslt-19991116-errata/#E27,
+when element nodes are used in the instantiated content of attribute, comment
+and processing instructions, we should ignore the elements together with
+their content.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/02/03</DateCommitted>
-<Modified> xml-xalan/java/src xml-commons-src.tar.gz xml-xalan/java/bin
xml-apis.jar</Modified>
+<DateCommitted>2003/04/05</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/processor
TransformerFactoryImpl.java xml-xalan/java/src/org/apache/xml/utils
TreeWalker.java</Modified>
<Log>
-Updating xml-apis.jar and source. A security exception wasn't being
-handled when reading java.home from system properties.
+Instead of setting a default baseURI in newTemplates, append a dummy string
+to the default used in the TreeWalker constructors. This solves the problem
+of violating the SourceLocator.getSystemId API which should return null
+if if no systemId was set, while allowing relative URI's to be resolved when
+the source is a DOM and no systemID has been set. Relative URI's are
already
+resolved correctly for other source types.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/02/04</DateCommitted>
-<Modified> xml-xalan/java/samples/CompiledApplet
singleTransform.html</Modified>
+<DateCommitted>2003/04/06</DateCommitted>
+<Modified> xml-xalan/java/samples/CompiledApplet TransformApplet.java
README.applet</Modified>
<Log>
-file singleTransform.html was initially added on branch XSLTC_DTM.
+Patch from Christine Li ([EMAIL PROTECTED]). Reworked applet code so that
the
+init method creates a thread to which it delegates all the work of creating
+Transformers and performing transformations.
+
+Xalan needs all of its classes to be loaded with respect to the same class
+loader. The thread that's created will have the context class loader, if
any,
+that is in effect when the applet's init method is called, but calls to other
+methods on the applet might not have the same context class loader. Using a
+thread avoids any problems that might arise from such a situation.
</Log>
</Commit>
<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/02/04</DateCommitted>
-<Modified> xml-xalan/java/xdocs/sources/xalan extensions.xml
samples.xml</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/06</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xml/serializer CharInfo.java
HTMLEntities.properties output_html.properties output_xml.properties
XMLEntities.properties xml-xalan/java/xdocs/sources/xalan
usagepatterns.xml</Modified>
<Log>
-xdocs update
-In samples.xml, update the documentation for the ApplyXSLT sample to provide
-more information about the input xml and stylesheet.
-In extensions.xml, add documentation for the src attribute in xalan:script.
+Patch from Christine Li ([EMAIL PROTECTED]). Changed CharInfo so that it
allows
+descriptions of entities to be specified as a properties file in addition to
a
+Xalan-specific resource file format.
+
+The code previously always assumed a Xalan-specific resource file format, for
+both user-supplied descriptions of entities, and for those supplied with
+Xalan-J. The security restrictions of applets are such that an applet that
+relies on a copy of Xalan-J in the Java run-time would find that Xalan-J
would
+be unable to read the default entities file that is packaged with the JRE on
+the applet's behalf - it can only do so with a properties, via
ResourceBundle.
</Log>
</Commit>
<Commit category="xsltc">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/02/05</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler Import.java
Include.java XSLTC.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/07</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom
AdaptiveResultTreeImpl.java</Modified>
<Log>
-Committing patch for Bugzilla 10626 contributed by Arun Yadav
-([EMAIL PROTECTED]).
+Need to override more startElement and endElement interfaces
+in AdaptiveResultTreeImpl, because it now extends EmptySerializer,
+which has a few more interfaces than the old TransletOutputHandler.
</Log>
</Commit>
-<Commit category="xsltc">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/02/10</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/trax
TemplatesHandlerImpl.java</Modified>
+<Commit category="core">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/07</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/lib
ExsltDatetime.java</Modified>
<Log>
- Wrapped called to Stylesheet.translate() with class-level synchronization
- block. This is needed since BCEL is not thread-safe. The bug was reported
- by Michael Melhem (Cocoon).
+Commit an implementation of the date-time:format-date() extension function
+(bugzilla 18713) contributed by Helg Bredow ([EMAIL PROTECTED]).
</Log>
</Commit>
-<Commit category="xsltc">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/02/11</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler
GenerateIdCall.java</Modified>
+<Commit category="core">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/07</DateCommitted>
+<Modified> xml-xalan/java/xdocs/sources/xalan
commandline_xsltc.xml</Modified>
<Log>
-Applying patch for Bugzilla bug 16745 from Igor Hersht ([EMAIL PROTECTED]).
-The code generated for a reference to generate-id with no arguments used to
-default to the current node. XSLT requires it to default to the context
node.
+Docs update
+Document the new "use-classpath" attribute
+which is supported in the XSLTC TrAX API.
</Log>
</Commit>
<Commit category="xsltc">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/02/18</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/trax
TransformerImpl.java</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/07</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/dom LoadDocument.java
SAXImpl.java</Modified>
<Log>
-Patching Prakash's patch (of Feb.3, 2003). We can't assume that _translet
-is non-null when the call to setErrorListener is made. For example, we could
-have the lines of code:
+Fix for a few testcase failures in XSLTC trax.localPath.
-Transformer transformer = new Transformer();
-transformer.setErrorListener(myErrorListener);
+Detect the backslash ("\") character in the path in addtional to the
+forward slash ('/') in LoadDocument.document().
-The original patch caused TCK failures.
+The XSLTC conformance result in trax.localPath changed from
+Pass: 1634/Fail: 14/Errr: 35 to Pass: 1657/Fail: 17/Errr: 9
+after this change.
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/02/19</DateCommitted>
-<Modified> xml-xalan/java/src/org/apache/xalan/xslt Process.java</Modified>
+<DateCommitted>2003/04/07</DateCommitted>
+<Modified> xml-xalan/java/samples/CompiledServlet README.servlet
TransformServlet.java xml-xalan/java/samples/CompiledBrazil
README.brazil</Modified>
<Log>
-Patch for bugzilla #17030. The command line (Process) uses the
-bootstrap classloader (in JDK1.4) instead of the system class loader to
-load classes specified by the URIResolver, EntityResolver and
-ContentHandler options.
+Sample updates from Christine Li ([EMAIL PROTECTED]).
</Log>
</Commit>
<Commit category="core">
<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/02/20</DateCommitted>
-<Modified> xml-xalan/java/samples/servlet ApplyXSLT.java
DefaultApplyXSLTProperties.java jspSample.jsp SimpleXSLTServlet.java
UseStylesheetParamServlet.java XSLTServletWithParams.java birds.xml birds.xsl
booklist1.xsl booklist2.xsl catalog.xml web.xml</Modified>
+<DateCommitted>2003/04/08</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/serialize DOMSerializer.java
Serializer.java SerializerFactory.java
xml-xalan/java/src/org/apache/xml/serializer DOMSerializer.java
SerializationHandler.java SerializerBase.java ToHTMLStream.java
ToUnknownStream.java xml-xalan/java/src/org/apache/xalan/templates
OutputProperties.java</Modified>
<Log>
-Committing Christine Li's ([EMAIL PROTECTED]) patch to the servlet sample.
-Bugzilla #17136
+Patch from Brian Minchau ([EMAIL PROTECTED]) for backward compatibility
+of new serializers. Also a fix related to a failure in the DOM2DOM sample.
</Log>
</Commit>
-<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/02/20</DateCommitted>
-<Modified> xml-xalan/java/xdocs/sources/xalan readme.xml samples.xml
usagepatterns.xml</Modified>
+<Commit category="xsltc">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/08</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler
Stylesheet.java</Modified>
<Log>
-Committing Christine Li's ([EMAIL PROTECTED]) patch to the servlet sample
documentation.
-Bugzilla #17136
+Fix for bugzilla 17448.
+Stylesheet.setIncludingStylesheet() should use _includedFrom
+instead of _importedFrom.
+</Log>
+</Commit>
+<Commit category="xsltc">
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/08</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xalan/xsltc/compiler
Stylesheet.java</Modified>
+<Log>
+Fix another problem related to bug 17448.
+Only set the import precedence of an included stylesheet when it
+is directly included by this stylesheet. If it is indirectly
+included via imports, the import precedence will be different.
</Log>
</Commit>
<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/02/20</DateCommitted>
-<Modified> xml-xalan/java build.xml</Modified>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/09</DateCommitted>
+<Modified> xml-xalan/java/src/org/apache/xml/serializer HTMLEntities.res
XMLEntities.res</Modified>
<Log>
-Committing Christine Li's ([EMAIL PROTECTED]) patch to the build script for
the servlet sample.
-Bugzilla #17136
+Dropped descriptions of entities in the form of resource files in favour of
+those in the form of properties file. The resource files are still
supported,
+but Xalan-J's serializer only requires one.
</Log>
</Commit>
<Commit category="core">
-<Who>[EMAIL PROTECTED]</Who>
-<DateCommitted>2003/02/20</DateCommitted>
+<Who>[EMAIL PROTECTED]</Who>
+<DateCommitted>2003/04/09</DateCommitted>
<Modified> xml-xalan/java build.xml</Modified>
<Log>
-Minor change to build script for updated servlet sample.
+Dropped descriptions of entities in the form of resource files in favour of
+those in the form of properties file. The resource files are still
supported,
+but Xalan-J's serializer only requires one.
</Log>
</Commit>
</Commits>
1.190 +13 -11 xml-xalan/java/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-xalan/java/build.xml,v
retrieving revision 1.189
retrieving revision 1.190
diff -u -r1.189 -r1.190
--- build.xml 9 Apr 2003 01:20:13 -0000 1.189
+++ build.xml 10 Apr 2003 14:35:02 -0000 1.190
@@ -83,8 +83,8 @@
<!-- Defines general variables used by the other targets; name controls
output xalan.jar -->
<property name="version.VERSION" value="2"/>
<property name="version.RELEASE" value="5"/>
- <property name="version.DEVELOPER" value="D"/><!-- Set this to 'D' if a
developer release; blank "" if maintenance release -->
- <property name="version.MINOR" value="1"/><!-- EITHER the developer
release number, or a maintenance release number -->
+ <property name="version.DEVELOPER" value=""/><!-- Set this to 'D' if a
developer release; blank "" if maintenance release -->
+ <property name="version.MINOR" value="0"/><!-- EITHER the developer
release number, or a maintenance release number -->
<property name="version"
value="${version.VERSION}_${version.RELEASE}_${version.DEVELOPER}${version.MINOR}"/><!--
GUMP: version # of dist file -->
<property name="impl.version"
value="${version.VERSION}.${version.RELEASE}.${version.DEVELOPER}${version.MINOR}"/><!--
Used in jar task for filtering MANIFEST.MF file -->
<property name="name" value="xalan"/><!-- GUMP: base name of jar target's
file -->
@@ -717,6 +717,8 @@
<!-- ===================================================================
-->
<!-- Compiles the XSLTC EJB example and jars the class files.
-->
+ <!-- ejb.jar must be on the classpath to compile this sample.
-->
+ <!-- EJB 2.0 can be found at http://java.sun.com/products/ejb/docs.html
-->
<!-- ===================================================================
-->
<target name="xsltc.ejb" depends="jar">
<mkdir dir="${build.samples}/CompiledEJB"/>
@@ -740,7 +742,7 @@
basedir="${build.samples}/CompiledServlet"
includes="*.class"/>
</target>
-
+
<!-- ===================================================================
-->
<!-- Generate HTML docs
-->
@@ -785,8 +787,8 @@
author="true"
version="true"
use="true"
- windowtitle="${Name-in-docs} 2"
- doctitle="${Name-in-docs} 2"
+ windowtitle="${Name-in-docs} ${impl.version}"
+ doctitle="${Name-in-docs} ${impl.version}"
bottom="Copyright © ${year} Apache XML Project. All Rights
Reserved.">
<classpath refid="docs.class.path" />
<doclet name="xalanjdoc.Standard" path="${doclet.jar}">
@@ -957,7 +959,7 @@
<include name="${dist.file}/bin/${name}.jar"/>
<include name="${dist.file}/bin/${xmlapis.jar.name}"/>
<include name="${dist.file}/bin/${bsf.jar.name}"/>
- <include name="${dist.file}/bin/xercesImpl.jar"/>
+ <include name="${dist.file}/bin/${parser.jar.name}"/>
<include name="${dist.file}/bin/xalansamples.jar"/>
<include name="${dist.file}/bin/xalanservlet.war"/>
<include name="${dist.file}/bin/xsltcapplet.jar"/>
@@ -970,7 +972,7 @@
<patternset id="src-distro" >
<include name="${dist.file}/*"/>
<include name="${dist.file}/bin/ant.jar"/>
- <include name="${dist.file}/bin/xercesImpl.jar"/>
+ <include name="${dist.file}/bin/${parser.jar.name}"/>
<include name="${dist.file}/bin/${xmlapis.jar.name}"/>
<include name="${dist.file}/bin/${bsf.jar.name}"/>
<include name="${dist.file}/bin/${stylebook.jar.name}"/>
@@ -995,7 +997,7 @@
<tar tarfile="${build.dir}/${dist.file}-bin.tar" >
<tarfileset dir="${build.dir}">
<patternset refid="bin-distro"/>
- <patternset refid="xsltc-deps-jars"/>
+<!-- <patternset refid="xsltc-deps-jars"/> --> <!-- these jars are only
needed in the src pkg -->
</tarfileset>
</tar>
<gzip src="${build.dir}/${dist.file}-bin.tar"
zipfile="${build.dir}/${dist.file}-bin.tar.gz"/>
@@ -1013,7 +1015,7 @@
<zip zipfile="${build.dir}/${dist.file}-bin.zip" >
<fileset dir="${build.dir}">
<patternset refid="bin-distro"/>
- <patternset refid="xsltc-deps-jars"/>
+<!-- <patternset refid="xsltc-deps-jars"/> --> <!-- these jars are only
needed in the src pkg -->
</fileset>
</zip>
<zip zipfile="${build.dir}/${dist.file}-src.zip" >
1.6 +1 -1 xml-xalan/java/xdocs/style/stylesheets/done.xsl
Index: done.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/java/xdocs/style/stylesheets/done.xsl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- done.xsl 17 Jan 2002 18:58:23 -0000 1.5
+++ done.xsl 10 Apr 2003 14:35:03 -0000 1.6
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
-<!DOCTYPE xsl:stylesheet>
+<!-- DOCTYPE xsl:stylesheet -->
<!-- XSL Style sheet, DTD omitted -->
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]