cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to open an XML form

vidhya_m
Participant
0 Kudos

Hello All,

I have created an XML form. saved and generated the project.

If I try to look at the preview or if I try to open the form from the content management->news, I get an error. Could someone help me with this?

The error is as below:

Error applying XSL stylesheet to XML

com.sapportals.wcm.WcmException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Entity Reference must end on ;(:main:, row:931, col:51)

* at com.sapportals.wcm.service.pipeline.producer.AbstractProducer.createRequestData(AbstractProducer.java:110)*

* at com.sapportals.wcm.service.pipeline.producer.ProducerFromResource.getData(ProducerFromResource.java:62)*

* at com.sapportals.wcm.service.pipeline.processor.XSLTProcessor.process(XSLTProcessor.java:143)*

* at com.sapportals.wcm.service.pipeline.Pipeline.handle(Pipeline.java:269)*

* at com.sapportals.wcm.service.pipeline.XSLTPipeline.handle(XSLTPipeline.java:118)*

* at com.sapportals.wcm.service.xmlforms.transformation.Transformer.pipeIt(Transformer.java:133)*

* at com.sapportals.wcm.service.xmlforms.transformation.Transformer.transform(Transformer.java:105)*

* at com.sapportals.wcm.service.xmlforms.transformation.Transformer.transform(Transformer.java:77)*

* at com.sapportals.wcm.service.xmlforms.transformation.HtmlGenerator.getHtmlStream(HtmlGenerator.java:122)*

* at com.sapportals.wcm.service.xmlforms.transformation.Transformation.render(Transformation.java:396)*

* at com.sapportals.wcm.service.xmlforms.transformation.Transformation.renderTemplate(Transformation.java:268)*

* at com.sapportals.wcm.service.xmlforms.transformation.Transformation.renderItemOrTemplate(Transformation.java:282)*

* at com.sapportals.wcm.app.xmlforms.EditServlet.doGetAction(EditServlet.java:348)*

* at com.sapportals.wcm.app.xmlforms.XFBaseServlet.doGet(XFBaseServlet.java:241)*

* at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)*

* at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*

* at com.sapportals.wcm.app.xmlforms.XFBaseServlet.service(XFBaseServlet.java:134)*

* at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:333)*

* at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*

* at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)*

* at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)*

* at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)*

* at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)*

* at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)*

* at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)*

* at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)*

* at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)*

* at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)*

* at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)*

* at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)*

* at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)*

* at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)*

* at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)*

* at java.security.AccessController.doPrivileged(Native Method)*

* at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)*

* at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*

* at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)*

* at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*

* at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)*

* at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)*

* at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)*

* at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)*

* at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)*

* at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)*

* at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)*

* at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)*

* at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)*

* at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)*

* at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)*

* at java.security.AccessController.doPrivileged(Native Method)*

* at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)*

* at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)*

Best Regards,

Vidhya M

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vidhya!

Happend to us too. The only thing we came up with after a long time of investigation is to rebuild the form. After that, the error was gone.

Regards,

Jürgen

Answers (2)

Answers (2)

Former Member
0 Kudos

HI Vidhya,

This error is not predictable.it can happen due to many reason.

i believe u had problem only with one xml form , in this case please dont change the xlst filter properties.

as jürgen said better to create a new form instead of spending the time in investigating this error.

Regards,

Vijay.

vidhya_m
Participant
0 Kudos

Hi,

I was facing the problem only with one project. i created a new project and it worked fine.

Hence I did not change anything with the filters.

I am still not sure why the problem occured.

But since my problem is resolved, i am marking this thread as answered.

Thanks all for the support.

Best regards,

Vidhya

rudradev_devulapalli3
Active Participant
0 Kudos

Dear Vidhya,

This is the problem with the xsl file which is used by this file for showing the content in the tagrgetted format.

And also check the xslt filter that you created for the folder under which all files these files are stored.

The xslt filter is available under the following path in System Administration Tab :

Sys Administration > Sys Configuration > Content Management > Change the Mode to Adavanced > Repository Filters > xslt filters ...

Here the filter related to the folder will be available. Check the filter whether it is configured properly or not.

If you modify the filter need restart the server inorder to make the changes to take effect.

Hope this helps you.,

Regards,

Rudradev Devulapalli

Reward the points if it is helpful