PQ74608: WSAS 4.03 XALAN processor package produces non-well formed XML. | |||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description The Xalan processor package with WebSphere 4.0.5/4.0.6 (Xalan 2.2.3) produces non-well-formed XML. Customer testcase included CopyXML.xsl as both the xml input and the stylesheet for translation. Command to produce error: java org.apache.xalan.xslt.Process -in CopyXML.xsl -xsl CopyXML.xsl This produce non-well formed XML: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" =""> <xsl:template match="/"> <xsl:copy-of select="."/> </xsl:template> </xsl:stylesheet>Local fix The desired output was: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:schemaLocation="http://www.w3.org/1999/XSL/Transform.xsd"> <xsl:template match="/"> <xsl:copy-of select="."/> </xsl:template> </xsl:stylesheet> LOCAL FIX: noneProblem summary **************************************************************** * USERS AFFECTED: All users of xalan.jar supplied with * * WebSphere Application Server release 4.0.3 * * and later versions. * **************************************************************** * PROBLEM DESCRIPTION: WebSphere 4.0.3 XALAN processor package * * produces non-well formed XML. * **************************************************************** * RECOMMENDATION: * **************************************************************** Below is a small example showing non-well formed output: Contents of file CopyXML.xsl : ************************************************************* <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/1999/XSL/Transform.xsd"> <xsl:template match="/"> <xsl:copy-of select="."/> </xsl:template> </xsl:stylesheet> ************************************************************ java org.apache.xalan.xslt.Process -in CopyXML.xsl -xsl CopyXML.xsl produces following non-well formed output: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" =""> <xsl:template match="/"> <xsl:copy-of select="."/> </xsl:template> </xsl:stylesheet>Problem conclusion This is a bug in xalan.jar (LotusXSL) product and is fixed in xalan.jar version 2.3.4 .Temporary fix PQ74608_eFix.jarComments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
SRLS
|
Document Information |
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ74608
IBM Group: Software Group
Modified date: Jun 9, 2003
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.