logolineright
bottomhttp://xml.apache.org/http://www.apache.org/http://www.w3.org/
join
Home
separator
Xalan-C++ 1.9
separator
Overview
What's New
separator
Download
Building
Installation
separator
Sample Apps
Command Line
Usage Patterns
separator
Programming
Extensions
Extensions Library
API Reference
separator
FAQs
separator
Bugs
Testing
close

Release notes for Xalan-C++ version 1.9

Status
 
Changes for Xalan-C++ version 1.9
 

Major updates since version 1.8 include:

  • Pluggable Memory Management. This feature allows applications to maintain precise control over memory allocations. This will allow users, with knowledge of their application's characteristics, to provide a more efficient allocation method than the general purpose procedures provided by the system. for more information on how to use this feature, please see the Pluggable Memory Management section of the Programming page.
  • Improved stability on the execution of large stylesheets and XML documents. Because the current implementation relies on function recursion, certain stylesheets/input documents may cause the program stack to overflow and cause the application to fail. It also may inhibit executing stylesheets that are heavily dependent on recursive functions. This feature will prevent these types of failure.
  • Provided a global option to pool all text node strings. This feature allows developers to set a flag to determine if a parsed source tree will pool the values of all of the text nodes in the XML document. By doing so, this can result in a significant reduction in memory usage, particularly if there are a lot of repeated values in text nodes. Please see the class descriptions for XalanSourceTreeDocument, XalanDefaultParsedSource, and XalanTransformer in the API Reference section for more information.
  • Added support for Microsoft Studio .NET V7.1. Project files for Microsoft Studio .NET V7.1 have been provided under the directory xml-xalan\c\Projects\Win32\VC7.1.
  • Upgrade from Xerces-C 2.5 to Xerces-C 2.6.
  • Bugs fixed in this release.

Bugs Fixed in this Release
 

The bugs fixed in this release include:

  • Fixed bug in binary operators. Failed to detect a missing term. (XPathProcessorImpl.cpp, XPathProcessorImpl.hpp)
  • Fixed threadsafe issues in XalanEXSLTDateTime. (Bugzilla 28818) (XalanEXSLTDateTime.cpp)
  • Fixed incorrect linefeed serialization after an XML declaration. (various files)
  • Fixed behaviour of xsl:number to conform to XSLT erratum E24 (See http://www.w3.org/1999/11/REC-xslt-19991116-errata/). (ElemNumber.cpp)
  • Fixed memory corruption when encoding of the output is set to UTF-16. (Jira XALANC-438) (FormatterToXML_UTF16.cpp)
  • Fixed InvalidStackContextException exception. endExecuteChildren() not being called. (ElemVariable.cpp, ElemWithParam.cpp)
  • Fixed problem with global variables. (Bugzilla 27959) (VariablesStack.cpp)
  • Fixed bug in capacity(). (XalanDOMString.hpp)
  • Fixed bug in creation/deletion of key maps (key-value/node-list pairs) for tree-fragments. (Jira XALANC-425) (StylesheetExecutionContextDefault.cpp)
  • Fixed leakage of DOMStringPrintWriter instances. (StylesheetExecutionContextDefault.cpp)
  • Fixed bug in reset(). (StylesheetExecutionContextDefault.hpp)
  • Fixed bug in with the omit-xml-declaration attribute (xsl:output). (Bugzilla 29545) (FormatterToXMLBase.cpp)
  • Calling a named template should not change the current template rule. (Bugzilla 27841) (various files)
  • Fixed conflict resolution problem for unique attributes with the same qname. (Bugzilla 23955) (ElemAttribute.cpp)
  • Fixed problem with out-of-scope xsl:variable's not being detected in certain circumstances. (Bugzilla 29079) (ElemTemplateElement.cpp)
  • Fixed bug in exslt extension function date-time(). Wrong GMT offsets were being reported. (Bugzilla 27365) (XalanEXSLTDateTime.cpp)
  • Fixed bug in XalanSourceTreeElementNA::getLocalName(). (Bugzilla 27982) (XalanSourceTreeElementNA.cpp)
  • Fixed bug in XalanTransformer::initialize() (Bugzilla 22350) (XalanTransformer.cpp)
  • Cleaned up whitespace stripping. Fixed bug with whitespace stripping and xsl:copy-of. (various files)
  • Cleaned up embedded string literals and unnecessary copies. (various files)
  • Removed createDOMFactory() call, because we cannot truly support it. (XMLParserLiaison.hpp)
  • Cleaned up minor spelling problems in XalanMsg_en_US.xlf. (Bugzilla 30750)
  • Fixed compilation problems with cygwin, gcc 2.95.3 and Tru64.
  • Fixed compilation problems with HP aCC v3.52. (Bugzilla 29983)
  • Fixed compilation problem with gcc 3.4.0 (Jira XALANC-423)
  • Fixed Win64 linkage problem. Do not link with the Intel's default libmmd.lib library.
  • Fixed problem with INSTALL_{PROGRAM->DATA}. (Bugzilla 27404)
  • Build fails if no ICUROOT is set. (Jira XALANC-422)
  • FreeBSD configure changes for threading. (Bugzilla 27406)
  • Update runConfigure to include new HP Itanium platform (hp-11-ia64). (Bugzilla 28452)
  • Fixed AIX packaging bug. ICU on AIX now produces archives instead of shared objects.
  • Fixed bug in CompileStylesheet.dsp that prevented building the sample on Win32.
  • Fixed spelling errors in usagepatterns.xml. (JIRA XALANC-428)
  • Fixed bug involving exporting the Harness symbols in Win64 with ICU dll. (AllInOneWithICU.dsp)
  • Fixed bug to enable build on HP-UX/aCC - workaround symbol length limit.(Makefile.incl.in)
  • Enabled build of PerfT/Performance tests as well as direct conf's intermediate build files to the correct location. (conf.vcproj, PerfT.vcproj, perf.vcproj)
  • Added status value error checking and included an example of the ICU memory management feature by altering SimpleTransform sample.
  • Updated Makefiles for zOS build (Makefile.in)
  • Corrected initialization of XalanMap with XalanVector as a data value
  • Modified XalanFileUtility.cpp by commenting out system call to bring up results html file in a browser.
  • Improved XalanMap implementation (XalanMap.hpp)
  • Right configuation for XalanVector , preventing memory allocation from the global heap (XalanMap.hpp)
  • Avoid trying to resolve against a base URI which is relative. (XalanParsedURI.cpp)
  • Simplified boolean expressions. (XalanParsedURI.hpp)
  • Use std::vector instead of XalanVector, since we cannot use the former until Xerces-C is initialized. (process.cpp)
  • Added code to ensured that ICU cleanup code is called. (process.cpp)
  • Fixed bug for providing backward API compatibility for Formatter* classes. (various files)
  • Fixed build bug for Solaris platform. (XPath.cpp)
  • Fixed bug in iterative stylesheet processing. Execution was corrupted if <xsl:for-each> contained a single <xsl:call-template> and the invoked template was not the last template in the stylesheet. (ElemForEach.cpp)
  • Fixed bug where incorrect template was chosen when checking for conflicts. (Stylesheet.cpp)
  • Fixed bug to set proper document source URI (fixes testXSLT when inputs are specified with a relative path). (XSLTEngineImpl.cpp)
  • Fixed bug where XML identifier was getting clobbered. (XSLTEngineImpl.cpp)
  • Provided an option to pool all text node strings. (various files)
  • Updated docs in anticipation of 1.9 release (various files)

Bug reporting
 

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

NoteBefore you can enter your first bug report, you must submit your email address to JIRA 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-C++ to use
 

Xalan-C++ version 1.9 has been tested with Xerces-C++ version 2.6.0.

For information about including the Xerces-C++ libraries on the path, see Setting up the system path.

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.


To-do tasks for future Xalan-C++ releases
 
  • XML 1.1 and Namespaces in XML 1.1 Support
  • Performance improvements
  • Add support for extension elements

  • Support for XSLT 2.0 and XPath 2.0

  • Fix any conformance bugs we or our users find

Watch the Xalan Development Mailing List for more information and for ideas about how you can get involved.


Getting in Touch
 

Your feedback is more than welcome. Offers of help are even more so! Perhaps you would like to contribute to the ongoing development, testing, or documentation of Xalan-C++.

Please email your comments, questions, suggestions, bug reports, and offers to help to Xalan Development Mailing List.


Cumulative history of software changes
 

The following sections list the changes in each release since Xalan-C++ version 0.40.0.

Changes for Xalan-C++ version 1.8
 

Major updates since version 1.7 include:

  • Upgrade from Xerces-C 2.4 to Xerces-C 2.5.
  • Provide build support for Cygwin and HP-UX 11.00 on Itanium. Although binary distributions are not provided for the Cygwin environment and HP-UX 11.00 on Itanium platform, the build configuration files provided in the source distribution can be used to build on these platforms.
  • Project files for supporting Microsoft Visual Studio .NET. Although a binary distribution for the Microsoft Visual Studio .NET is not provided in this release, Visual Studio solution files are provided in the Windows source distribution for those who choose to build on this platform. Please see "Step for doing a Windows Build with Visual Studio .NET" for details.
  • Additional changes to Xerces Deprecated DOM support. This is another step towards phasing out the support for Xerces Deprecated DOM. Users are encouraged to modify their applications to interface with the new Xerces DOM support. For more information on the effects of these changes to your build environment, please see "Steps for doing a Build with Xerces Deprecated DOM Support"
  • Implemented optimizations to significantly improve the throughput of the ICU-enabled "format-number" function.
  • Changes in the XML Serializer. The serializer will no longer put a newline after the xml header tag unless indent="yes". See bugzilla 24304 and 28386.

Changes for Xalan-C++ version 1.7
 

Major updates since version 1.7 include:

  • Message Localization Support. This feature enables Xalan-C++ to issue diagnostic messages in languages other than the default language (English). In order to utilize this feature, the user must provide a version of the Xalan-C++ message catalog that has been translated in their language of choice. For more information on how to exploit this feature, please see Steps for doing a Build with Message Localization Support.
  • Build, packaging, and installation improvements. Changes to the Xalan-C++ makefiles now allow for a more flexible build, packaging, and install process. Each step in a typical build process can be invoked by specifying the appropriate target, for example to build the executable, and/or samples, or install the build at user-specified location. For more information on building Xalan-C++, please see Steps for doing a Unix build .
  • Deprecated DOM Support. The XercesBridge classes have been marked deprecated and moved into an exclusive directory within the xalanc/XercesParserLiaison directory called 'Deprecated'. If your application is dependent on these classes to interface with the deprecated Xerces DOM you must alter your include directive with the 'Deprecated' directory. For example:

    #include "xalanc/XercesParserLiaison/XercesDocumentBridge.hpp"

    should be changed to:

    #include "xalanc/XercesParserLiaison/Deprecated/XercesDocumentBridge.hpp"

  • Upgrade from Xerces-C 2.3 to Xerces-C 2.4.
  • Porting of ThreadSafe example to UNIX platform.
  • Implementation of EXSLT string extension functions encode-uri() and decode-uri().
  • Implementation of EXSLT dynamic extension function evaluate().
  • Implementation of EXSLT date-time extension function date-time().

Changes for Xalan-C++ version 1.6
 

Major updates since version 1.5 include:

  • Directory "sane include" reorganization. A new sub-directory called 'xalanc' has been added to the src directory (for source distribution packages) and include directory (for binary distribution packages). New source files which include Xalan headers will need to be modified to include the 'xalanc' prefix in the header path. For example:

    #include <XPath/XObject.hpp>

    will need to be changed to

    #include <xalanc/XPath/XObject.hpp>

    For Windows users, all project files have been modified to reflect this change. For UNIX users, please see Steps for doing a UNIX build for migration considerations.

Changes for Xalan-C++ version 1.5
 

Major updates since version 1.4 include:

  • For Windows, Xalan-C++ is now packaged as a single DLL. The project files to build separate DLLs are now deprecated and will not be maintained.
  • Support for Xerces-C++ DOMNode classes.
  • New sample TransformToXercesDOM that illustrates how to perform a transform resulting in a Xerces-C++ DOMDocument
  • Usage of the Xerces-C++ C++ namespace and creation of Xalan-C++ namespace.

Changes for Xalan-C++ version 1.4
 

Major updates since version 1.3 include:


Changes for Xalan-C++ version 1.3
 

Major updates since version 1.2 include:

  • A new and simplified command-line utility: the Xalan executable
  • New XPath samples exploiting the XPathEvaluator C API and illustrating serialization of an XPath result set: SimpleXPathCAPI and SerializeNodeSet
  • A new wrapper class that lets you pass in a Xerces DOM as input for a transformation
  • Bug fixes.
  • Changed XPathException to XalanXPathException because of a clash with a new Xerces class of the same name.

Changes for Xalan-C++ version 1.2
 

Major updates since version 1.1 include:


Changes for Xalan-C++ version 1.1
 

In addition to adding to the list of platforms on which Xalan-C++ builds, our focus for this release has been on bug fixes, performance enhancements, and providing a simplified C++ and C API for performing standard transformations. Major updates since version 1.0 include:

  • Added HP-UX 11 build.

  • Added Solaris build.

  • Greatly improved performance.

  • Improved conformance to the XSLT specification.

  • Simplified the C++ API and provided a C API for performing standard transformations with the XalanTransformer class and associated header files.

  • Added sample illustrating use of XalanTransformer and the new C++ API: XalanTransform.

  • Added sample illustrating use of XalanTransformer, the new C API, and how to run Xalan-C++ and perform transformations on an Apache Web server: ApacheModuleXSLT.

  • Added the StreamTransform sample.

  • Eliminated dependencies on non-public Xerces headers; accordingly can now build with the Xerces distribution.

  • Fixed namespace mapping and inheritance problems.

  • Fixed failure of <copy-of ...> to include CRLFs (if any) in the result.

  • Fixed bug sorting in reverse document order based on position.

  • Fixed <xsl:number> bug with use of letter-value="traditional" for "classical" Greek numbering.

  • Fixed use of <xsl:fallback> within a top-level extension function.

  • Fixed HTML output method bug. The <HEAD> element was not including a <META> tag with the encoding.

  • Fixed bug using key() in match patterns to find descendants.

  • Fixed bug using the id() function in complex match patterns.

  • Fixed problem outputting multiple single-character CDATA sections.

  • Fixed problem outputting whitespace characters.

  • Fixed problem transforming from a stream on UNIX platforms.

  • Fixed a bug with the document() function, which was generating a syntax error if called in the following manner: document(string,/).

  • Fixed named templates bug accepting global parameter when called with a parameter of the same name that the named template does not recognize.

Changes for Xalan-C++ version 1.0
 

Major updates since version 0.40.0 include:

  • Full support for namespace handling

  • Full implementation of the format-number() function and support for the decimal-format element

  • Integration with the International Components for Unicode (ICU) for number formatting, sorting, and output encoding

  • Support for the exclude-result-prefixes attribute

  • Support for the output encoding attribute

Changes for Xalan-C++ version 0.40.0
 

Major updates since version 0.30.0 include:

  • Permitting OS file names (as well as URLs) as command-line arguments with TestXSLT

  • Stricter compliance for HTML and XML output

  • Improved handling of relative URI's

  • Improved handling of Import and Include

  • Better namespace handling (although there are still problems here)

  • Support for Document() function

  • Support for XPath predicates

  • Better handling of parameters to stylesheet and templates

  • Full implementation of axes ( with the exception of namespace:: )





dot
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.