Hi,
I've just upgraded to uP3.0.2 from 3.0.1 and got this exception for the
Channel Manager channel:
org.jasig.portal.GeneralRenderingException: XSLT:getTemplates():
SAXParseExeption: The element type "xsl:if" must be terminated by the matching
end-tag "</xsl:if>". line:1455 col:15
at org.jasig.portal.utils.XSLT.getTemplates(XSLT.java:412)
at org.jasig.portal.utils.XSLT.getTransformer(XSLT.java:460)
at org.jasig.portal.utils.XSLT.transform(XSLT.java:280)
at
org.jasig.portal.channels.CChannelManager.renderXML(CChannelManager.java:174)
at
org.jasig.portal.ChannelRenderer$Worker.execute(ChannelRenderer.java:621)
at org.jasig.portal.utils.threading.BaseTask.run(BaseTask.java:27)
at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:301)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at
org.springframework.orm.jpa.JpaInterceptor.invoke(JpaInterceptor.java:96)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at org.jasig.portal.$Proxy64.run(Unknown Source)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.xml.sax.SAXParseException: The element type "xsl:if" must be
terminated by the matching end-tag "</xsl:if>".
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.jasig.portal.utils.XSLT.getTemplates(XSLT.java:399)
... 21 more
Here is the code in question in
uportal-war/src/main/resources/org/jasig/portal/channels/CChannelManager/html.xsl:
edalquist
44028
<http://developer.ja-sig.org/source/browse/jasigsvn/uPortal/trunk/uportal-war/src/main/resources/org/jasig/portal/channels/CChannelManager/html.xsl?r=44028#l1425>
1425
<http://developer.ja-sig.org/source/browse/jasigsvn/uPortal/tags/rel-3-0-2-GA/uportal-war/src/main/resources/org/jasig/portal/channels/CChannelManager/html.xsl?r=44028#l1425>
<input type="checkbox" name="{../../../name}" value="{.}">
1426
<http://developer.ja-sig.org/source/browse/jasigsvn/uPortal/tags/rel-3-0-2-GA/uportal-war/src/main/resources/org/jasig/portal/channels/CChannelManager/html.xsl?r=44028#l1426>
<xsl:if test=". = ../defaultValue[1] or 'true' =
/manageChannels/channelDef/params/step[$stepID]/channel/paramet...@name =
$name]/@value">
jet
30511
<http://developer.ja-sig.org/source/browse/jasigsvn/up2/trunk/webpages/stylesheets/org/jasig/portal/channels/CChannelManager/html.xsl?r=30511#l1427>
1427
<http://developer.ja-sig.org/source/browse/jasigsvn/uPortal/tags/rel-3-0-2-GA/uportal-war/src/main/resources/org/jasig/portal/channels/CChannelManager/html.xsl?r=44028#l1427>
<xsl:if test=". = ../defaultValue[1]">
jet
30453
<http://developer.ja-sig.org/source/browse/jasigsvn/up2/trunk/webpages/stylesheets/org/jasig/portal/channels/CChannelManager/html.xsl?r=30453#l1428>
1428
<http://developer.ja-sig.org/source/browse/jasigsvn/uPortal/tags/rel-3-0-2-GA/uportal-war/src/main/resources/org/jasig/portal/channels/CChannelManager/html.xsl?r=44028#l1428>
<xsl:attribute name="checked">checked</xsl:attribute>
1429
<http://developer.ja-sig.org/source/browse/jasigsvn/uPortal/tags/rel-3-0-2-GA/uportal-war/src/main/resources/org/jasig/portal/channels/CChannelManager/html.xsl?r=44028#l1429>
</xsl:if>
1430
<http://developer.ja-sig.org/source/browse/jasigsvn/uPortal/tags/rel-3-0-2-GA/uportal-war/src/main/resources/org/jasig/portal/channels/CChannelManager/html.xsl?r=44028#l1430>
</input>
<http://developer.ja-sig.org/source/browse/jasigsvn/uPortal/tags/rel-3-0-2-GA/uportal-war/src/main/resources/org/jasig/portal/channels/CChannelManager/html.xsl?r=44028#l1431>
Line 1426 was added as the result of the following change, was it meant
to replace line 1427?
Created: 2008-07-29 11:20:08 -0400 (5 months 7 days ago) | Author:
edalquist | Changeset: 44028
<http://developer.ja-sig.org/source/changelog/jasigsvn?cs=44028>
NOJIRA fix bug with rendering checkboxes from CPDs
Thanks,
Tuy.
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/uportal-dev