DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20276>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20276

Build instricutions for ICU-enabled Xalan.exe/testXSLT.exe out of date

           Summary: Build instricutions for ICU-enabled
                    Xalan.exe/testXSLT.exe out of date
           Product: XalanC
           Version: 1.5
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: XalanC
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The current the build instructions for ICU-enabled Xalan/testXSLT  provided on 
the Web and in the package for Xalan 1.5 are out-of-date.

Following the instructions "Rebuilding Xalan and/or TestXSLT in Windows" 
under "Enabling ICU support for the Xalan executable and/or testXSLT" 
(http://xml.apache.org/xalan-c/commandline.html#icu) will not work with latest 
version of Xalan. 

I believe these instructions are legacy from pre-1.4 when the Windows release 
consisted of many seperate projects/dlls.  For example, adding a 
XalanTransformer dependency on ICUBridge will not work since the XalanExe 
project depends on 'AllInOne' project which has no dependents.

1. For the case of the XalanExe project I believe the correct instructions 
would be to simply add a dependency on AllInOneWithICU and remove the default 
dependency on the AllInOne project.

2. For the TestXSLT project, the dependency should be changed (as above) to 
AllInOneWithICU and the '#define XALAN_USE_ICU' should be uncommented in 
process.cpp (Or XALAN_USE_ICU should be added to the preprocessor definitions 
in the project settings).

Uncommenting the '#define XALAN_USE_ICU' in XalanTransformer.cpp is now 
redundant since the section will be enabled when compiled as part of the 
AllInOneWithICU project.

The source for this documentation is:
/xml-xalan/c/xdocs/sources/xalan/commandline.xml

Reply via email to