http://xml.apache.org/http://www.apache.org/http://www.w3.org/

What's New
DTM
XSLTC Translets

Overview
Getting Started

FAQs

Sample Apps
Command Line

Usage Patterns

TrAX
API (Javadoc)

Extensions
Extensions Library

Release Notes

Xalan 2 Design
XSLTC Design

Bugs
Testing

Credits
XSLTC Credits

Xalan-Java version 2.2

NoteThis is the last Xalan-Java release to include support for the Xalan-Java 1 compatability API (deprecated).

Starting with our next major point release (Xalan-Java 2.3), we plan to integrate Xalan-Java with release 2 of Xerces-Java.
Status
 
Changes since Xalan-Java 2.2.D14
 

Following a series of Developer releases, Xalan-Java version 2.2 represents a stable, production-quality release with the DTM (Document Table Model). Xalan-Java uses the DTM to represent the XML source document to be transformed. Please send your feedback to the Xalan Development Mailing List.

Core (Non-XSLTC) source code updates:

  • Committed by dleslie@apache.org on 11/30/2001
    Modified: java/src/org/apache/xalan/res XSLTInfo.properties
    Committer's log entry: updated version number to 2.2.D14

  • Committed by dleslie@apache.org on 11/30/2001
    Modified: java/src/org/apache/xalan/processor XSLProcessorVersion.java
    Committer's log entry: updated version number to 2.2.D14

  • Committed by jkesselm@apache.org on 12/03/2001
    Modified: java/src/org/apache/xml/dtm/ref DTMDefaultBaseIterators.java
    Committer's log entry: Bugzilla 5242: Special-case initializing iteration from Document node -- one-liner wasn't safe.

  • Committed by tmiller@apache.org on 12/04/2001
    Added: java/src/org/apache/xalan/xsltc ProcessorVersion.java
    Committer's log entry: new class to version xsltc software

  • Committed by jkesselm@apache.org on 12/05/2001
    Modified: java/src/org/apache/xml/dtm/ref/sax2dtm SAX2DTM.java
    Committer's log entry: Additional debugging printouts, added while analysing Bugzilla 5272 but generally useful. No functional change, and should be optimized away when DEBUG is set false.

  • Committed by jkesselm@apache.org on 12/10/2001
    Modified: java/src/org/apache/xalan/xslt Process.java
    Committer's log entry: Removed the "magic" default which causes us to switch into incremental processing mode whenever we were writing to Standard Output (ie, -OUT had not been specified). If you want incremental processing, please use the (relatively new) -INCREMENTAL switch to explicitly request it. (The automatic switchover was causing some confusion when testing against Xerces2. )

  • Committed by jkesselm@apache.org on 12/10/2001
    Modified: java/src/org/apache/xml/dtm/ref DTMDefaultBase.java DTMManagerDefault.java
    Committer's log entry: Efficiency improvement to the new DTM "overflow addressing" scheme. In some tests, this one alteration shaved about 30% off the runtime.

  • Committed by jkesselm@apache.org on 12/11/2001
    Modified: java/src/org/apache/xpath CachedXPathAPI.java XPathContext.java
    Committer's log entry: Changes requested by the xml-security group: 1) Provide something a constructor that allows sharing the XPathContext object between CachedXPathAPI objects 2) Add getXPathContext(). I'm just a bit nervious about this method, but they assure us they need it and the field isn't private. We may need to discus this one further. 3) Make the XPathContext's m_dtmManager member protected rather than private, so their subclass can get to it. We may want to work with them to understand why they're accessing this directly and whether there's a better solution.

  • Committed by jkesselm@apache.org on 12/13/2001
    Modified: java/src/org/apache/xml/dtm/ref IncrementalSAXSource_Xerces.java
    Committer's log entry: Bugzilla5272 patch suggested by Sandy Gao. This startup sequence for incremental SAX parsing under Xerces2 really is excessively complicated and excessively fragile as a result. Not to mention being underdocumented. We really need to push the Xerces folks to provide a simple incremental SAX API, similar to that in the Xerces1incremental prototype.

  • Committed by jkesselm@apache.org on 12/13/2001
    Modified: java/src/org/apache/xml/dtm/ref/sax2dtm SAX2DTM.java
    Committer's log entry: Part 1 of 2: Reducing initial space requirements of a DTM. This may involve a slight performance hit, but should help stylesheets which generate a lot of Result Tree Fragment. Part 2 of this change will be checked in after I resolve a bug in whitespace normalization. Note that a better long-term answer will be to reduce the number of DTMs tied up as RTFs, by doing a better job of discarding or reusing them when we're done with them. There are some issues regarding exactly what their lifetimes will be when assigned to variables, especially when one variable is used to build another, which we need to address before we can make that change.

  • Committed by jkesselm@apache.org on 12/13/2001
    Modified: java/src/org/apache/xml/dtm/ref/sax2dtm SAX2DTM.java
    Committer's log entry: Part 2a of 2: Reducing initial space requirements of a DTM. This may involve a slight performance hit in some circumstances due to smaller and more complex subdivision of FastStringBuffers,, but should help stylesheets which generate a lot of Result Tree Fragments. Note that a better long-term answer will be to reduce the number of DTMs tied up as RTFs

  • Committed by jkesselm@apache.org on 12/13/2001
    Modified: java/src/org/apache/xml/utils FastStringBuffer.java
    Committer's log entry: Part 2b of 2: Reducing initial space requirements of a DTM. This may involve a slight performance hit in some circumstances due to smaller and more complex subdivision of FastStringBuffers,, but should help stylesheets which generate a lot of Result Tree Fragments. (Leveraging FSB's features more strongly exposed a bug in whitespace normalization, which I've fixed.) Note that a better long-term answer will be to reduce the number of DTMs tied up as RTFs

  • Committed by jkesselm@apache.org on 12/14/2001
    Modified: java/src/org/apache/xml/utils AttList.java
    Committer's log entry: Two goofs: Forgetting to use the namespace-aware DOM call, and forgetting to check for a returned null before dereferencing. How long has _that_ been lurking in the undergrowth?!

  • Committed by jkesselm@apache.org on 12/14/2001
    Modified: java/src/org/apache/xml/utils SuballocatedIntVector.java
    Committer's log entry: Finally following up on an old hunch, I switched from /% addressing to shift-and-mask. Big improvement!

  • Committed by jkesselm@apache.org on 12/14/2001
    Modified: java/src/org/apache/xml/dtm/ref/dom2dtm DOM2DTM.java
    Committer's log entry: Performance improvements; Some changes to better leverage the DOM's existing code, others to avoid some call-and-return overhead. Combined with other recent changes, we've now got a significant speedup over D14 on some tests. We may want to drop the scheduled December 17th 2.2 release and instead bring 2.2 out on 1/14 (which is when we'd planned 2.3) with performance gains and Xerces2 support.

  • Committed by jkesselm@apache.org on 12/18/2001
    Modified: java/src/org/apache/xml/dtm/ref DTMDefaultBase.java java/src/org/apache/xml/dtm/ref/dom2dtm DOM2DTM.java DOM2DTMdefaultNamespaceDeclarationNode.java
    Committer's log entry: A few more subtle performance tweaks, and an actual bug.

  • Committed by curcuru@apache.org on 12/20/2001
    Added: java/src/org/apache/xml/utils ListingErrorHandler.java
    Committer's log entry: Alternate ErrorHandler/ErrorListener implementation that allows configuration and prints errors out similarly to javac

  • Committed by jkesselm@apache.org on 12/21/2001
    Modified: java/src/org/apache/xml/utils AttList.java
    Committer's log entry: Bugzilla 5496; previously unimplemented functions.

  • Committed by jkesselm@apache.org on 01/03/2002
    Modified: java/src/org/apache/xml/utils DOMBuilder.java
    Committer's log entry: [Bug 5528] DOMBuilder mixed DOM Level 1 and 2

NoteThis release includes no updates of the compatibility source code (now deprecated).

Other points of interest
 
  • Handling xsl:namespace-alias declarations: In release 2.0.D01, we reported the need to do some research concerning exactly how Xalan should handle xsl:namespace-alias declarations. As a result of discussions among members of the W3C Working Group on XSL, we have reached a more precise consensus on how namespaces should be represented when an xsl:namespace-alias declaration is in effect.

    If a literal result element has a namespace prefix, the prefix will be preserved and the namespace URI of the element will be as specified in the xsl:namespace-alias element, but the result-prefix is not required to appear in the result. This also applies to the two other cases of "Literal namespace URI" mentioned in the XSLT Recommendation on Literal Result Elements. More simply, if the stylesheet calls for <axsl:foo> to be output as a literal result element, then it will be output as <axsl:foo> in the result, but the namespace associated with this "axsl" prefix will be as designated in the xsl:namespace-alias declaration.

  • For HTML output, Xalan-Java 2 outputs character entity references (&copy; etc.) for the special characters designated in Appendix A. DTDs of the XHTML 1.0: The Extensible HyperText Markup Language. Xalan-Java 1.x, on the other hand, outputs literal characters for some of these special characters.

  • In conformance with the XSLT Recommendation on the HTML Output Method and Section B.2.1 of the HTML 4.0 Recommendation, Xalan-Java 2 uses %hh encoding for each byte of the UTF-8 representation of non-ASCII characters in HTML URI attributes.

  • When your stylesheet asks for an explicit carriage-return character (&#13;) to be inserted into the output, it is output during the serialization process in escaped form unless escaping has been disabled. When your stylesheet asks for an explicit line-feed character (&#10;) to be output, the system-default line-break character(s) is/are output during the serialization process. Also keep in mind that the XML parser normalizes line-breaks to line-feeds when it sends character events to the processor.

  • If your XML input is a DOM, use the javax.xml.parsers.DocumentBuilderFactory setCoalescing() method to set coalescing to true (it is false by default), if you want to append CDATA sections to adjacent text sections to form a single text node (as the XPath standard calls for), and if the XML parser supports this feature (Xerces-Java version 1.4.4 does not).

  • When you traverse the namespace axis for a collection of element nodes, Xalan-Java includes one namespace node for each namespace in scope for one or more of the nodes in that collection. The XPath expression does not return additional (redundant) namespace nodes for each element for which the namespace nodes are in scope.

  • See Bugzilla bug 2291 for a discussion of issues surrounding use of the default character encoding to read META-INF/Services.

  • As Bugzilla bug 1800 reports, the Transformer does not get the setTransformState event until after the startDocument event. This could present a problem for tools developers, and we do intend to fix this bug.

Bugs
 

All known Xalan-Java bugs are listed in Bugzilla (the Apache bug database). For a list of open bugs with links to each bug report, see XalanJ2 open bugs. If you find a new bug, please enter a XalanJ2 bug report in this database.

NoteBefore you can enter your first bug report, you must submit your email address to Bugzilla and receive a password.

We strongly encourage you write patches for problems you find and submit them to xalan-dev@xml.apache.org. We review the patches we receive to make sure they do not break something else, and (assuming they do not) include them in our next release. In the interest of fixing bugs, adding enhancements, and addressing outstanding design issues, we sincerely want (and need!) your active participation in the ongoing development of Xalan.


Version of Xerces to use
 

The Xalan-Java version 2.2 has been tested with Xerces-Java version 1.4.4. The Xalan-Java version 2.2 download from xml.apache.org includes xerces.jar from Xerces-Java version 1.4.4. For information about including xerces.jar on the system class path, see Setting up the system class path.

NoteYou may also use Xalan-Java version 2.2 for prototyping or beta testing with Xerces-Java 2.0.0.beta3. You may not use the Xalan-Java version 1 API (deprecated) with Xerces-Java 2.0.0.beta3.

Important You may experience unpredictable anomalies if your Xalan and Xerces builds are not in synch. If you download an update to Xalan, check the release notes to determine which version of Xerces you should use.

NoteYou can use Xalan with other XML parsers that implement the Java API for XML Parsing 1.0. See Plugging in the Transformer and XML parser.

To-do tasks
 

For a list of goals, tasks, and target dates for completion, see Xalan-Java Version 2: Things To Do. As tasks are completed, they are moved from the to-do list to Completed.

The source document for the to-do list is an active document in the Apache CVS repository: xml-xalan/java/todo.xml.



XSLTC Release Notes
 

For this release, please note the following changes, additions, omissions, problems, procedures for running demos, and new support for the TrAX API.

Changes since Xalan-Java 2.2.D14
 

XSLTC source code updates:

  • Committed by morten@apache.org on 11/30/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler xpath.cup
    Committer's log entry: A fix to the XPath parser to make sure (again!) that non-prefixed elements in XPath expressions/patterns are not assigned the default namespace but rather the null namespace. PR: bugzilla 4904 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/30/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Stylesheet.java
    Committer's log entry: Modified the order in which top-level elements are parsed. This to make sure that xsl:namespace-alias elements are parsed before xsl:import and include, so that namespace aliases are global to all included stylesheets. PR: bugzilla 4876 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 12/04/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Predicate.java xpath.lex
    Committer's log entry:

  • Committed by morten@apache.org on 12/04/2001
    Modified: java/src/org/apache/xalan/xsltc NodeIterator.java java/src/org/apache/xalan/xsltc/dom AbsoluteIterator.java CurrentNodeListIterator.java DOMImpl.java FilterIterator.java FilteredStepIterator.java KeyIndex.java MatchingIterator.java MultiDOM.java NodeIteratorBase.java NthIterator.java StepIterator.java UnionIterator.java
    Committer's log entry: A fix for the various node iterators cloneIterator() method. This method should clear the _isRestartable flag to prevent iterators contained within variables and parameters from changing their value. This flag is now wrapped inside a setRestartable(boolean flag) method so that the call can be propagated down a stack of iterators. This seems to solve many of our iterator problems. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apaceh.org

  • Committed by morten@apache.org on 12/04/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler SyntaxTreeNode.java XslElement.java
    Committer's log entry: Added a method to the SyntaxTreeNode base class that can be used to check the existence of an attribute in the input document: hasAttribute(String name). This method is used in the XslElement class to verify the existence of a 'namespace' attribute with an empty value. PR: bugzilla 4983 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 12/04/2001
    Modified: java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
    Committer's log entry: Updated the realToString() method in the runtime library to always output numbers on decimal form (and not on Java's "computerized scientific notation." PR: bugzilla 4199 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 12/04/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Parser.java RoundCall.java java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
    Committer's log entry: Changed the return-type of the round() function form int to double. The result is still rounded (of course), but it is returned as a double to be able to return NaN and infinite values. PR: bugzilla 2805 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 12/05/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Predicate.java
    Committer's log entry: I am still fiddling around with predicates containing variable references and position filters. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 12/05/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler xpath.lex
    Committer's log entry: Reverting previous putback.

  • Committed by morten@apache.org on 12/05/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Output.java java/src/org/apache/xalan/xsltc/compiler/util ErrorMessages.java ErrorMessages_no.java ErrorMsg.java java/src/org/apache/xalan/xsltc/runtime TextOutput.java
    Committer's log entry: Added a warning message for unsupported output encodings. PR: bugzilla 5139 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 12/05/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler xpath.lex
    Committer's log entry: fixed typo

  • Committed by morten@apache.org on 12/10/2001
    Modified: java/src/org/apache/xalan/xsltc/runtime AbstractTranslet.java
    Committer's log entry: A fix for global parameters whose names contain dots or dashes. PR: bugzilla 5328 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 12/10/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler xpath.cup
    Committer's log entry: A fix for a bug in the XPath parser. The parser would choke on some XPath expressions that contained references to element names that were identical to axis names. PR: bugzilla 3502 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 12/10/2001
    Modified: java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
    Committer's log entry: Added another fix to properly convert ver small floating point numbers to strings. PR: bugzilla 4199 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 12/10/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Stylesheet.java
    Committer's log entry: Added a fix for global variables declared in included/imported stylesheets. PR: bugzilla 5327 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 12/10/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler/util MethodGenerator.java
    Committer's log entry: Fix for use of XPath expressions in contexts where there is no 'current' node (ie. in top-level elements such as variables and attribute sets). PR: bugzilla 5194 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by tmiller@apache.org on 12/11/2001
    Modified: java/src/org/apache/xalan/xsltc/trax SmartTransformerFactoryImpl.java
    Committer's log entry: added factory creation methods and checks

  • Committed by tmiller@apache.org on 12/11/2001
    Added: java/src/org/apache/xalan/xsltc/trax SmartTransformerFactoryImpl.java
    Committer's log entry: new prototype class, work in progress

  • Committed by tmiller@apache.org on 12/11/2001
    Modified: java/src/org/apache/xalan/xsltc/trax SmartTransformerFactoryImpl.java
    Committer's log entry: added factory creation methods and checks

  • Committed by tmiller@apache.org on 12/11/2001
    Added: java/src/org/apache/xalan/xsltc/trax SmartTransformerFactoryImpl.java
    Committer's log entry: new prototype class, work in progress

  • Committed by morten@apache.org on 12/11/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler/util ResultTreeType.java
    Committer's log entry: A fix for passing result tree fragments and node-sets to external Java methods. Node sets and RTFs can both be handled as org.w3c.dom.Node or org.w3c.dom.NodeList in the called method. PR: none Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by tmiller@apache.org on 12/11/2001
    Modified: java/src/org/apache/xalan/xsltc/trax SmartTransformerFactoryImpl.java
    Committer's log entry: added factory creation methods and checks

  • Committed by tmiller@apache.org on 12/11/2001
    Added: java/src/org/apache/xalan/xsltc/trax SmartTransformerFactoryImpl.java
    Committer's log entry: new prototype class, work in progress

  • Committed by tmiller@apache.org on 12/11/2001
    Modified: java/src/org/apache/xalan/xsltc/trax SmartTransformerFactoryImpl.java
    Committer's log entry: added factory creation methods and checks

  • Committed by tmiller@apache.org on 12/11/2001
    Added: java/src/org/apache/xalan/xsltc/trax SmartTransformerFactoryImpl.java
    Committer's log entry: new prototype class, work in progress

  • Committed by morten@apache.org on 12/11/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler/util ResultTreeType.java
    Committer's log entry: A fix for passing result tree fragments and node-sets to external Java methods. Node sets and RTFs can both be handled as org.w3c.dom.Node or org.w3c.dom.NodeList in the called method. PR: none Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by tmiller@apache.org on 12/11/2001
    Modified: java/src/org/apache/xalan/xsltc/trax SmartTransformerFactoryImpl.java
    Committer's log entry: added factory creation methods and checks

  • Committed by tmiller@apache.org on 12/11/2001
    Added: java/src/org/apache/xalan/xsltc/trax SmartTransformerFactoryImpl.java
    Committer's log entry: new prototype class, work in progress

  • Committed by tmiller@apache.org on 12/11/2001
    Modified: java/src/org/apache/xalan/xsltc/trax SmartTransformerFactoryImpl.java
    Committer's log entry: added factory creation methods and checks

  • Committed by tmiller@apache.org on 12/11/2001
    Added: java/src/org/apache/xalan/xsltc/trax SmartTransformerFactoryImpl.java
    Committer's log entry: new prototype class, work in progress

  • Committed by tmiller@apache.org on 12/11/2001
    Modified: java/src/org/apache/xalan/xsltc/trax SmartTransformerFactoryImpl.java
    Committer's log entry: added factory creation methods and checks

  • Committed by tmiller@apache.org on 12/11/2001
    Added: java/src/org/apache/xalan/xsltc/trax SmartTransformerFactoryImpl.java
    Committer's log entry: new prototype class, work in progress

  • Committed by tmiller@apache.org on 12/11/2001
    Modified: java/src/org/apache/xalan/xsltc/trax SmartTransformerFactoryImpl.java
    Committer's log entry: look for xsltc specific attributes

  • Committed by tmiller@apache.org on 12/12/2001
    Modified: java/src/org/apache/xalan/xsltc/trax SmartTransformerFactoryImpl.java
    Committer's log entry: store error listener and or uri resolver locally set in real factory when needed

  • Committed by tmiller@apache.org on 12/13/2001
    Modified: java/src/org/apache/xalan/xsltc/trax SmartTransformerFactoryImpl.java
    Committer's log entry: fixed scope of internal method

  • Committed by morten@apache.org on 12/17/2001
    Modified: java/src/org/apache/xalan/xsltc/cmdline Transform.java
    Committer's log entry: Removed some stupid debug timing-loop in the command line Transform tool. PR: none Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 12/17/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler XSLTC.java
    Committer's log entry: Removed the main() method from the XSLTC class. This class represents the native API of the compiler. PR: none Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 12/17/2001
    Modified: java/src/org/apache/xalan/xsltc/cmdline Transform.java java/src/org/apache/xalan/xsltc/dom DTDMonitor.java
    Committer's log entry: A small cleanup in our native API. Submitted by: morten@xml.apache.org

  • Committed by tmiller@apache.org on 01/07/2002
    Modified: java/src/org/apache/xalan/xsltc/trax TransformerImpl.java
    Committer's log entry: fixed problem with output content handler creation (while running xalan conf tests) in method getOutputHandler(Result).


XSLT 1.0 Conformance and Extensions
 

XSLTC does not yet support the following feature of the W3C Recommendation XSL Transformations (XSLT) Version 1.0:

  • The namespace axis is not implemented. You cannot get a node set containing the namespace nodes in scope from a context node in the document tree. Otherwise, namespace functionality is implemented.

XSLTC does not support a number of features that are not required by the XSLT 1.0 specification, but which are supported by a number of other XSLT processors:

  • Incomplete support for extension elements and external Java functions. Currently you can set up an extension function to call a static Java function. For the extension namespace, use
        http://xml.apache.org/xalan/xsltc/java/<class>
    where <class> identifies the class with the static method.
  • Lack of support for the redirection of output to multiple output files from within a stylesheet (equivalent to xalan:redirect or saxon:output).
  • XSLTC does not implement a node-set extension to convert result tree fragments to node-sets. This would enable sorting and grouping of nodes assigned to a tree

Known Problems
 
  • Casting variables: XSLTC requires you to explicitly type cast values returned by variables or expressions, when you use them in tests. Always a good practice, but it may seem like overkill in some in contexts, where other XSLT processors automatically assume or convert to the correct type. For example. unless you cast $country to a string in the following apply-templates, entry nodes whose <country> elements contain a string matching the global $country parameter are NOT selected.

        <xsl:apply-templates select="entry[country=string($country)]"/>
  • Order dependency of conditions within a predicate: If you have a predicate in a select or match expression that has multiple conditions, one of which contains a union (X or Y), put it last. Otherwise, the predicate fails to match node that it should.
  • When using DOM caching, as shown in the Servlet demo, if the source document is local to the server, the cache is not refreshed when the source XML document is modified. This problem does not apply when the source is associated with a URL.
  • If you have a list of references included or imported stylesheets, put any with a relative path last; otherwise, stylesheets in the current directory are not found.
  • [1] should be treated equivalent to position()=1, but it is not. Therefore, if you get unexpected results using such shortcut positional predicates, substitute the full postion()= version.
  • XSLTC fails to match existing nodes when match expressions have multiple steps with predicates containing the position function. The following examples are taken from the XSLTMark oddtemplates.xsl test:

        match='top/*[position()=2]'
        match='top/*[6]/kid[2]'
        match='top/*[position()=last()]'
  • XSTLC has problems with output escaping, see bug 1403.
  • Case-order option with sorting is ignored.
  • As a minor side-effect of implementing simplified stylesheets, if you inadvertenly go to compile a stylesheet and give the name of the .xml doc instead of the .xsl doc, it may compile without a warning. In some cases, the compiler aborts with an error about too many branches.

Running Demos
 

XSLTC provides demos for using XSLTC as a servlet and as a handler for Brazil (a new and powerful Web techology from Sun labs). To run these demos, download Brazil from sunlabs:

    http://research.sun.com/research/download/index.html

and the java extensions for servlets from Sun:

     http://java.sun.com/products/servlet/download.html

The translet must be specified as a pure class name, accessible through the Brazil handler's classpath. For example:

    translet=mk054

The document must be specified as a valid URL. For example:

    document=http://server/path/to/filename.xml

If the file is local to the Brazil handler, it has to be specified using the "file:filename.xml" format.

NoteYou also need to make the Brazil and javax classes available from your classpath

See also: sample JAXP translets.


Translets and TrAX
 

The Translet API has been extended to conform with the JAXP1.1 TrAX model. This release contains the first implementation of that extension. Two new classes have been added to the Translet XSLT codebase, they are:

(1) org.apache.xalan.xsltc.trax.TransformerFactoryImpl -
    the Translet implementation of a SAXTransformerFactory.

(2) org.apache.xalan.xsltc.runtime.TransletTemplates -     the Translet implementation of a Templates object.

The existing XSLT class 'org.apache.xalan.xsltc.runtime.AbstractTranslet' that implements the Translet interface is now also extending the javax.xml.transform.Transformer abstract class.

This implementation is only a partial implementation, with many limitations. These limitations include:

  1. Currently 'StreamSource' and 'StreamResult' are the only TrAX Sources and Results that are supported.
  2. The translet is compiled everytime a call is made to the
    TransformerFactoryImpl 'newTransformer()' method.
  3. The translet is compiled everytime a call is made to the
    TemplateFactoryImpl 'newTransformer()' method.
  4. Translet are currently not cached. (See (2) and (3)).
  5. Several abstract methods from SAXTransformerFactory still need to be implemented in the xsltc.runtime.TransformerFactoryImpl class:

        TemplatesHandler newTemplatesHandler()
        TransformerHandler newTransformerHandler()
        TransformerHandler newTransformerHandler(Source src)
        TransformerHandler newTransformerHandler(Templates templates)
        XMLFilter newXMLFilter(Source src)
        XMLFilter newXMLFilter(Templates templates)
  6. Several abstract methods from Transformer still need to be implemented in the AbstractTranslet class:

        ErrorListener getErrorListener()
        void setErrorListener(ErrorListener)
        Properties getOutputProperties()
        String getOutputProperty(String name)
        void setOutputProperties(Properties props)
        void setOutputProperty(String name, String value)
        URIResolver getURIResolver()
        void setURIResolver(URIResolver resolver)
  7. Abstract method from Templates still need to be implemented in the TransletTemplates class:

        Properties getOutputProperties()
  8. Several abstract methods from TransformerFactory still need to be implemented in the xsltc.runtime.TransformerFactoryImpl class:

        ErrorListener getErrorListener()
        void setErrorListener(ErrorListener listener)
        Object getAttribute(String name)
        void setAttribute(String name, Object value)
        boolean getFeature(String name)
        URIResolver getURIResolver()
        void setURIResolver(URIResolver resolver)
        Source getAssociatedStylesheet(Source src, String media, String title,
            String charset)
        Templates newTemplates(Source xslSrc)
        Transformer newTransformer()
  9. Whenever possible, the required methods that are currently unimplemented will throw an exception if someone tries to call them- this will alert the user that the method is not implemented. The message is of the form:

        "<Class Name>:<Method Name>( <args> ) not implemented yet."

History of XSLTC software changes
 

The following sections list XSLT changes back to the incorporation of XSLTC into Xalan-C++.

Changes for Xalan-Java 2.2.D14
 

XSLTC source code updates:

  • Committed by morten@apache.org on 11/12/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler XslAttribute.java
    Committer's log entry: Fixed bug for xsl:attribute PR: 4175 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/12/2001
    Modified: java/src/org/apache/xalan/xsltc/trax TransformerFactoryImpl.java
    Committer's log entry: Fix for properly creating a SAX InputSource from a TrAX InputStream for encapsulating a stylesheet before it is compiled. PR: bugzilla 4711 (I hope to God) Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/12/2001
    Modified: java/src/org/apache/xalan/xsltc/trax TransformerFactoryImpl.java
    Committer's log entry: Fix for last putback.

  • Committed by morten@apache.org on 11/12/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Stylesheet.java
    Committer's log entry: This fix should take care of a regression introduced by the code that was added on the 29.10.2001 to take care of forward referenced variables. This little patch ensures that variables that do not have any dependencies are kept in order. PR: bugzilla 4779 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/14/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler xpath.cup
    Committer's log entry: Fixed a minor regression after the fix for 3592. A literal number zero was always interpreted as an integer zero and never as a double -0 opr 0.0. PR: bugzill 4810 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/15/2001
    Modified: java/src/org/apache/xalan/xsltc/runtime TextOutput.java
    Committer's log entry: Fixed the code that prevents escaping of text inside <script> and <style> elements in HTML. The code did not handle upper case element names. PR: bugzilla 2517 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by tmiller@apache.org on 11/16/2001
    Modified: java/src/org/apache/xalan/xsltc/runtime AbstractTranslet.java
    Committer's log entry: bug fix 4906

  • Committed by morten@apache.org on 11/20/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Mode.java Template.java xpath.cup
    Committer's log entry: Fix for nested parent location paths / filter parent paths with key() or id() root. These paths would in some case returnt he root node when they should not. PR: bugzilla 4781 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/20/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Sort.java
    Committer's log entry: Fix for a big in the <xsl:sort> implementation. The element would not always work properly in the innermost loop in nested <xsl:for-each> elements. PR: bugzilla 4921 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/21/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler ApplyTemplates.java Sort.java
    Committer's log entry: A fix for a regression introduced by a fix for <xsl:sort/> and nested <xsl:for-each/> elements. PR: bugzilla 4921 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/21/2001
    Modified: java/src/org/apache/xalan/xsltc/runtime TextOutput.java
    Committer's log entry: Fix to ensure that double quotes are escaped inside attribute values in HTML output. PR: bugzilla 4845 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/21/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler ApplyTemplates.java
    Committer's log entry: Fix for a bug caused by <xsl:apply-templates/> not always passing parameters to the invoked template(s). Parameters would not be put on the stack if the 'select' attribute contained wildcards. PR: bugzilla 4718 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/21/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler/util StringType.java java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
    Committer's log entry: Fixed conversion between strings and numbers. Empty strings should return 0 and not NaN. PR: bugzilla 4783 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/22/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Choose.java Parser.java SyntaxTreeNode.java Text.java java/src/org/apache/xalan/xsltc/runtime TextOutput.java
    Committer's log entry: Fix for a whole wack of bugs related to text-nodes and handling of whitespace and special characters. PR: bugzilla 1403, 1520, 3005, 3418 and 3690 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/22/2001
    Modified: java/src/org/apache/xalan/xsltc/dom DOMImpl.java
    Committer's log entry: Prevented the namespace-uri() from returning anything for namespace nodes. PR: bugzilla 4896 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/22/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler XslElement.java
    Committer's log entry: Added test in <xsl:element> to verify that the local name of the created element is legal (must have contents, but no whitespaces or colon). PR: bugzilla 4894 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/22/2001
    Modified: java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
    Committer's log entry: A small fix for the substring() function to output an empty string if the start index is an infinite value. PR: bugzilla 4813 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/22/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Constants.java Stylesheet.java
    Committer's log entry: Fix for XHTML output. PR: bugzilla 4904 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/22/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Message.java
    Committer's log entry: A cleanup in the Message class. Making way for a fix for 4874 Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/26/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Predicate.java
    Committer's log entry: A fix for position predicates used within parameters and variables. PR: bugzilla 4783 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/26/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler XslAttribute.java
    Committer's log entry: A small fix needed after a fix for stripping/preserving text nodes. The fix for text-nodes caused us to insert text nodes before <xsl:attribute> elements in the AST, which again caused the XslAttribute class to complain. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/26/2001
    Modified: java/src/org/apache/xalan/xsltc DOM.java java/src/org/apache/xalan/xsltc/compiler Message.java java/src/org/apache/xalan/xsltc/dom DOMAdapter.java DOMImpl.java MultiDOM.java
    Committer's log entry: Added a new method to the DOM interface for retrieving the DOM as a single string. This method is different from the existing getStringValue() in the way that it generates element brackets and copies PIs and comments. PR: bugzilla 4874 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/27/2001
    Modified: java/src/org/apache/xalan/xsltc/dom DOMImpl.java FilteredStepIterator.java StepIterator.java UnionIterator.java
    Committer's log entry: Updated the StepIterator and FilteredStepIterator's cloneIterator() and reset() methods so that the _isRestartable flag is set correctly. PR: bugzilla 4905 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/27/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Parser.java
    Committer's log entry: Another fix for 3005 (special characters inside CDATA). PR: bugzilla 3005 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/27/2001
    Modified: java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
    Committer's log entry: A fix for decimal formatting PR: bugzilla 4901 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/27/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler AttributeSet.java
    Committer's log entry: A fix for a regression introduced by a fix for whitespace handling. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/27/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler FilterExpr.java Predicate.java VariableRefBase.java java/src/org/apache/xalan/xsltc/dom CurrentNodeListIterator.java DOMImpl.java FilteredStepIterator.java KeyIndex.java MatchingIterator.java MultiDOM.java NthIterator.java StepIterator.java UnionIterator.java java/src/org/apache/xalan/xsltc/runtime AbstractTranslet.java
    Committer's log entry: A fix for trees of step iterators stored inside variables. Also some fixes for recently introduced regressions. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.iorg

  • Committed by morten@apache.org on 11/29/2001
    Modified: java/src/org/apache/xalan/xsltc/trax TemplatesImpl.java
    Committer's log entry: A fix for the TrAX API when used from within an environment that does _not_ use one of the standard classloaders. PR: bigzilla 5130 Obtained from: n/a Submitted by: Jochen.Cordes@t-online.de Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/29/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Sort.java java/src/org/apache/xalan/xsltc/dom NodeSortRecord.java
    Committer's log entry: A fix for multilevel sort-keys. If a set of translets (representing different stylesheets) are running one the same JVM, and two or more of these translets use NodeSortRecord objects to represent <xsl:sort/> elements, then the number of sort keys would be set in the NodeSortRecord _class_ constructor instead of being set locally for each occurance of <xsl:sort/>. PR: bugzilla 4755 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/29/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler CastExpr.java EqualityExpr.java Expression.java LastCall.java Predicate.java VariableRefBase.java java/src/org/apache/xalan/xsltc/dom DOMImpl.java StepIterator.java
    Committer's log entry: A fix for resetting the source iterator of a node-value iterator. PR: bugzilla 5152 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/29/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler DecimalFormatting.java java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
    Committer's log entry: A fix for a few regressions from yesterday. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/30/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler xpath.cup
    Committer's log entry: A fix to the XPath parser to make sure (again!) that non-prefixed elements in XPath expressions/patterns are not assigned the default namespace but rather the null namespace. PR: bugzilla 4904 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/30/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Stylesheet.java
    Committer's log entry: Modified the order in which top-level elements are parsed. This to make sure that xsl:namespace-alias elements are parsed before xsl:import and include, so that namespace aliases are global to all included stylesheets. PR: bugzilla 4876 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org


Changes for Xalan-Java 2.2.D12 and 2.2.D13
 

XSLTC source code updates:

  • Committed by morten@apache.org on 10/12/2001
    Modified: java/src/org/apache/xalan/xsltc/trax TransformerImpl.java
    Committer's log entry: Changed the values for the output properties "OMIT_XML_DECLARATION" and "INDENT" from "true" and "false" to "yes" and "no". PR: bugzilla 4039 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/12/2001
    Modified: java/src/org/apache/xalan/xsltc/trax TransformerFactoryImpl.java
    Committer's log entry: Updated the getAttribute() method to throw an IllegalArgumentException for unknown attributes. PR: bugzilla 4046 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/12/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler NameBase.java
    Committer's log entry: Fixed a bug in the name() and local-name() functions. The functions would use the current node and not the context node when no arguments were given. PR: bugzilla 3322 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/12/2001
    Modified: java/src/org/apache/xalan/xsltc/dom DOMImpl.java
    Committer's log entry: Updated Mode.java to properly handle patterns matching on node(), comment() and processing-instruction(). Also had to make a small change to the setStartNode() method in the FollowingIterator (inner class of DOMImpl.java) to properly handle attribute-nodes as start nodes. Also, I had to change ParentLocationPath to remove duplicates that can be produced by the FollowingIterator when started with an attribute node. PR: bugzilla 2551 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/12/2001
    Modified: java/src/org/apache/xalan/xsltc/trax TransformerImpl.java
    Committer's log entry: A small for for the output property OMIT_XML_DECLARATION PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/12/2001
    Modified: java/src/org/apache/xalan/xsltc/trax TransformerImpl.java
    Committer's log entry: Fix to the transformer implementation to allow for namespace-prefixed output properties (output property extensions). PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by tmiller@apache.org on 10/12/2001
    Modified: java/src/org/apache/xalan/xsltc/dom LoadDocument.java
    Committer's log entry: included a more portable way to create an URI from a File

  • Committed by tmiller@apache.org on 10/12/2001
    Modified: java/src/org/apache/xalan/xsltc/runtime DefaultRun.java
    Committer's log entry: ncluded a more portable way to create an URI from a File

  • Committed by tmiller@apache.org on 10/12/2001
    Modified: java/src/org/apache/xalan/xsltc/trax TransformerFactoryImpl.java
    Committer's log entry: ncluded a more portable way to create an URI from a File

  • Committed by tmiller@apache.org on 10/12/2001
    Modified: java/src/org/apache/xalan/xsltc/cmdline Transform.java
    Committer's log entry: ncluded a more portable way to create an URI from a File

  • Committed by morten@apache.org on 10/15/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Mode.java ParentLocationPath.java Parser.java RelationalExpr.java SyntaxTreeNode.java java/src/org/apache/xalan/xsltc/runtime AbstractTranslet.java TextOutput.java
    Committer's log entry: A fix for a few regressions. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/15/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Mode.java java/src/org/apache/xalan/xsltc/dom DOMImpl.java
    Committer's log entry: Fix for the "*" pattern. Made it include comment and PI nodes. PR: bugzilla 4050 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/15/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Mode.java
    Committer's log entry: Fix for the last fix. PR: bugzilla 4050 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/15/2001
    Modified: java/src/org/apache/xalan/xsltc/dom DOMImpl.java
    Committer's log entry: Fix for the last fix. PR: bugzil.la 4050 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by tmiller@apache.org on 10/15/2001
    Modified: java/src/org/apache/xalan/xsltc/trax TransformerFactoryImpl.java
    Committer's log entry: added catch for malformed url

  • Committed by morten@apache.org on 10/16/2001
    Modified: java/src/org/apache/xalan/xsltc/cmdline Transform.java
    Committer's log entry: Modified error handling to extract messages from SAXException. This tool will also print the stack trace of the SAXException if the '-x' flag is specified (debug turned on). PR: none Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/16/2001
    Modified: java/src/org/apache/xalan/xsltc/runtime TextOutput.java
    Committer's log entry: Added code to prevent index-out-of-bounds exception in the output handler. PR: none Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/16/2001
    Modified: java/src/org/apache/xalan/xsltc DOM.java java/src/org/apache/xalan/xsltc/compiler XSLTC.java xpath.cup java/src/org/apache/xalan/xsltc/dom DOMAdapter.java DOMImpl.java
    Committer's log entry: Added support for the namespace axis. PR: bugzilla 1379 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/16/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Mode.java
    Committer's log entry: Missing file from last putback. PR: bugzilla 1379 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/16/2001
    Modified: java/src/org/apache/xalan/xsltc/dom DOMImpl.java
    Committer's log entry: A few add'ons to the namespace axis implementation. Added support for the namespace-uri() function when applied to namespace nodes. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/16/2001
    Modified: java/src/org/apache/xalan/xsltc/dom DOMImpl.java
    Committer's log entry: Code cleanup. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/16/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Mode.java
    Committer's log entry: Fix to prevent attribute nodes to be included by the node() pattern. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/16/2001
    Modified: java/src/org/apache/xalan/xsltc/dom DOMImpl.java
    Committer's log entry: Fix for the following:: iterator when started with an attribute node. PR: bugzilla 2551 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/17/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler LiteralElement.java Mode.java java/src/org/apache/xalan/xsltc/dom DOMImpl.java
    Committer's log entry: A fix to a recent regression after a fix for some axis iterators. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/17/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler xpath.cup xpath.lex
    Committer's log entry: Added 4 symbols to the lexiographical analyser (xpath.lex) to recognise name-tests with whitespace between the NCName and the "()" brackets. PR: bugzilla 4208 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/17/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler XslAttribute.java
    Committer's log entry: Fix to prevent xsl:attributes from not compiling itself into the translet code. PR: bugzilla 4175 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/17/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler FilterParentPath.java
    Committer's log entry: Enabled node ordering for certain filtered parent paths. PR: bugzilla 4178 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/17/2001
    Modified: java/src/org/apache/xalan/xsltc/dom NodeSortRecord.java
    Committer's log entry: Changed the node sort record base class so that it places NaN values first in the sorted list/node-set. PR: bugzilla 3517 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/17/2001
    Modified: java/src/org/apache/xalan/xsltc/dom DOMImpl.java
    Committer's log entry: Changed the DOM's copy() function to always copy the necessary namespace declaration to the output handler. PR: bugzilla 3409 (not complete fix) Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/18/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler CallTemplate.java DecimalFormatting.java Param.java SymbolTable.java Template.java Variable.java VariableBase.java WithParam.java java/src/org/apache/xalan/xsltc/compiler/util ErrorMsg.java
    Committer's log entry: Cleaned up the compiler's symbol table. Added support for detecting multiple defined decimal formatting symbols. PR: bugzilla 3872 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/18/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler CallTemplate.java Template.java VariableBase.java WithParam.java XSLTC.java java/src/org/apache/xalan/xsltc/compiler/util Util.java
    Committer's log entry: Added/checked proper escaping of template/variable/parameter/attribute-set/etc. names. Occurances of the characters '.' and '-' are replaced by '$dot$' and '$dash$' respectively in method/variable names. The characters are both replaced by an underbar ('_') in the translet class name. PR: 2399 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/18/2001
    Modified: java/src/org/apache/xalan/xsltc/dom DOMImpl.java
    Committer's log entry: Fix for getting all attributes from the Xerces parser. Xerces and Crimson report attributes differently, and we have to take that into account. PR: bugzilla 2465 Obtained from: n/a Submitted by: Douglas Sellers <douglasjsellers@hotmail.com> Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/18/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler FilterParentPath.java
    Committer's log entry: Added node ordering to FilterParentPath PR: bugzilla 4248 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/18/2001
    Modified: java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
    Committer's log entry: Changed one of the compare() methods in the basis library to properly compare node sets. PR: bugzilla 4242 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/18/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler XSLTC.java
    Committer's log entry: Fixed the registerAttribute() method so that it always uses the same id for an attribute name. PR: bugzilla 4243 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/18/2001
    Removed: java/src/org/apache/xalan/xsltc/compiler Param.java.orig
    Committer's log entry: Removed file Param.java.orig Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/18/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Parser.java VariableBase.java
    Committer's log entry: Changed the variable base class to allow variables to be re-defined in a different scope. PR: bugzilla 3268 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/18/2001
    Modified: java/src/org/apache/xalan/xsltc/dom MultiDOM.java
    Committer's log entry: Added a node-value iterator to the DOM multiplexer to allow for predicates in combination with the document() function. PR: bugzilla 3402 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/18/2001
    Modified: java/src/org/apache/xalan/xsltc/dom MultiDOM.java
    Committer's log entry: Fix for variables and parameters containing node sets in stylesheets that use the document() function. This fix completes the cloneIterator() method of the axis iterators returned by the DOM multiplexer. PR: bugzilla 3501 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/18/2001
    Modified: java/src/org/apache/xalan/xsltc/dom DOMImpl.java
    Committer's log entry: Added the default xml=http://www.w3.org/XML/1998/namespac namespace declaration to the root node of our internal DOM. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/19/2001
    Modified: java/src/org/apache/xalan/xsltc/dom LoadDocument.java MultiDOM.java
    Committer's log entry: A fix for determining the current working directory when loading XML documents using the document() function. The base URI (that gives you the CWD) should normally be taken from the context node, but can also be determined by the node/node-set defining the document URI. PR: bugzilla 3471 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/19/2001
    Modified: java/src/org/apache/xalan/xsltc/dom DOMImpl.java
    Committer's log entry: Gave the parent/sibling stacks in the DOM builder dynamic length. PR: bugzilla 3066 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/19/2001
    Modified: java/src/org/apache/xalan/xsltc/cmdline Compile.java
    Committer's log entry: Added a '-i' option to the command-line compiler to allow stylesheets to be passed in through stdin. The '-i' option must be used with the '-o' option to specify a translet name. PR: bugzilla 4253 Obtained from: n/a Submitted by: johnh@schemasoft.com (John Howard) Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/19/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Include.java Stylesheet.java XSLTC.java
    Committer's log entry: Cleaned up the include/import precedence code in Import and Include PR: bugzilla 2695 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/22/2001
    Modified: java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
    Committer's log entry: Fixed output formatting of some floating point numbers. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/22/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler LogicalExpr.java
    Committer's log entry: Fix for logical expressions that have combinations of not() and "and". PR: bugzilla 2351 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by tmiller@apache.org on 10/22/2001
    Modified: java/src/org/apache/xalan/xsltc/trax TransformerFactoryImpl.java
    Committer's log entry: added a empty string systemId in cases where it was set to null, slight rearrangment of StreamSource handling code as well.

  • Committed by morten@apache.org on 10/23/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Mode.java
    Removed: java/src/org/apache/xalan/xsltc/compiler header.txt
    Committer's log entry: Fix for names templates. Dashes and dots in template names are now escaped using '$dash$' and '$dot$'. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/23/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler XSLTC.java
    Committer's log entry: A fix for a recent regression. A no major change. Just a one-line if to test for a potential NPE. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/23/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler ApplyImports.java Mode.java Stylesheet.java Template.java
    Committer's log entry: A major fix for <xsl:apply-imports/>. This element was previously treated as <xsl:apply-templates/> but is now handled similar to Java's 'super()' method. Note that this is not a complete fix. The rest will come tomorrow or the day after. I just wanted to make sure that today's efforts were not lost and that they are tested overnight. PR: bugzilla 1397 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/25/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler ApplyImports.java DocumentCall.java Stylesheet.java SyntaxTreeNode.java java/src/org/apache/xalan/xsltc/dom LoadDocument.java
    Committer's log entry: Fixed the document() function so that it will load documents relative to either the currently loaded document, or if that fails, relative to the location of the original stylesheet. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/25/2001
    Modified: java/src/org/apache/xalan/xsltc/trax TransformerHandlerImpl.java TransformerImpl.java
    Committer's log entry: Fixed the TransformerHandler so that it's Transformer instance can be used separateely from the handler itself. PR: bugzilla 3873 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/25/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Import.java Include.java
    Committer's log entry: A fix for resulving relative URIs when using <xsl:include/> and <xsl:import/> through TrAX without using a URIResolver. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/25/2001
    Modified: java/src/org/apache/xalan/xsltc/trax TransformerImpl.java
    Committer's log entry: Fix for a bug that seemed to be triggered by the sequence in which Xerces' lexical handler and content handler were set. The lexical handler must be set before the content handler, otherwise Xerces will keep generating the first startElement() event over and over again. PR: bugzilla 2465 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/25/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Stylesheet.java java/src/org/apache/xalan/xsltc/dom DOMImpl.java java/src/org/apache/xalan/xsltc/runtime TextOutput.java
    Committer's log entry: Fixed the general handling of the XML namespace mapping. PR: bugzilla 4331 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/26/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler ApplyImports.java Mode.java Stylesheet.java
    Committer's log entry: A fix for setting the scope of templates for an <xsl:apply-imports/> element. This fix allows for proper "multiple inheritance" in XSLTC. PR: bugzilla 1397 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/26/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler XSLTC.java
    Committer's log entry: Fix to ensure that the order of the -o and -p command line options is not significant. PR: bugzilla 4343 Obtained from: n/a Submitted by: johnh@schemasoft.com (John Howard) Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/26/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler FunctionCall.java
    Committer's log entry: Changed our extension for calling external static Java methods to allow both the "http://xml.apache.org/xalan/xsltc/java" namespace and the "http://xml.apache.org/xslt/java" namespace (Xalan's namespace for Java function calls). PR: bugzilla 3994 Obtained from: n/a Submitted by: after numerous requests/suggestions on xalan-dev Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/29/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler BinOpExpr.java Choose.java DocumentCall.java Number.java Otherwise.java StepPattern.java Stylesheet.java VariableBase.java VariableRef.java VariableRefBase.java When.java XSLTC.java xpath.cup java/src/org/apache/xalan/xsltc/compiler/util ErrorMsg.java
    Committer's log entry: Implemented code to resolve forward references and dependencies between global variables and parameters. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/30/2001
    Added: java/src/org/apache/xalan/xsltc/compiler UnresolvedRef.java
    Committer's log entry: Missing file from last putback. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/30/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler ApplyTemplates.java AttributeSet.java AttributeValueTemplate.java BinOpExpr.java CallTemplate.java ConcatCall.java ContainsCall.java CopyOf.java DecimalFormatting.java DocumentCall.java ElementAvailableCall.java Expression.java ForEach.java FormatNumberCall.java FunctionAvailableCall.java FunctionCall.java If.java Import.java Include.java Instruction.java Key.java Output.java Param.java Parser.java ProcessingInstruction.java RelationalExpr.java StartsWithCall.java StringCall.java Stylesheet.java Template.java TopLevelElement.java TransletOutput.java UnsupportedElement.java UseAttributeSets.java ValueOf.java Variable.java VariableBase.java When.java Whitespace.java WithParam.java XslAttribute.java XslElement.java xpath.cup java/src/org/apache/xalan/xsltc/compiler/util ErrorMsg.java
    Committer's log entry: Moved all error messages from the various source files into the ErrorMsg class in the compiler/util directory. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/30/2001
    Modified: java/src/org/apache/xalan/xsltc/cmdline Compile.java Transform.java java/src/org/apache/xalan/xsltc/compiler/util ErrorMsg.java SlotAllocator.java java/src/org/apache/xalan/xsltc/dom LoadDocument.java NodeSortRecordFactory.java java/src/org/apache/xalan/xsltc/runtime AbstractTranslet.java BasisLibrary.java SAXAdapter.java TextOutput.java java/src/org/apache/xalan/xsltc/trax TemplatesImpl.java TransformerFactoryImpl.java TransformerHandlerImpl.java TransformerImpl.java XSLTCSource.java
    Added: java/src/org/apache/xalan/xsltc/compiler/util ErrorMessages.java ErrorMessages_en.java ErrorMessages_no.java
    Committer's log entry: A first stab at i18n'ing XSLTC. Error and warning messages from the compiler and TrAX are handled by the compiler/util/ErrorMsg class, while messages from the DOM and runtime/translet are handled by the Basis Library class. Only the ErrorMsg class has so far been updated to dynamically read its messages from a ResourceBundle. Bundles for British English and Norwegian are implemented. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/30/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler/util BooleanType.java ErrorMessages.java ErrorMessages_no.java ErrorMsg.java IntType.java NodeSetType.java NodeType.java RealType.java ReferenceType.java ResultTreeType.java StringType.java Type.java VoidType.java
    Committer's log entry: Code cleanup. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/30/2001
    Modified: java/src/org/apache/xalan/xsltc/dom AbsoluteIterator.java CurrentNodeListIterator.java DOMImpl.java FilterIterator.java FilteredStepIterator.java MatchingIterator.java MultiDOM.java NodeIteratorBase.java StepIterator.java UnionIterator.java
    Committer's log entry: Final code cleanup after i18n work. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/30/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler/util ErrorMessages.java
    Committer's log entry: Removed a typo in console output. Submitted by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/30/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Parser.java java/src/org/apache/xalan/xsltc/compiler/util ErrorMsg.java java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
    Committer's log entry: Added "Compiler Warning" text to output. Submitted by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/31/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Import.java Include.java StepPattern.java java/src/org/apache/xalan/xsltc/compiler/util ErrorMessages_no.java java/src/org/apache/xalan/xsltc/dom LoadDocument.java java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java java/src/org/apache/xalan/xsltc/trax TemplatesHandlerImpl.java TransformerFactoryImpl.java
    Removed: java/src/org/apache/xalan/xsltc/compiler/util ErrorMessages_en.java
    Committer's log entry: Localised the runtime/dom packages into Norwegian. This proves that the internationalisation work is completed. I also fixed a regression that was caused by the error handling being changed. PR: n/a (i18n and l10n work) Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/31/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler XSLTC.java
    Committer's log entry: Integrated a fix from John Howard for forcing forward slashes in file paths in JAR files and in manifests in JAR files. PR: bugzilla 4464 Obtained from: n/a Submitted by: John Howard (johnh@schemasoft.com) Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/31/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Parser.java Stylesheet.java
    Committer's log entry: Fix for simplified stylesheets. A namespace declaration on the root element in the stylesheet (xmlns="http://www.w3.org/TR/xhtml1/strict") caused XSLTC to try to match elements in this namespace instead of elements in the null namespace. PR: bugzilla 3664 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/31/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Stylesheet.java
    Committer's log entry: Removed a regression from yesterday ('version' attribute missing). PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/31/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Mode.java
    Committer's log entry: Removed default behaviour of text() and "*" in <xsl:apply-imports/>. (this element should not invoke built-ins). PR: bugzilla 1397 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/31/2001
    Modified: java/src/org/apache/xalan/xsltc/dom DOMImpl.java java/src/org/apache/xalan/xsltc/runtime SAXAdapter.java
    Committer's log entry: Updated the SAXAdapter used to build result tree fragments to handle comments. PR: bugzilla 4172 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/31/2001
    Modified: java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
    Committer's log entry: Fix for the XPath substring() function. PR: bugzilla 4201 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/31/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Number.java
    Committer's log entry: Removed the last putback - should never have been done. Big mistake!!! PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/31/2001
    Modified: java/src/org/apache/xalan/xsltc/dom DTDMonitor.java
    Committer's log entry: Fix for generating IDs for implied attributes. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/31/2001
    Modified: java/src/org/apache/xalan/xsltc/runtime TextOutput.java
    Committer's log entry: Enabled character escaping by default for HTML output. We are now able to generate the XSLT and XPath specs without any errors at all. PR: bugzilla 3065 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/31/2001
    Added: java/src/org/apache/xalan/xsltc/runtime ErrorMessages.java ErrorMessages_no.java
    Committer's log entry: Missing resource bundles for error messages for XSLTC's dom and runtime lib. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 10/31/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Mode.java
    Committer's log entry: Fixed pattern matching on namespace qualified wildcards, such as match="@blob:*". PR: bugzilla 2582 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/01/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Predicate.java
    Committer's log entry: Added a fix for predicates that test on node values, where the value to test agains is stored in a variable or predicate. PR: bugzilla 3501 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/01/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Parser.java
    Committer's log entry: Fix for re-definitions of variables inside templates (in different scopes). PR: bugzilla 3406 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/01/2001
    Modified: java/src/org/apache/xalan/xsltc/runtime DefaultSAXOutputHandler.java
    Committer's log entry: Potential fix for bug 3416. Will not integrate for performance reasons. Code change is commented. PR: bugzilla 3416 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/01/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Step.java
    Committer's log entry: Removed a desperately bad piece of code that caused XSLTC to misinterpret some combinations of parent location paths and predicates. PR: bugzilla 4249 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/01/2001
    Modified: java/src/org/apache/xalan/xsltc/dom NodeCounter.java
    Committer's log entry: Fix for the formatter used with the xsl:count element. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/01/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Sort.java
    Committer's log entry: Fix for sort-elements used with apply-templates elements with no select attribute. PR: bugzilla 3519 Obtained from: n/a Submitted by: morten@xml.apache.org Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/02/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler PositionCall.java java/src/org/apache/xalan/xsltc/dom NodeCounter.java SingleNodeCounter.java
    Committer's log entry: A fix for the <xsl:number> element. PR: n/a Obtained from: n/a Submitted by: morten@xml.apache.org / todd.miller@sun.com Reviewed by: morten@xml.apache.org

  • Committed by morten@apache.org on 11/05/2001
    Modified: java/src/org/apache/xalan/xsltc/compiler Sort.java java/src/org/apache/xalan/xsltc/dom NodeSortRecord.java NodeSortRecordFactory.java
    Committer's log entry: Changed the 'order' and 'data-type' attributes of the <xsl:sort> element from plain attributes to attribute value templates. This required a change not inly in the way we interpret these attributes but also in the time at which these attributes are intrepreted. Since these