[opencms-dev] Page cannot open
asawari pujari
asawari_bhalchandra at yahoo.com
Tue Jan 11 10:17:46 CET 2005
Hello All,
Below is the text of my mastertemplate.I have created a page with this mastertemplate as the template argument.
But...when i click on the page ,it refuses to open.
<?xml version="1.0" encoding="ISO-8859-1"?>
<XMLTEMPLATE>
<ELEMENTDEF name="contenttemplate">
<CLASS>com.opencms.template.CmsXmlTemplate</CLASS>
<TEMPLATE>../contenttemplates/contenttemplate1</TEMPLATE>
</ELEMENTDEF>
<ELEMENTDEF name="frametemplate">
<CLASS>com.opencms.template.CmsXmlTemplate</CLASS>
<TEMPLATE>../frametemplates/frametemplate1</TEMPLATE>
</ELEMENTDEF>
<TEMPLATE>
<ELEMENT name="frametemplate"></ELEMENT>
</TEMPLATE>
</XMLTEMPLATE>
The following is the exception thrown
com.opencms.core.CmsException: 21 XML parsing error. Detailed error: Cannot parse XML file "/system/modules/org.opencms.default/templates/masterTemplate". org.xml.sax.SAXParseException: The element type "META" must be terminated by the matching end-tag "</META>"..
at com.opencms.template.A_CmsXmlContent.throwException(A_CmsXmlContent.java:1943)
at com.opencms.template.A_CmsXmlContent.parse(A_CmsXmlContent.java:1363)
at com.opencms.template.A_CmsXmlContent.parse(A_CmsXmlContent.java:1338)
at com.opencms.template.A_CmsXmlContent.init(A_CmsXmlContent.java:1012)
at com.opencms.template.CmsXmlTemplateFile.<init>(CmsXmlTemplateFile.java:107)
at com.opencms.template.CmsXmlTemplate.getOwnTemplateFile(CmsXmlTemplate.java:399)
at com.opencms.template.CmsXmlTemplate.getContent(CmsXmlTemplate.java:160)
at com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:171)
at com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
at com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache.java:149)
at com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:285)
at com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)
at com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)
at com.opencms.core.OpenCms.showResource(OpenCms.java:961)
at com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
at java.lang.Thread.run(Thread.java:534)
I cannot find any META tag in my mastertemplate.
Kindly help.
Regards,
Asawari Pujari
---------------------------------
Do you Yahoo!?
The all-new My Yahoo! � What will yours do?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050111/dd73f9cc/attachment.htm>
More information about the opencms-dev
mailing list