[opencms-dev] XML parsing error

Stefan Fuchs info at stefan-fuchs.de
Tue Mar 27 08:09:00 CEST 2001


Hi!

I'm trying to test creating templates and I always get the
following system error:
Can someone tell me what is wrong?

[CmsException]: 21 XML parsing error. Detailed Error:
Cannot parse XML file "/content/templates/templ_1".
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:188
9)
	at com.opencms.template.A_CmsXmlContent.parse(A_CmsXmlContent.java:1286)
	at com.opencms.template.A_CmsXmlContent.init(A_CmsXmlContent.java:954)
	at
com.opencms.template.CmsXmlTemplateFile.<init>(CmsXmlTemplateFile.java:77)
	at
com.opencms.template.CmsXmlTemplate.getOwnTemplateFile(CmsXmlTemplate.java:3
82)
	at com.opencms.template.CmsXmlTemplate.getContent(CmsXmlTemplate.java:141)
	at com.opencms.template.CmsXmlTemplate.getContent(CmsXmlTemplate.java:121)
	at
com.opencms.template.CmsRootTemplate.getMasterTemplate(CmsRootTemplate.java:
125)
	at
com.opencms.launcher.A_CmsLauncher.callCanonicalRoot(A_CmsLauncher.java:94)
	at
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:167)
	at com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:207)
	at com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:272)
	at com.opencms.core.OpenCms.showResource(OpenCms.java:357)
	at com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:465)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
	at com.opencms.core.OpenCmsServlet.service(OpenCmsServlet.java:89)
	at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:317)
	at org.apache.jserv.JServConnection.run(JServConnection.java:188)
	at java.lang.Thread.run(Thread.java:484)

Thanks!

Stefan Fuchs




More information about the opencms-dev mailing list