You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by va...@intellequip.com on 2001/10/09 00:07:01 UTC
xerces exception
Hi guys,
we are trying to transform the following xml and xsl files(at the bottom)
into html in websphere 3.5 running on win2k using jaxp and xalan(D11).
the xml element that is causing trouble is:
<DS_SuctionSize><![CDATA[2½ "]]></DS_SuctionSize>
the exception we are getting is:
Root Error-1: The element type "DS_SuctionSize" must be terminated by the
matching end-tag "".
javax.xml.transform.TransformerException: The element type "DS_SuctionSize"
must be terminated by the matching end-tag "</DS_SuctionSize>".
at
javax.xml.transform.TransformerException.<init>(TransformerException.java:185)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:686)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1088)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1066)
at _datasheet_jsp_2._jspService(_datasheet_jsp_2.java:131)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java(Compiled
Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
Code))
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled
Code))
at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java(Compiled
Code))
at
org.apache.jasper.runtime.JspServlet.service(JspServlet.java(Compiled
Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
Code))
at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java(Compiled
Code))
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.
_service(StrictLifecycleServlet.java(Compiled Code))
at
com.ibm.servlet.engine.webapp.ServicingServletState.service(StrictLifecycleServlet.java:307)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Compiled
Code))
at
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java(Compiled
Code))
at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java(Compiled
Code))
at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java(Compiled
Code))
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled
Code))
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled
Code))
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled
Code))
at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java(Compiled
Code))
at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java(Compiled
Code))
at
com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java(Compiled
Code))
at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java(Compiled
Code))
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java(Compiled
Code))
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java(Compiled
Code))
at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java(Compiled
Code))
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java(Compiled
Code))
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:220)
at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
at java.lang.Thread.run(Thread.java:481)
---------
org.xml.sax.SAXParseException: The element type "DS_SuctionSize" must be
terminated by the matching end-tag "</DS_SuctionSize>".
at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java(Compiled
Code))
at
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:634)
at
org.apache.xerces.framework.XMLDocumentScanner.abortMarkup(XMLDocumentScanner.java:683)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java(Compiled
Code))
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java(Compiled
Code))
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:861)
at
org.apache.xml.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.java:348)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:630)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1088)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1066)
at _datasheet_jsp_2._jspService(_datasheet_jsp_2.java:131)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java(Compiled
Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
Code))
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled
Code))
at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java(Compiled
Code))
at
org.apache.jasper.runtime.JspServlet.service(JspServlet.java(Compiled
Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
Code))
at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java(Compiled
Code))
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.
_service(StrictLifecycleServlet.java(Compiled Code))
at
com.ibm.servlet.engine.webapp.ServicingServletState.service(StrictLifecycleServlet.java:307)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Compiled
Code))
at
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java(Compiled
Code))
at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java(Compiled
Code))
at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java(Compiled
Code))
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled
Code))
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled
Code))
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled
Code))
at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java(Compiled
Code))
at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java(Compiled
Code))
at
com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java(Compiled
Code))
at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java(Compiled
Code))
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java(Compiled
Code))
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java(Compiled
Code))
at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java(Compiled
Code))
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java(Compiled
Code))
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:220)
at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
at java.lang.Thread.run(Thread.java:481)
--------------------------------------------------------------------------------
Wrapped Error-2: The element type "DS_SuctionSize" must be terminated by
the matching end-tag "".
javax.servlet.ServletException: The element type "DS_SuctionSize" must be
terminated by the matching end-tag "</DS_SuctionSize>".
at javax.servlet.ServletException.<init>(ServletException.java:161)
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:392)
at _datasheet_jsp_2._jspService(_datasheet_jsp_2.java:151)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java(Compiled
Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
Code))
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled
Code))
at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java(Compiled
Code))
at
org.apache.jasper.runtime.JspServlet.service(JspServlet.java(Compiled
Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
Code))
at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java(Compiled
Code))
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.
_service(StrictLifecycleServlet.java(Compiled Code))
at
com.ibm.servlet.engine.webapp.ServicingServletState.service(StrictLifecycleServlet.java:307)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Compiled
Code))
at
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java(Compiled
Code))
at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java(Compiled
Code))
at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java(Compiled
Code))
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled
Code))
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled
Code))
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled
Code))
at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java(Compiled
Code))
at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java(Compiled
Code))
at
com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java(Compiled
Code))
at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java(Compiled
Code))
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java(Compiled
Code))
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java(Compiled
Code))
at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java(Compiled
Code))
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java(Compiled
Code))
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:220)
at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
at java.lang.Thread.run(Thread.java:481)
--------------------------------------------------------------------------------
Wrapped Error-3: Server caught unhandled exception from servlet [JSP 1.1
Processor]: The element type "DS_SuctionSize" must be terminated by the
matching end-tag "".
com.ibm.servlet.engine.webapp.UncaughtServletException: Server caught
unhandled exception from servlet [JSP 1.1 Processor]: The element type
"DS_SuctionSize" must be terminated by the matching end-tag
"</DS_SuctionSize>".
at javax.servlet.ServletException.<init>(ServletException.java:132)
at
com.ibm.websphere.servlet.error.ServletErrorReport.<init>(ServletErrorReport.java:43)
at
com.ibm.servlet.engine.webapp.WebAppErrorReport.<init>(WebAppErrorReport.java:31)
at
com.ibm.servlet.engine.webapp.UncaughtServletException.<init>(UncaughtServletException.java:11)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled
Code))
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled
Code))
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled
Code))
at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java(Compiled
Code))
at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java(Compiled
Code))
at
com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java(Compiled
Code))
at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java(Compiled
Code))
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java(Compiled
Code))
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java(Compiled
Code))
at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java(Compiled
Code))
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java(Compiled
Code))
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:220)
at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
at java.lang.Thread.run(Thread.java:481)
the xml file is:
<?xml version="1.0" encoding="UTF-8"?>
<datasheet>
<QuantityPumps>1 </QuantityPumps>
<Discount-Overall>0 </Discount-Overall>
<TempLiquidMax>0 </TempLiquidMax>
<SG>0 </SG>
<PowerDriverhp>0 hp</PowerDriverhp>
<PolesPump>0 </PolesPump>
<SFMotor>0 </SFMotor>
<SpeedPump>0 </SpeedPump>
<Stages>0 </Stages>
<VoltsSite>0 </VoltsSite>
<MaterialColumnFinal>0 </MaterialColumnFinal>
<DiaRatedDisplay>0 in</DiaRatedDisplay>
<HzUser>0 </HzUser>
<SpeedDriver>0 </SpeedDriver>
<MultiplierPump>0 </MultiplierPump>
<LiquidType>1 </LiquidType>
<PowerDriverkW>0 hp</PowerDriverkW>
<PressureMaxWorking>0 bar.a</PressureMaxWorking>
<DisplayCurrency>DEM</DisplayCurrency>
<DiscountClass/>
<Liquid/>
<ItemNumber/>
<CustomerName/>
<CustomerRef/>
<PumpSize>HGM 1</PumpSize>
<DriverDesign/>
<DS_SuctionSize><![CDATA[2½ "]]></DS_SuctionSize>
<DS_DischargeSize><![CDATA[1 "]]></DS_DischargeSize>
<DS_SuctionRating><![CDATA[ANSI300]]></DS_SuctionRating>
<DS_DischargeRating><![CDATA[ANSI600]]></DS_DischargeRating>
<DS_SuctionMach><![CDATA[ZN 2611]]></DS_SuctionMach>
<DS_DischargeMach><![CDATA[DIN 2548]]></DS_DischargeMach>
<DS_Bearing><![CDATA[Roller]]></DS_Bearing>
<DS_BearingCooling><![CDATA[Non-cooled]]></DS_BearingCooling>
<DS_DeliveryCasing><![CDATA[1.4008]]></DS_DeliveryCasing>
<DS_StageCasing><![CDATA[ST/1.4404]]></DS_StageCasing>
<DS_SuctionCover><![CDATA[1.4008]]></DS_SuctionCover>
<DS_Diffuser><![CDATA[1.4008]]></DS_Diffuser>
<DS_Shaft><![CDATA[1.4008]]></DS_Shaft>
<DS_Impeller><![CDATA[1.4008]]></DS_Impeller>
<DS_SealArrangement><![CDATA[Packing]]></DS_SealArrangement>
<DS_Auxiliary><![CDATA[ -]]></DS_Auxiliary>
<DS_SealFlushPlan><![CDATA[Internal]]></DS_SealFlushPlan>
<DS_ImpellerSuctionStage><![CDATA[1.4008]]></DS_ImpellerSuctionStage>
<DS_HousingShaftSeal><![CDATA[1.4021]]></DS_HousingShaftSeal>
<DS_ShaftSleeve><![CDATA[1.4021]]></DS_ShaftSleeve>
<DS_BalanceDrum><![CDATA[60PLN]]></DS_BalanceDrum>
<DS_TieBolt><![CDATA[1.6772]]></DS_TieBolt>
<GA_PumpLength>189 </GA_PumpLength>
<GA_StageLength>0 </GA_StageLength>
<GA_SpaceLength>0 </GA_SpaceLength>
<SC_FlangeDesign>7</SC_FlangeDesign>
<SC_SuctionFlange>8</SC_SuctionFlange>
<SC_DischargeFlange>9</SC_DischargeFlange>
<SC_Sealing>10</SC_Sealing>
<SC_Bearing>11</SC_Bearing>
<SC_MaterialColumn>12</SC_MaterialColumn>
<SC_SuctFlangeAccessories>13</SC_SuctFlangeAccessories>
<SC_LiquidTypes>14</SC_LiquidTypes>
<SC_FloatingRingShaftSeal>15</SC_FloatingRingShaftSeal>
<SC_BearingCooling>16</SC_BearingCooling>
<SC_SelectorOutput>17</SC_SelectorOutput>
</datasheet>
the xsl file is:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:stylesheet [
<!ENTITY copy "©">
<!ENTITY nbsp " ">
]>
<xsl:stylesheet version="1.0" xmlns:xsl
="http://www.w3.org/1999/XSL/Transform" xmlns:fo
="http://www.w3.org/1999/XSL/Format">
<xsl:template match="datasheet">
<html>
<title>KSB Datasheet</title>
<head>
<script language="javascript">
var aChildWindow="";
function optionsWin(Id) {
deleteCookie();
var a="optionsMain.jsp?Id="+Id;
aChildWindow =
window.open(a,"optionsWindow","width=675,height=375,resizable=1,scrollbars=yes,status=yes,left=35,top=35");
}
function checkOptionsWin(){
if (aChildWindow) {
if (!aChildWindow.closed) {
aChildWindow.focus();
}else if (aChildWindow.closed) {
history.go(0);
}
}
}
function deleteCookie() {
if (document.cookie.length > 0) {
begin = document.cookie.indexOf("currState"+"=");
begin1 = document.cookie.indexOf("currState1"+"=")
if (begin != -1) { // Note: != means "is not
equal to"
document.cookie = "currState" + "=" +";
expires=Thu, 01-Jan-70 00:00:01 GMT";
}
if (begin1 != -1) { // Note: != means "is not
equal to"
document.cookie = "currState1" + "=" +";
expires=Thu, 01-Jan-70 00:00:01 GMT";
}
}
}
</script>
<link rel="stylesheet" type="text/css" href
="css/default.css" />
<link rel="stylesheet" type="text/css" href="css/ksb.css" />
</head>
<body onFocus="checkOptionsWin()">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td></td>
<td nowrap="">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="20%" colspan="2" class="qdtnl" height="18">Customer</td>
<td width="30%" colspan="3" class="qdtnd" height="18">: <xsl:value-of
select="CustomerName"/></td>
<td width="25%" class="qdtnl" height="18">Pump</td>
<td width="25%" class="qdtndlc" height="18">: <xsl:value-of select
="PumpSize"/>/<xsl:value-of select="Stages"/></td>
</tr>
<tr>
<td width="20%" colspan="2" class="qdtnl" height="18">Customer
reference</td>
<td width="30%" colspan="3" class="qdtnd" height="18">: <xsl:value-of
select="CustomerRef"/></td>
<td width="25%" class="qdtnl" height="18">Based on curve no.</td>
<td width="25%" class="qdtndlc" height="18">: </td>
</tr>
<tr>
<td width="20%" colspan="2" class="qdtnl" height="18">Vendor
reference</td>
<td width="30%" colspan="3" class="qdtnd" height="18">: </td>
<td width="25%" class="qdtnl" height="18">Item number</td>
<td width="25%" class="qdtndlc" height="18">: <xsl:value-of select
="ItemNumber"/></td>
</tr>
<tr>
<td width="20%" colspan="2" class="qdtnl" height="18">Service</td>
<td width="30%" colspan="3" class="qdtnd" height="18">: <xsl:value-of
select="Service"/></td>
<td width="25%" class="qdtnl" height="18">Date</td>
<td width="25%" class="qdtndlc" height="18">: <xsl:value-of select
="Date"/></td>
</tr>
<tr>
<td width="50%" colspan="5" class="qdtsh" height
="20">Construction</td>
<td width="50%" colspan="3" class="qdtsh" height="20">Driver
Information</td>
</tr>
<tr>
<td width="10%" class="qdtndb" height="19">Nozzle</td>
<td width="10%" class="qdtndb" height="19"> Size (DN)</td>
<td width="10%" class="qdtndb" height="19"> Rating</td>
<td width="10%" class="qdtndb" height="19"> Machining</td>
<td width="10%" class="qdtndb" height="19"> Position</td>
<td width="25%" class="qdtnl" height="19">Power</td>
<td width="25%" class="qdtndlc" height="19">: <xsl:value-of select
="PowerDriverkW"/></td>
</tr>
<tr>
<td width="10%" class="qdtnl" height="18">Suction</td>
<td width="10%" class="qdtnl" height="18"> <xsl:value-of select
="DS_SuctionSize"/></td>
<td width="10%" class="qdtnl" height="18"> <xsl:value-of select
="DS_SuctionRating"/></td>
<td width="10%" class="qdtnl" height="18"> <xsl:value-of select
="DS_SuctionMach"/></td>
<td width="10%" class="qdtnl" height="18"> End</td>
<td width="25%" class="qdtnl" height="18">Service factor</td>
<td width="25%" class="qdtndlc" height="18">: 1.00</td>
</tr>
<tr>
<td width="10%" class="qdtndb" height="19">Discharge</td>
<td width="10%" class="qdtndb" height="19"> <xsl:value-of select
="DS_DischargeSize"/></td>
<td width="10%" class="qdtndb" height="19"> <xsl:value-of select
="DS_DischargeRating"/></td>
<td width="10%" class="qdtndb" height="19"> <xsl:value-of select
="DS_DischargeMach"/></td>
<td width="10%" class="qdtndb" height="19"> Top</td>
<td width="25%" class="qdtnl" height="19">Speed</td>
<td width="25%" class="qdtndlc" height="19">: <xsl:value-of select
="SpeedDriver"/></td>
</tr>
<tr>
<td width="25%" class="qdtnl" colspan="2" height="18">Casing
mounting</td>
<td width="25%" class="qdtnd" colspan="3" height="18">: Foot</td>
<td width="25%" class="qdtnl" height="18">Orientation / Mounting</td>
<td width="25%" class="qdtndlc" height="18">: Horizontal / Foot</td>
</tr>
<tr>
<td width="25%" class="qdtnl" colspan="2" height="18">Casing
split</td>
<td width="25%" class="qdtnd" colspan="3" height="18">: Radial</td>
<td width="25%" class="qdtnl" height="18">Driver type</td>
<td width="25%" class="qdtndlc" height="18">: IEC</td>
</tr>
<tr>
<td width="25%" class="qdtnl" colspan="2" height="18">Impeller
type</td>
<td width="25%" class="qdtnd" colspan="3" height="18">: Closed</td>
<td width="50%" class="qdtsh" height="18" colspan="3">Mechanical Seal
or Packing</td>
</tr>
<tr>
<td width="25%" class="qdtnl" colspan="2" height="18">Bearing
type</td>
<td width="25%" class="qdtnd" colspan="3" height="18">: <xsl:value-of
select="DS_Bearing"/></td>
<td width="25%" class="qdtnl" height="20"><xsl:element name
="a"><xsl:attribute name="href">javascript:void optionsWin('<xsl:value-of
select
="SC_SealingOptions"/>')</xsl:attribute>Arrangement</xsl:element></td>
<td width="25%" class="qdtndlc" height="20">: <xsl:value-of select
="DS_SealArrangement"/></td>
</tr>
<tr>
<td width="25%" class="qdtnl" colspan="2" height="18">Bearing
cooling</td>
<td width="25%" class="qdtnd" colspan="3" height="18">: <xsl:value-of
select="DS_BearingCooling"/></td>
<td width="25%" class="qdtnl" height="9">Auxiliary</td>
<td width="25%" class="qdtndlc" height="9">: <xsl:value-of select
="DS_Auxiliary"/></td>
</tr>
<tr>
<td width="25%" class="qdtnl" colspan="2" height="18"> </td>
<td width="25%" class="qdtnd" colspan="3" height="18"></td>
<td width="25%" class="qdtnl" height="9">Flush</td>
<td width="25%" class="qdtndlc" height="9">: <xsl:value-of select
="DS_SealFlushPlan"/></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%" class="qdtsh" colspan="9" height="20" style
="border-left-width: 1; border-right-width: 1; border-top-width: 1;
border-bottom: 1px solid #808080">Materials</td>
</tr>
<tr>
<td width="5%" class="qdtnl" height="18" style="border-left-width: 1;
border-right-width: 1; border-top-width: 1; border-bottom-style: solid;
border-bottom-width: 1" bordercolor="#808080">Part No</td>
<td width="20%" class="qdtnb" height="18" style="border-left-width:
1; border-right-width: 1; border-top-width: 1; border-bottom-style: solid;
border-bottom-width: 1" bordercolor="#808080">
Name</td>
<td width="25%" class="qdtnd" colspan="4" height="18" style
="border-left-width: 1; border-right-width: 1; border-top-width: 1;
border-bottom-style: solid; border-bottom-width: 1" bordercolor="
#808080">Material</td>
<td width="5%" class="qdtnl" height="18" style="border-left-width: 1;
border-right-width: 1; border-top-width: 1; border-bottom-style: solid;
border-bottom-width: 1" bordercolor="#808080">Part No</td>
<td width="20%" class="qdtnb" height="18" style="border-left-width:
1; border-right-width: 1; border-top-width: 1; border-bottom-style: solid;
border-bottom-width: 1" bordercolor="#808080">Name</td>
<td width="25%" class="qdtndlc" height="18" style="border-left-width:
1; border-right-color: #808080; border-right-width: 1; border-top-width: 1;
border-bottom-style: solid; border-bottom-width: 1" bordercolor="
#808080">Material</td>
</tr>
<tr>
<td width="5%" class="qdtnl" height="18">107</td>
<td width="20%" class="qdtnb" height="18">Delivery casing</td>
<td width="25%" class="qdtnd" colspan="4" height="18"><xsl:value-of
select="DS_DeliveryCasing"/></td>
<td width="5%" class="qdtnl" height="18">231</td>
<td width="20%" class="qdtnb" height="18">Impeller suction stage</td>
<td width="25%" class="qdtndlc" height="18"><xsl:value-of select
="DS_ImpellerSuctionStage"/></td>
</tr>
<tr>
<td width="5%" class="qdtnl" height="18">108</td>
<td width="20%" class="qdtnb" height="18">Stage casing</td>
<td width="25%" class="qdtnd" colspan="4" height="18"><xsl:value-of
select="DS_StageCasing"/></td>
<td width="5%" class="qdtnl" height="18">441</td>
<td width="20%" class="qdtnb" height="18">Housing for shaft seal</td>
<td width="25%" class="qdtndlc" height="18"><xsl:value-of select
="DS_HousingShaftSeal"/></td>
</tr>
<tr>
<td width="5%" class="qdtnl" height="18">162</td>
<td width="20%" class="qdtnb" height="18">Suction cover</td>
<td width="25%" class="qdtnd" colspan="4" height="18"><xsl:value-of
select="DS_SuctionCover"/></td>
<td width="5%" class="qdtnl" height="18">523</td>
<td width="20%" class="qdtnb" height="18">Shaft sleeve</td>
<td width="25%" class="qdtndlc" height="18"><xsl:value-of select
="DS_ShaftSleeve"/></td>
</tr>
<tr>
<td width="5%" class="qdtnl" height="18">171</td>
<td width="20%" class="qdtnb" height="18">Diffuser</td>
<td width="25%" class="qdtnd" colspan="4" height="18"><xsl:value-of
select="DS_Diffuser"/></td>
<td width="5%" class="qdtnl" height="18">603</td>
<td width="20%" class="qdtnb" height="18">Balance drum</td>
<td width="25%" class="qdtndlc" height="18"><xsl:value-of select
="DS_BalanceDrum"/></td>
</tr>
<tr>
<td width="5%" class="qdtnl" height="12">210</td>
<td width="20%" class="qdtnb" height="12">Shaft</td>
<td width="25%" class="qdtnd" colspan="4" height="12"><xsl:value-of
select="DS_Shaft"/></td>
<td width="5%" class="qdtnl" height="12">905</td>
<td width="20%" class="qdtnb" height="12">Tie bolt</td>
<td width="25%" class="qdtndlc" height="12"><xsl:value-of select
="DS_TieBolt"/></td>
</tr>
<tr>
<td width="5%" class="qdtnl" height="18">230</td>
<td width="20%" class="qdtnb" height="18">Impeller</td>
<td width="25%" class="qdtnd" colspan="4" height="18"><xsl:value-of
select="DS_Impeller"/></td>
<td width="5%" class="qdtnl" height="18"> </td>
<td width="20%" class="qdtnb" height="18"></td>
<td width="25%" class="qdtndlc" height="18"> </td>
</tr>
<tr>
<td width="100%" class="qtflhs" colspan="9" height="24">
<p align="right">©2001 IntellEquip, Inc.</p></td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
any clues, thanks in advance,
vishnu
vakkaraju@intellequip.com
Re: xerces exception
Posted by Julio Kriger <jk...@bancorio.com.ar>.
Hi,
I'm VERY new to this, so I could be wrong.
I think the problem is the " character.
Hope this clue would help you.
Saludos,
Julio
vakkaraju@intellequip.com wrote:
>
> Hi guys,
>
> we are trying to transform the following xml and xsl files(at the bottom)
> into html in websphere 3.5 running on win2k using jaxp and xalan(D11).
> the xml element that is causing trouble is:
> <DS_SuctionSize><![CDATA[2½ "]]></DS_SuctionSize>
>
> the exception we are getting is:
> Root Error-1: The element type "DS_SuctionSize" must be terminated by the
> matching end-tag "".
>
> javax.xml.transform.TransformerException: The element type "DS_SuctionSize"
> must be terminated by the matching end-tag "</DS_SuctionSize>".
> at
> javax.xml.transform.TransformerException.<init>(TransformerException.java:185)
> at
> org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:686)
> at
> org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1088)
> at
> org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1066)
> at _datasheet_jsp_2._jspService(_datasheet_jsp_2.java:131)
> at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java(Compiled
> Code))
> at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
> Code))
> at
> org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled
>
> Code))
> at
> org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java(Compiled
>
> Code))
> at
> org.apache.jasper.runtime.JspServlet.service(JspServlet.java(Compiled
> Code))
> at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
> Code))
> at
> com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java(Compiled
>
> Code))
> at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.
> _service(StrictLifecycleServlet.java(Compiled Code))
> at
> com.ibm.servlet.engine.webapp.ServicingServletState.service(StrictLifecycleServlet.java:307)
> at
> com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
> at
> com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:220)
> at
> com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
> at java.lang.Thread.run(Thread.java:481)
> ---------
> org.xml.sax.SAXParseException: The element type "DS_SuctionSize" must be
> terminated by the matching end-tag "</DS_SuctionSize>".
> at
> org.apache.xerces.framework.XMLParser.reportError(XMLParser.java(Compiled
> Code))
> at
> org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:634)
> at
> org.apache.xerces.framework.XMLDocumentScanner.abortMarkup(XMLDocumentScanner.java:683)
> at
> org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java(Compiled
>
> Code))
> at
> org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java(Compiled
>
> Code))
> at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:861)
> at
> org.apache.xml.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.java:348)
> at
> org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:630)
> at
> org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1088)
> at
> org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1066)
> at _datasheet_jsp_2._jspService(_datasheet_jsp_2.java:131)
> at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java(Compiled
> Code))
> at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
> Code))
> at
> org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled
>
> Code))
> at
> org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java(Compiled
>
> Code))
> at
> org.apache.jasper.runtime.JspServlet.service(JspServlet.java(Compiled
> Code))
> at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
> Code))
> at
> com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java(Compiled
>
> Code))
> at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.
> _service(StrictLifecycleServlet.java(Compiled Code))
> at
> com.ibm.servlet.engine.webapp.ServicingServletState.service(StrictLifecycleServlet.java:307)
> at
> com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
> at
> com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:220)
> at
> com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
> at java.lang.Thread.run(Thread.java:481)
>
> --------------------------------------------------------------------------------
> Wrapped Error-2: The element type "DS_SuctionSize" must be terminated by
> the matching end-tag "".
>
> javax.servlet.ServletException: The element type "DS_SuctionSize" must be
> terminated by the matching end-tag "</DS_SuctionSize>".
> at javax.servlet.ServletException.<init>(ServletException.java:161)
> at
> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:392)
> at _datasheet_jsp_2._jspService(_datasheet_jsp_2.java:151)
> at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java(Compiled
> Code))
> at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
> Code))
> at
> org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled
>
> Code))
> at
> org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java(Compiled
>
> Code))
> at
> org.apache.jasper.runtime.JspServlet.service(JspServlet.java(Compiled
> Code))
> at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
> Code))
> at
> com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java(Compiled
>
> Code))
> at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.
> _service(StrictLifecycleServlet.java(Compiled Code))
> at
> com.ibm.servlet.engine.webapp.ServicingServletState.service(StrictLifecycleServlet.java:307)
> at
> com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
> at
> com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:220)
> at
> com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
> at java.lang.Thread.run(Thread.java:481)
>
> --------------------------------------------------------------------------------
> Wrapped Error-3: Server caught unhandled exception from servlet [JSP 1.1
> Processor]: The element type "DS_SuctionSize" must be terminated by the
> matching end-tag "".
>
> com.ibm.servlet.engine.webapp.UncaughtServletException: Server caught
> unhandled exception from servlet [JSP 1.1 Processor]: The element type
> "DS_SuctionSize" must be terminated by the matching end-tag
> "</DS_SuctionSize>".
> at javax.servlet.ServletException.<init>(ServletException.java:132)
> at
> com.ibm.websphere.servlet.error.ServletErrorReport.<init>(ServletErrorReport.java:43)
> at
> com.ibm.servlet.engine.webapp.WebAppErrorReport.<init>(WebAppErrorReport.java:31)
> at
> com.ibm.servlet.engine.webapp.UncaughtServletException.<init>(UncaughtServletException.java:11)
> at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
> at
> com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java(Compiled
>
> Code))
> at
> com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:220)
> at
> com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
> at java.lang.Thread.run(Thread.java:481)
> the xml file is:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <datasheet>
> <QuantityPumps>1 </QuantityPumps>
> <Discount-Overall>0 </Discount-Overall>
> <TempLiquidMax>0 </TempLiquidMax>
> <SG>0 </SG>
> <PowerDriverhp>0 hp</PowerDriverhp>
> <PolesPump>0 </PolesPump>
> <SFMotor>0 </SFMotor>
> <SpeedPump>0 </SpeedPump>
> <Stages>0 </Stages>
> <VoltsSite>0 </VoltsSite>
> <MaterialColumnFinal>0 </MaterialColumnFinal>
> <DiaRatedDisplay>0 in</DiaRatedDisplay>
> <HzUser>0 </HzUser>
> <SpeedDriver>0 </SpeedDriver>
> <MultiplierPump>0 </MultiplierPump>
> <LiquidType>1 </LiquidType>
> <PowerDriverkW>0 hp</PowerDriverkW>
> <PressureMaxWorking>0 bar.a</PressureMaxWorking>
> <DisplayCurrency>DEM</DisplayCurrency>
> <DiscountClass/>
> <Liquid/>
> <ItemNumber/>
> <CustomerName/>
> <CustomerRef/>
> <PumpSize>HGM 1</PumpSize>
> <DriverDesign/>
> <DS_SuctionSize><![CDATA[2½ "]]></DS_SuctionSize>
> <DS_DischargeSize><![CDATA[1 "]]></DS_DischargeSize>
> <DS_SuctionRating><![CDATA[ANSI300]]></DS_SuctionRating>
> <DS_DischargeRating><![CDATA[ANSI600]]></DS_DischargeRating>
> <DS_SuctionMach><![CDATA[ZN 2611]]></DS_SuctionMach>
> <DS_DischargeMach><![CDATA[DIN 2548]]></DS_DischargeMach>
> <DS_Bearing><![CDATA[Roller]]></DS_Bearing>
> <DS_BearingCooling><![CDATA[Non-cooled]]></DS_BearingCooling>
> <DS_DeliveryCasing><![CDATA[1.4008]]></DS_DeliveryCasing>
> <DS_StageCasing><![CDATA[ST/1.4404]]></DS_StageCasing>
> <DS_SuctionCover><![CDATA[1.4008]]></DS_SuctionCover>
> <DS_Diffuser><![CDATA[1.4008]]></DS_Diffuser>
> <DS_Shaft><![CDATA[1.4008]]></DS_Shaft>
> <DS_Impeller><![CDATA[1.4008]]></DS_Impeller>
> <DS_SealArrangement><![CDATA[Packing]]></DS_SealArrangement>
> <DS_Auxiliary><![CDATA[ -]]></DS_Auxiliary>
> <DS_SealFlushPlan><![CDATA[Internal]]></DS_SealFlushPlan>
> <DS_ImpellerSuctionStage><![CDATA[1.4008]]></DS_ImpellerSuctionStage>
> <DS_HousingShaftSeal><![CDATA[1.4021]]></DS_HousingShaftSeal>
> <DS_ShaftSleeve><![CDATA[1.4021]]></DS_ShaftSleeve>
> <DS_BalanceDrum><![CDATA[60PLN]]></DS_BalanceDrum>
> <DS_TieBolt><![CDATA[1.6772]]></DS_TieBolt>
> <GA_PumpLength>189 </GA_PumpLength>
> <GA_StageLength>0 </GA_StageLength>
> <GA_SpaceLength>0 </GA_SpaceLength>
> <SC_FlangeDesign>7</SC_FlangeDesign>
> <SC_SuctionFlange>8</SC_SuctionFlange>
> <SC_DischargeFlange>9</SC_DischargeFlange>
> <SC_Sealing>10</SC_Sealing>
> <SC_Bearing>11</SC_Bearing>
> <SC_MaterialColumn>12</SC_MaterialColumn>
> <SC_SuctFlangeAccessories>13</SC_SuctFlangeAccessories>
> <SC_LiquidTypes>14</SC_LiquidTypes>
> <SC_FloatingRingShaftSeal>15</SC_FloatingRingShaftSeal>
> <SC_BearingCooling>16</SC_BearingCooling>
> <SC_SelectorOutput>17</SC_SelectorOutput>
> </datasheet>
>
> the xsl file is:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE xsl:stylesheet [
> <!ENTITY copy "©">
> <!ENTITY nbsp " ">
>
> ]>
> <xsl:stylesheet version="1.0" xmlns:xsl
> ="http://www.w3.org/1999/XSL/Transform" xmlns:fo
> ="http://www.w3.org/1999/XSL/Format">
> <xsl:template match="datasheet">
> <html>
> <title>KSB Datasheet</title>
> <head>
> <script language="javascript">
> var aChildWindow="";
> function optionsWin(Id) {
> deleteCookie();
> var a="optionsMain.jsp?Id="+Id;
> aChildWindow =
> window.open(a,"optionsWindow","width=675,height=375,resizable=1,scrollbars=yes,status=yes,left=35,top=35");
> }
>
> function checkOptionsWin(){
> if (aChildWindow) {
> if (!aChildWindow.closed) {
> aChildWindow.focus();
> }else if (aChildWindow.closed) {
> history.go(0);
> }
> }
> }
> function deleteCookie() {
> if (document.cookie.length > 0) {
> begin = document.cookie.indexOf("currState"+"=");
> begin1 = document.cookie.indexOf("currState1"+"=")
> if (begin != -1) { // Note: != means "is not
> equal to"
> document.cookie = "currState" + "=" +";
> expires=Thu, 01-Jan-70 00:00:01 GMT";
> }
> if (begin1 != -1) { // Note: != means "is not
> equal to"
> document.cookie = "currState1" + "=" +";
> expires=Thu, 01-Jan-70 00:00:01 GMT";
> }
> }
> }
> </script>
> <link rel="stylesheet" type="text/css" href
> ="css/default.css" />
> <link rel="stylesheet" type="text/css" href="css/ksb.css" />
> </head>
>
> <body onFocus="checkOptionsWin()">
> <table border="0" cellpadding="0" cellspacing="0" width="100%">
> <tbody>
> <tr>
> <td></td>
> <td nowrap="">
> <table border="0" width="100%" cellspacing="0" cellpadding="0">
> <tr>
> <td width="20%" colspan="2" class="qdtnl" height="18">Customer</td>
> <td width="30%" colspan="3" class="qdtnd" height="18">: <xsl:value-of
> select="CustomerName"/></td>
> <td width="25%" class="qdtnl" height="18">Pump</td>
> <td width="25%" class="qdtndlc" height="18">: <xsl:value-of select
> ="PumpSize"/>/<xsl:value-of select="Stages"/></td>
> </tr>
> <tr>
> <td width="20%" colspan="2" class="qdtnl" height="18">Customer
> reference</td>
> <td width="30%" colspan="3" class="qdtnd" height="18">: <xsl:value-of
> select="CustomerRef"/></td>
> <td width="25%" class="qdtnl" height="18">Based on curve no.</td>
> <td width="25%" class="qdtndlc" height="18">: </td>
> </tr>
> <tr>
> <td width="20%" colspan="2" class="qdtnl" height="18">Vendor
> reference</td>
> <td width="30%" colspan="3" class="qdtnd" height="18">: </td>
> <td width="25%" class="qdtnl" height="18">Item number</td>
> <td width="25%" class="qdtndlc" height="18">: <xsl:value-of select
> ="ItemNumber"/></td>
> </tr>
> <tr>
> <td width="20%" colspan="2" class="qdtnl" height="18">Service</td>
> <td width="30%" colspan="3" class="qdtnd" height="18">: <xsl:value-of
> select="Service"/></td>
> <td width="25%" class="qdtnl" height="18">Date</td>
> <td width="25%" class="qdtndlc" height="18">: <xsl:value-of select
> ="Date"/></td>
> </tr>
> <tr>
> <td width="50%" colspan="5" class="qdtsh" height
> ="20">Construction</td>
> <td width="50%" colspan="3" class="qdtsh" height="20">Driver
> Information</td>
> </tr>
> <tr>
> <td width="10%" class="qdtndb" height="19">Nozzle</td>
> <td width="10%" class="qdtndb" height="19"> Size (DN)</td>
> <td width="10%" class="qdtndb" height="19"> Rating</td>
> <td width="10%" class="qdtndb" height="19"> Machining</td>
> <td width="10%" class="qdtndb" height="19"> Position</td>
> <td width="25%" class="qdtnl" height="19">Power</td>
> <td width="25%" class="qdtndlc" height="19">: <xsl:value-of select
> ="PowerDriverkW"/></td>
> </tr>
> <tr>
> <td width="10%" class="qdtnl" height="18">Suction</td>
> <td width="10%" class="qdtnl" height="18"> <xsl:value-of select
> ="DS_SuctionSize"/></td>
> <td width="10%" class="qdtnl" height="18"> <xsl:value-of select
> ="DS_SuctionRating"/></td>
> <td width="10%" class="qdtnl" height="18"> <xsl:value-of select
> ="DS_SuctionMach"/></td>
> <td width="10%" class="qdtnl" height="18"> End</td>
> <td width="25%" class="qdtnl" height="18">Service factor</td>
> <td width="25%" class="qdtndlc" height="18">: 1.00</td>
> </tr>
> <tr>
> <td width="10%" class="qdtndb" height="19">Discharge</td>
> <td width="10%" class="qdtndb" height="19"> <xsl:value-of select
> ="DS_DischargeSize"/></td>
> <td width="10%" class="qdtndb" height="19"> <xsl:value-of select
> ="DS_DischargeRating"/></td>
> <td width="10%" class="qdtndb" height="19"> <xsl:value-of select
> ="DS_DischargeMach"/></td>
> <td width="10%" class="qdtndb" height="19"> Top</td>
> <td width="25%" class="qdtnl" height="19">Speed</td>
> <td width="25%" class="qdtndlc" height="19">: <xsl:value-of select
> ="SpeedDriver"/></td>
> </tr>
> <tr>
> <td width="25%" class="qdtnl" colspan="2" height="18">Casing
> mounting</td>
> <td width="25%" class="qdtnd" colspan="3" height="18">: Foot</td>
> <td width="25%" class="qdtnl" height="18">Orientation / Mounting</td>
> <td width="25%" class="qdtndlc" height="18">: Horizontal / Foot</td>
> </tr>
> <tr>
> <td width="25%" class="qdtnl" colspan="2" height="18">Casing
> split</td>
> <td width="25%" class="qdtnd" colspan="3" height="18">: Radial</td>
> <td width="25%" class="qdtnl" height="18">Driver type</td>
> <td width="25%" class="qdtndlc" height="18">: IEC</td>
> </tr>
> <tr>
> <td width="25%" class="qdtnl" colspan="2" height="18">Impeller
> type</td>
> <td width="25%" class="qdtnd" colspan="3" height="18">: Closed</td>
> <td width="50%" class="qdtsh" height="18" colspan="3">Mechanical Seal
> or Packing</td>
> </tr>
> <tr>
> <td width="25%" class="qdtnl" colspan="2" height="18">Bearing
> type</td>
> <td width="25%" class="qdtnd" colspan="3" height="18">: <xsl:value-of
> select="DS_Bearing"/></td>
> <td width="25%" class="qdtnl" height="20"><xsl:element name
> ="a"><xsl:attribute name="href">javascript:void optionsWin('<xsl:value-of
> select
> ="SC_SealingOptions"/>')</xsl:attribute>Arrangement</xsl:element></td>
> <td width="25%" class="qdtndlc" height="20">: <xsl:value-of select
> ="DS_SealArrangement"/></td>
> </tr>
> <tr>
> <td width="25%" class="qdtnl" colspan="2" height="18">Bearing
> cooling</td>
> <td width="25%" class="qdtnd" colspan="3" height="18">: <xsl:value-of
> select="DS_BearingCooling"/></td>
> <td width="25%" class="qdtnl" height="9">Auxiliary</td>
> <td width="25%" class="qdtndlc" height="9">: <xsl:value-of select
> ="DS_Auxiliary"/></td>
> </tr>
> <tr>
> <td width="25%" class="qdtnl" colspan="2" height="18"> </td>
> <td width="25%" class="qdtnd" colspan="3" height="18"></td>
> <td width="25%" class="qdtnl" height="9">Flush</td>
> <td width="25%" class="qdtndlc" height="9">: <xsl:value-of select
> ="DS_SealFlushPlan"/></td>
> </tr>
> </table>
> <table border="0" cellpadding="0" cellspacing="0" width="100%">
> <tr>
> <td width="100%" class="qdtsh" colspan="9" height="20" style
> ="border-left-width: 1; border-right-width: 1; border-top-width: 1;
> border-bottom: 1px solid #808080">Materials</td>
> </tr>
> <tr>
> <td width="5%" class="qdtnl" height="18" style="border-left-width: 1;
> border-right-width: 1; border-top-width: 1; border-bottom-style: solid;
> border-bottom-width: 1" bordercolor="#808080">Part No</td>
> <td width="20%" class="qdtnb" height="18" style="border-left-width:
> 1; border-right-width: 1; border-top-width: 1; border-bottom-style: solid;
> border-bottom-width: 1" bordercolor="#808080">
> Name</td>
> <td width="25%" class="qdtnd" colspan="4" height="18" style
> ="border-left-width: 1; border-right-width: 1; border-top-width: 1;
> border-bottom-style: solid; border-bottom-width: 1" bordercolor="
> #808080">Material</td>
> <td width="5%" class="qdtnl" height="18" style="border-left-width: 1;
> border-right-width: 1; border-top-width: 1; border-bottom-style: solid;
> border-bottom-width: 1" bordercolor="#808080">Part No</td>
> <td width="20%" class="qdtnb" height="18" style="border-left-width:
> 1; border-right-width: 1; border-top-width: 1; border-bottom-style: solid;
> border-bottom-width: 1" bordercolor="#808080">Name</td>
> <td width="25%" class="qdtndlc" height="18" style="border-left-width:
> 1; border-right-color: #808080; border-right-width: 1; border-top-width: 1;
> border-bottom-style: solid; border-bottom-width: 1" bordercolor="
> #808080">Material</td>
> </tr>
> <tr>
> <td width="5%" class="qdtnl" height="18">107</td>
> <td width="20%" class="qdtnb" height="18">Delivery casing</td>
> <td width="25%" class="qdtnd" colspan="4" height="18"><xsl:value-of
> select="DS_DeliveryCasing"/></td>
> <td width="5%" class="qdtnl" height="18">231</td>
> <td width="20%" class="qdtnb" height="18">Impeller suction stage</td>
> <td width="25%" class="qdtndlc" height="18"><xsl:value-of select
> ="DS_ImpellerSuctionStage"/></td>
> </tr>
> <tr>
> <td width="5%" class="qdtnl" height="18">108</td>
> <td width="20%" class="qdtnb" height="18">Stage casing</td>
> <td width="25%" class="qdtnd" colspan="4" height="18"><xsl:value-of
> select="DS_StageCasing"/></td>
> <td width="5%" class="qdtnl" height="18">441</td>
> <td width="20%" class="qdtnb" height="18">Housing for shaft seal</td>
> <td width="25%" class="qdtndlc" height="18"><xsl:value-of select
> ="DS_HousingShaftSeal"/></td>
> </tr>
> <tr>
> <td width="5%" class="qdtnl" height="18">162</td>
> <td width="20%" class="qdtnb" height="18">Suction cover</td>
> <td width="25%" class="qdtnd" colspan="4" height="18"><xsl:value-of
> select="DS_SuctionCover"/></td>
> <td width="5%" class="qdtnl" height="18">523</td>
> <td width="20%" class="qdtnb" height="18">Shaft sleeve</td>
> <td width="25%" class="qdtndlc" height="18"><xsl:value-of select
> ="DS_ShaftSleeve"/></td>
> </tr>
> <tr>
> <td width="5%" class="qdtnl" height="18">171</td>
> <td width="20%" class="qdtnb" height="18">Diffuser</td>
> <td width="25%" class="qdtnd" colspan="4" height="18"><xsl:value-of
> select="DS_Diffuser"/></td>
> <td width="5%" class="qdtnl" height="18">603</td>
> <td width="20%" class="qdtnb" height="18">Balance drum</td>
> <td width="25%" class="qdtndlc" height="18"><xsl:value-of select
> ="DS_BalanceDrum"/></td>
> </tr>
> <tr>
> <td width="5%" class="qdtnl" height="12">210</td>
> <td width="20%" class="qdtnb" height="12">Shaft</td>
> <td width="25%" class="qdtnd" colspan="4" height="12"><xsl:value-of
> select="DS_Shaft"/></td>
> <td width="5%" class="qdtnl" height="12">905</td>
> <td width="20%" class="qdtnb" height="12">Tie bolt</td>
> <td width="25%" class="qdtndlc" height="12"><xsl:value-of select
> ="DS_TieBolt"/></td>
> </tr>
> <tr>
> <td width="5%" class="qdtnl" height="18">230</td>
> <td width="20%" class="qdtnb" height="18">Impeller</td>
> <td width="25%" class="qdtnd" colspan="4" height="18"><xsl:value-of
> select="DS_Impeller"/></td>
> <td width="5%" class="qdtnl" height="18"> </td>
> <td width="20%" class="qdtnb" height="18"></td>
> <td width="25%" class="qdtndlc" height="18"> </td>
> </tr>
> <tr>
> <td width="100%" class="qtflhs" colspan="9" height="24">
> <p align="right">©2001 IntellEquip, Inc.</p></td>
> </tr>
> </table>
> </td>
> </tr>
> </tbody>
> </table>
>
> </body>
>
> </html>
> </xsl:template>
> </xsl:stylesheet>
>
> any clues, thanks in advance,
> vishnu
>
> vakkaraju@intellequip.com
************************************************************************
Visite http://www.bancorio.com.ar y tenga el Banco al alcance de su mano.
************************************************************************
NOTA DE CONFIDENCIALIDAD / CONFIDENTIALITY NOTE
Este mensaje (y sus anexos) es confidencial y puede contener informacion
(i) de propiedad exclusiva de Banco Rio de la Plata S.A. sus afiliadas o
subsidiarias; o (ii) amparada por el secreto profesional. Si usted ha
recibido este fax o e-mail por error, por favor comuniquelo
inmediatamente via fax o e-mail y tenga la amabilidad de destruirlo; no
debera copiar el mensaje ni divulgar su contenido a ninguna persona.
Muchas gracias.
This message (including attachments) is confidential. It may also
contain information that (i) is exclusively property of Banco Rio de la
Plata S.A. or its affiliates or subsidiaries; or (ii) is privileged or
otherwise legally exempt from disclosure. If you have received it by
mistake please let us know by fax or e-mail immediately and destroy or
delete it from your files or system; you should also not copy the
message nor disclose its contents to anyone. Thank you.
**************************************************************************
RE: xerces exception
Posted by Gunnlaugur Thor Briem <gt...@dimon.is>.
Hi Vishnu,
the character ½ is not valid in UTF-8. Since your document
declares UTF-8 charset encoding, all characters in it must
be encoded in UTF-8. If you want to be able to use this
character as-is in your document, then you have to declare
an encoding in which it exists. Otherwise you have to use
the corresponding character code in the charset encoding
you use, or escape it as ½
Cheers,
- Gulli
> -----Original Message-----
> From: vakkaraju@intellequip.com [mailto:vakkaraju@intellequip.com]
> Sent: 8. október 2001 22:07
> To: xalan-dev@xml.apache.org
> Cc: bvsdurga2k@yahoo.com
> Subject: xerces exception
>
>
> Hi guys,
>
> we are trying to transform the following xml and xsl files(at the bottom)
> into html in websphere 3.5 running on win2k using jaxp and xalan(D11).
> the xml element that is causing trouble is:
> <DS_SuctionSize><![CDATA[2½ "]]></DS_SuctionSize>
>
...