XSLTC source code updates:
[Committed by ]santiagopg@apache.org[ on ]2002/08/28
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/trax TransformerImpl.java
[Committer's log entry: ]
Keep track of parameters for built-in identity transform (needed for
some TCK tests).
[Committed by ]tmiller@apache.org[ on ]2002/08/29
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/trax TransformerHandlerImpl.java TrAXFilter.java
[Committer's log entry: ]
Fixed XSLTCs implementation of XMLFilter
[Committed by ]tmiller@apache.org[ on ]2002/08/29
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/trax TrAXFilter.java
[Committer's log entry: ]
added some check for parents of filter chain
[Committed by ]santiagopg@apache.org[ on ]2002/08/30
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler xpath.cup
[Committer's log entry: ]
Fix for Bugzilla 12125.
[Committed by ]tmiller@apache.org[ on ]2002/08/30
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler EqualityExpr.java RelationalExpr.java xml-xalan/java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
[Committer's log entry: ]
bug 12148 fixed, xpath pred and relational expr
[Committed by ]zongaro@apache.org[ on ]2002/09/09
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/cmdline Transform.java
[Committer's log entry: ]
Change committed on behalf of Igor Hersht: added -DIAG option similar to that
supported by org.apache.xalan.xslt.Process class (for bug 12261).
Also (on my own behalf) changed calculation of average transform time and
throughput rate for -n option to use floating-point division, rather than
integer division; latter yielded meaningless results.
[Committed by ]santiagopg@apache.org[ on ]2002/09/10
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output OutputBuffer.java StreamHTMLOutput.java StreamOutput.java StreamTextOutput.java StreamXMLOutput.java StringOutputBuffer.java WriterOutputBuffer.java
[Committer's log entry: ]
New buffering system for stream output.
[Committed by ]santiagopg@apache.org[ on ]2002/09/10
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/dom NodeCounter.java
[Committer's log entry: ]
Support for Greek alphabet in xsl:number.
[Committed by ]santiagopg@apache.org[ on ]2002/09/11
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output WriterOutputBuffer.java
[Committer's log entry: ]
Set a larger buffer size for Solaris.
[Committed by ]santiagopg@apache.org[ on ]2002/09/14
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler Constants.java SyntaxTreeNode.java xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util ResultTreeType.java xml-xalan/java/src/org/apache/xalan/xsltc/dom DOMImpl.java
[Committer's log entry: ]
Set different initial sizes for DOMImpl arrays. The new values result
in better performance for the average case.
[Committed by ]santiagopg@apache.org[ on ]2002/09/15
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler xpath.cup xml-xalan/java/src/org/apache/xalan/xsltc/dom AbsoluteIterator.java
[Committer's log entry: ]
Optimized evaluation of //RelativeLocationPath expressions.
[Committed by ]mkwan@apache.org[ on ]2002/09/16
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util ObjectType.java
[Committer's log entry: ]
For XSLTC extension integration. Support creating ObjectType from a Class
object. Add an additional field to store the Class.
[Committed by ]mkwan@apache.org[ on ]2002/09/16
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util BooleanType.java IntType.java NodeSetType.java NodeType.java RealType.java ResultTreeType.java StringType.java
[Committer's log entry: ]
For XSLTC extension integration. Add more translation rules required by
extensions. Specifically, all types can be translated to a generic Java Object.
Numeric types can be translated to their corresponding Java types (e.g. Real to
java.lang.Double). Node, NodeSet and ResultTree can be translated to a Java String.
[Committed by ]mkwan@apache.org[ on ]2002/09/16
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/runtime AbstractTranslet.java
[Committer's log entry: ]
Support the append attribute in the redirect/output extension.
[Committed by ]mkwan@apache.org[ on ]2002/09/16
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
[Committer's log entry: ]
For XSLTC extension integration. Implement the object-type extension
function in the EXSLT commons package. Change the behavior of the
nodeList2Iterator interface so that it will do a deep copy on the argument
NodeList, i.e. if a Node in the NodeList is an Element, it will not only
copy the Node itself, but also copy all children and attributes. This is
required to get any extension function that returns a NodeList to work in
XSLTC.
[Committed by ]mkwan@apache.org[ on ]2002/09/16
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler TransletOutput.java
[Committer's log entry: ]
Support the append attribute in the output extension element, so that
it behavior is more like redirect:write.
[Committed by ]mkwan@apache.org[ on ]2002/09/16
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler Constants.java
[Committer's log entry: ]
Add a constant string for the redirect namespace.
[Committed by ]mkwan@apache.org[ on ]2002/09/16
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler CastExpr.java
[Committer's log entry: ]
For extension integration. Allow numeric types to be casted to
Object type.
[Committed by ]mkwan@apache.org[ on ]2002/09/16
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler Parser.java
[Committer's log entry: ]
For extension integration. Add the objectType extension function to the
Symbol Table. Maps the redirect:write element to the TransletOutPut class.
[Committed by ]mkwan@apache.org[ on ]2002/09/16
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler xpath.cup
[Committer's log entry: ]
For extension integration. The nodeset extension function can be used as
node-set in the http://exslt.org/common namespace.
[Committed by ]mkwan@apache.org[ on ]2002/09/16
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler FunctionCall.java
[Committer's log entry: ]
Changes for Java extension and EXSLT extension support.
For Java extension:
- support 3 different namespace formats (Java, class and package).
- fix a bunch of type translation problems
- fix problems in class/method matching algorithm
For EXSLT extension:
- support the math, set, strings and datetime extension
- support using the nodeset extension in 3 different ways (xsltc, xalan and EXSLT commons)
- support the object-type extension in EXSLT commons as a native XSLTC function
- Maps the redirect:write element to XSLTC's output element
- extension function name translation (e.g. node-set to nodeSet)
[Committed by ]santiagopg@apache.org[ on ]2002/09/17
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler xpath.cup
[Committer's log entry: ]
Additional optimizations in expansion of '//'.
[Committed by ]santiagopg@apache.org[ on ]2002/09/17
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/cmdline Transform.java
[Committer's log entry: ]
Removed "-DIAG" option as it is similar to "-n 1". XSLTC's command line
options are single letters, so -DIAG does not really fit in the synopsis.
Morris K. is working on an extension for Xalan's Process class to allow
the compilation and execution of translets (once that work is completed
the -DIAG option will be available for XSLTC too).
[Committed by ]santiagopg@apache.org[ on ]2002/09/17
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/cmdline Compile.java xml-xalan/java/src/org/apache/xalan/xsltc/compiler XSLTC.java xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util ErrorMessages.java
[Committer's log entry: ]
Change default policy for template inlining.
[Committed by ]santiagopg@apache.org[ on ]2002/09/17
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/trax TransformerFactoryImpl.java
[Committer's log entry: ]
Replaced attribute "disable-inlining" by attribute "enable-inlining".
[Committed by ]santiagopg@apache.org[ on ]2002/09/21
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/dom DOMAdapter.java
[Committer's log entry: ]
Lazy computation of mappings and reverse mappings.
[Committed by ]santiagopg@apache.org[ on ]2002/09/21
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/dom DOMImpl.java
[Committer's log entry: ]
(1) Synchronize access to static variable.
(2) Pre-allocate static objects for attribute and element types.
[Committed by ]santiagopg@apache.org[ on ]2002/09/21
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/dom DOMImpl.java
[Committer's log entry: ]
Changed setting to speed up DOM building process.
[Committed by ]santiagopg@apache.org[ on ]2002/09/23
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/trax TransformerFactoryImpl.java
[Committer's log entry: ]
Return a fresh XMLReader for each call to getXMLReader(). Returning the
same instance is incorrect in multi-threaded apps where a single
transformer factory is shared by all threads.
[Committed by ]mkwan@apache.org[ on ]2002/09/23
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/trax DOM2TO.java
[Committer's log entry: ]
For Bugzilla 12924. Add handling code for DocumentType Node.
[Committed by ]mkwan@apache.org[ on ]2002/09/23
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/trax SAX2DOM.java
[Committer's log entry: ]
For Bugzilla 12924. In constructor SAX2DOM(Node), the Node might not always
be a Document. Add additional handling code so that SAX2DOM can work with a
non-Document root.
[Committed by ]santiagopg@apache.org[ on ]2002/09/25
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/trax TransformerFactoryImpl.java
[Committer's log entry: ]
Use a thread variable to cache an XMLReader.
[Committed by ]mkwan@apache.org[ on ]2002/09/26
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler FunctionAvailableCall.java FunctionCall.java
[Committer's log entry: ]
EXtension work. Make function-available work with external Java and EXSLT
extension functions.
[Committed by ]mkwan@apache.org[ on ]2002/09/26
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler FunctionAvailableCall.java
[Committer's log entry: ]
Handle dots in the local part, e.g.
xmlns:ext="http://xml.apache.org/xalan/java/java.lang
function-available('ext:Thread.currentThread') return true.
[Committed by ]mkwan@apache.org[ on ]2002/09/26
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler FunctionAvailableCall.java
[Committer's log entry: ]
Minor cleanup in class name handling.
[Committed by ]zongaro@apache.org[ on ]2002/09/27
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util ErrorMsg.java TypeCheckError.java xml-xalan/java/src/org/apache/xalan/xsltc/dom DocumentCache.java DOMImpl.java DTDMonitor.java xml-xalan/java/src/org/apache/xalan/xsltc/trax TransformerFactoryImpl.java TransformerImpl.java xml-xalan/java/src/org/apache/xalan/xsltc/cmdline/getopt GetOpt.java xml-xalan/java/src/org/apache/xalan/xsltc/compiler Include.java TransletOutput.java xml-xalan/java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
[Committer's log entry: ]
Committing changes from Gordon Chiu (grchiu@ca.ibm.com), with some tweaks from
me, to move some hard-coded XSLTC messages into the compiler and run-time
ErrorMessages classes, as appropriate.
[Committed by ]zongaro@apache.org[ on ]2002/09/27
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util ErrorMessages.java xml-xalan/java/src/org/apache/xalan/xsltc/runtime ErrorMessages.java
[Committer's log entry: ]
Committing changes from Gordon Chiu (grchiu@ca.ibm.com), with some tweaks from
me, to move some hard-coded XSLTC messages into the compiler and run-time
ErrorMessages classes, as appropriate.
Also, added copious comments to assist anyone who might translate these
resources in the future.
[Committed by ]zongaro@apache.org[ on ]2002/09/27
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util ErrorMsg.java
[Committer's log entry: ]
Removed a duplicate error message number I inadvertently entered.
[Committed by ]tmiller@apache.org[ on ]2002/09/27
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
[Committer's log entry: ]
bugzilla 12813 fixed
[Committed by ]mkwan@apache.org[ on ]2002/09/30
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util ErrorMessages.java ErrorMsg.java
[Committer's log entry: ]
Add debug messages for -XX option in the Process command line. These messages
tell the user whether they are transforming using XSLTC.
[Committed by ]mkwan@apache.org[ on ]2002/09/30
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util Util.java
[Committer's log entry: ]
Fix problems in the baseName() interface so that it can handle system ids like
file:abc.xsl and file:///c:\test\abc.xsl.
[Committed by ]mkwan@apache.org[ on ]2002/09/30
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler XSLTC.java
[Committer's log entry: ]
XSLTC support in the Process command line - phase 2
Add two new output types:
- BYTEARRAY_AND_FILE_OUTPUT: return a byte array and generate the translet class
- BYTEARRAY_AND_JAR_OUTPUT: return a byte array and generate the jar file
Add a new compile() interface which accepts the output type as the third
parameter. Use different Vectors to store bytecodes and JavaClass objects.
[Committed by ]mkwan@apache.org[ on ]2002/09/30
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/trax Util.java
[Committer's log entry: ]
Add a wrapper for the noExtName() method in compiler.util.Util.
The transformerFactoryImpl class makes use of it.
[Committed by ]mkwan@apache.org[ on ]2002/09/30
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/trax TemplatesHandlerImpl.java
[Committer's log entry: ]
The member name _defaultTransletName in TransformerFactoryImpl
has been changed to _transletName.
[Committed by ]mkwan@apache.org[ on ]2002/09/30
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/trax TransformerFactoryImpl.java
[Committer's log entry: ]
XSLTC support in the Process command line - phase 2
Most of the changes appear in this class. The changes not only allow you
to use the new XSLTC options in the Process command line. It also give
you the ability to customize the XSLTC behavior using the standard TRAX API.
Previously, the XSLTC TRAX API is not aware of translets. You cannot tell it
to use translets for do transformations. Now you can customize the XSLTC bevaior
using the new attributes. For example, the following code will allow you
to use translets for transformations when the translet is newer than the xsl.
TransformerFactory tf;
tf.setAttribute("auto-translet", "true");
Templates templates = tf.newTemplates(xslSource);
The following attributes are added:
Attributes Corresponding Process command line options
use-translet
translet-name -XO
destination-directory -XD
package-name -XP
jar-name -XJ
auto-translet -XT
Four of the new attributes (translet-name, destination-directory, package-name and
jar-name) are transient. They only apply to the next newTemplates() or newTransformer()
call. Their values are reset to the default after the call.
There is also a makefile like feature when you set the "auto-translet" attribute. It will
use the translet to do transformation when the translet is newer than the xsl. If the xsl
is modified, it will use the xsl to transform and regenerate the translet.
Unlike the XSLTC Transform command line, the new code will NOT use the existing
ClassLoader to load the translet or jar file. It directly reads the file content into a
byte array. This makes the Process command line capable of loading the translet from
any directory the xsl file might be in or any user specified destination directory, without
the need on the user to add that directory to the CLASSPATH first.
[Committed by ]mkwan@apache.org[ on ]2002/10/01
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/trax TemplatesHandlerImpl.java TransformerFactoryImpl.java
[Committer's log entry: ]
Multi-thread protection for the new attributes.
The four transient attributes are now stored in ThreadLocal objects to prevent
multi-thread contention problems. This ensures that each thread will have a
different copy of the attributes and no collision issue will occur.
[Committed by ]mkwan@apache.org[ on ]2002/10/01
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/trax TransformerFactoryImpl.java
[Committer's log entry: ]
Change the four attributes to be instance variables and remove
the ThreadLocal protection. TransformerFactory is not guaranteed
to be thread-safe. We will leave the synchronization issues up
to the user if they want to use one TransformerFactory in multiple
threads.
[Committed by ]mkwan@apache.org[ on ]2002/10/04
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler Param.java
[Committer's log entry: ]
The default type of a <xsl:param> should be result tree.
[Committed by ]mkwan@apache.org[ on ]2002/10/04
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler FunctionCall.java
[Committer's log entry: ]
Fix a problem in class namespace format and also cleanup the indentation.
[Committed by ]santiagopg@apache.org[ on ]2002/10/06
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler Param.java
[Committer's log entry: ]
Set default type of parameters to be reference. The type of a parameter
cannot be determined statically in XSLT 1.0.
[Committed by ]santiagopg@apache.org[ on ]2002/10/08
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc DOM.java xml-xalan/java/src/org/apache/xalan/xsltc/compiler ApplyTemplates.java Constants.java ForEach.java LastCall.java Parser.java PositionCall.java Step.java xml-xalan/java/src/org/apache/xalan/xsltc/dom AbsoluteIterator.java CurrentNodeListIterator.java DOMAdapter.java DOMImpl.java DupFilterIterator.java FilteredStepIterator.java FilterIterator.java ForwardPositionIterator.java KeyIndex.java MatchingIterator.java MultiDOM.java NodeIteratorBase.java NthIterator.java ReverseIterator.java StepIterator.java xml-xalan/java/src/org/apache/xalan/xsltc/util IntegerArray.java
[Committer's log entry: ]
(1) Eliminated the need for a ReverseIterator.
(2) Added a ForwardPositionIterator as a temporary solution for some
cases.
(3) Added several javadoc-type comments.
(4) Fixed a number of cloneIterator() implementations that were broken.
[Committed by ]santiagopg@apache.org[ on ]2002/10/08
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler ForwardPositionExpr.java
[Committer's log entry: ]
Expression wrapper to compute positions properly.
[Committed by ]santiagopg@apache.org[ on ]2002/10/09
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output OutputBase.java StreamXMLOutput.java
[Committer's log entry: ]
Fix for Bugzilla 13304.
[Committed by ]tmiller@apache.org[ on ]2002/10/09
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/dom UnionIterator.java
[Committer's log entry: ]
bug fix 12644, Santiago found that the clone iterator was doing a shallow copy
[Committed by ]santiagopg@apache.org[ on ]2002/10/14
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler Key.java KeyCall.java xml-xalan/java/src/org/apache/xalan/xsltc/dom KeyIndex.java xml-xalan/java/src/org/apache/xalan/xsltc/util IntegerArray.java
[Committer's log entry: ]
(1) Fixed some dynamic typing problems with idkeys. Values are now properly
converted to strings before they are compared.
(2) Eliminated the use of BitArrays in KeyIndex (better space efficiency).
(3) All idkey tests now pass with flavor=stream (the 6 failures that are
reported are due to the use of a different algorithm to generate ids).
[Committed by ]tmiller@apache.org[ on ]2002/10/15
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler Output.java Parser.java
[Committer's log entry: ]
bug fix 13550, for multiple <xsl:output> elements, cdata-section-elements attrs are now merged
[Committed by ]santiagopg@apache.org[ on ]2002/10/15
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler XslElement.java xml-xalan/java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
[Committer's log entry: ]
New implementation of xsl:element that properly handles the case where
the namespace URI computed at runtime is "". Some of the code implementing
the xsl:element instruction has been factored out from the translet into
the basis library.
[Committed by ]tmiller@apache.org[ on ]2002/10/15
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/trax TemplatesImpl.java TransformerFactoryImpl.java
[Committer's log entry: ]
bug fix 12317, serialization of Templates is fixed
[Committed by ]santiagopg@apache.org[ on ]2002/10/15
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
[Committer's log entry: ]
A RuntimeException cannot be constructed from a Throwable with JDKs
prior to 1.4.
[Committed by ]santiagopg@apache.org[ on ]2002/10/17
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/dom MultiDOM.java
[Committer's log entry: ]
Clear dom index flag before passing node to DOMAdapter. Bug reported by
Prakash Sridharan.
[Committed by ]santiagopg@apache.org[ on ]2002/10/17
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
[Committer's log entry: ]
Switch order of calls to startElement() and namespace() in startXslElement().
[Committed by ]tmiller@apache.org[ on ]2002/10/18
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler Step.java
[Committer's log entry: ]
bug fix 12308, typeCheck, nodeset to node optimization is turned off if node has context
[Committed by ]santiagopg@apache.org[ on ]2002/10/18
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler Output.java
[Committer's log entry: ]
Added support for all EBCDIC flavors in xsl:output.
[Committed by ]santiagopg@apache.org[ on ]2002/10/21
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler Output.java xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output StreamOutput.java
[Committer's log entry: ]
Moved EBCDIC support from Output to StreamOutput to ensure correct
serialization of XML header.
[Committed by ]santiagopg@apache.org[ on ]2002/10/21
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler PositionCall.java xml-xalan/java/src/org/apache/xalan/xsltc/dom CurrentNodeListIterator.java DOMImpl.java FilterIterator.java NthIterator.java xml-xalan/java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
[Committer's log entry: ]
Committing patch from Henry Zongaro. This patch moves the logic from
XPath's position() function from NodeIterator.getPosition() to
BasisLibrary.positionF(). This change simplifies the integration
between XSLTC and DTM.
[Committed by ]zongaro@apache.org[ on ]2002/10/22
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/dom ForwardPositionIterator.java
[Committer's log entry: ]
Adding XSLTC_DTM version of file to branch.
[Committed by ]zongaro@apache.org[ on ]2002/10/22
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/dom ForwardPositionIterator.java
[Committer's log entry: ]
Whoops! Checked in file on MAIN branch that was meant for XSLTC_DTM branch.
[Committed by ]zongaro@apache.org[ on ]2002/10/22
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/dom ForwardPositionIterator.java
[Committer's log entry: ]
Adding DTM version of ForwardPositionIterator to XSLTC_DTM branch.
[Committed by ]zongaro@apache.org[ on ]2002/10/22
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/dom ForwardPositionIterator.java
[Committer's log entry: ]
Aarrrgggghhhhh\!\! Checked in file on MAIN branch that was meant for XSLTC_DTM branch, again\!
[Committed by ]santiagopg@apache.org[ on ]2002/10/25
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/dom UnionIterator.java
[Committer's log entry: ]
Fix for Bugzilla 13826. A problem in reset() was the cause of duplicate
nodes in the resulting nodeset.
[Committed by ]santiagopg@apache.org[ on ]2002/10/25
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler FunctionCall.java xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util NodeSetType.java ReferenceType.java ResultTreeType.java
[Committer's log entry: ]
Fix for Bugzilla 13850 provided by Morris Kwan.
Morris Kwan wrote:
Changes in NodeSetType.java:
Allow a org.w3c.dom.Node to be converted to a XSLTC internal nodeset
Changes in ReferenceType.java:
Allow conversions from Reference to Java String, double, w3c Node/NodeList
Changes in ResultTreeType.java:
The result tree when converted to a nodeset, should contain only one node
starting from the root. If you replace <xsl:param> with <xsl:variable> in
the attached testcase, you will see a problem in "ext:nodelistTest
($a)/h1/h2" because of this problem.
Changes in BasisLibrary.java:
Added interfaces referenceToNodeList, referenceToNode and node2Iterator.
The changes in copyNodes() fix a problem with the document node. In the
case of an RTF, the NodeList passed to nodeList2Iterator() contains only
one Node, which is a Document Node. The changes try to create a dummy
element for the Document and copy all Nodes under it.
[Committed by ]santiagopg@apache.org[ on ]2002/10/28
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
[Committer's log entry: ]
Fix for Bugzilla 13850 provided by Morris Kwan.
Changes in BasisLibrary.java:
Added interfaces referenceToNodeList, referenceToNode and node2Iterator.
The changes in copyNodes() fix a problem with the document node. In the
case of an RTF, the NodeList passed to nodeList2Iterator() contains only
one Node, which is a Document Node. The changes try to create a dummy
element for the Document and copy all Nodes under it.
[Committed by ]santiagopg@apache.org[ on ]2002/10/29
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/compiler LocationPathPattern.java Mode.java Step.java StepPattern.java xpath.cup
[Committer's log entry: ]
Distinguish between child::node() and attribute::node() both in patterns
and expressions. This patch also fixes Bugzilla 11433.
[Committed by ]santiagopg@apache.org[ on ]2002/10/29
[Modified: ] xml-xalan/java/src/org/apache/xalan/xsltc/dom DOMImpl.java
[Committer's log entry: ]
Fixed problem in DOMImpl$ChildrenIterator.getLast(). It now returns 0
when the nodeset is empty.