<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=911253100-31082005><FONT face=Tahoma
size=2>Hi Joe,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=911253100-31082005><FONT face=Tahoma
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=911253100-31082005><FONT face=Tahoma
size=2>That was my initial suspiscion, but I have not modified these templates
in any way. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=911253100-31082005><FONT face=Tahoma
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=911253100-31082005><FONT face=Tahoma
size=2>I am using OpenCMS version 5.0. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=911253100-31082005><FONT face=Tahoma
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=911253100-31082005><FONT face=Tahoma
size=2>I have redeployed opencms.war and retrieved a fresh copy of the template
from there and reinserted that in place of the old, but still no
effect</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=911253100-31082005><FONT face=Tahoma
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=911253100-31082005><FONT face=Tahoma
size=2>Thanks</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=911253100-31082005><FONT face=Tahoma
size=2>Martin</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Joe
Desbonnet<BR><B>Sent:</B> Tuesday, 30 August 2005 7:53 PM<BR><B>To:</B> The
OpenCms mailing list<BR><B>Subject:</B> Re: [opencms-dev] Weird XML Error
while attempting to view a HTMLfile inside OpenCMS<BR></FONT><BR></DIV>
<DIV></DIV>Seems to me that there is a problem with your template. Something
in your template is trying to parse
<BR>/system/modules/scanline/templates/template.xml as an XML file and it must
be corrupt (perhaps by being edited by hand). Make sure that file contains
well formed XML. Click on "Edit Sourcecode" to view/edit the XML.
<BR><BR>Which version of OpenCms are you using? <BR><BR>Joe.<BR><BR><BR>
<DIV><SPAN class=gmail_quote>On 8/30/05, <B class=gmail_sendername>Martin
Edge</B> <<A href="mailto:medge@dodo.com.au">medge@dodo.com.au</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hey
Guys,<BR><BR>I go to view any HTML file in OpenCMS and I am currently
getting the<BR>following error:<BR><BR>com.opencms.core.CmsException: 21 XML
parsing error. Detailed error: Cannot<BR>parse XML file
"/system/modules/scanline/templates/template.xml".
<BR>org.xml.sax.SAXParseException: The markup in the document preceding the
root<BR>element must be
well-formed..<BR>at<BR>com.opencms.template.A_CmsXmlContent.throwException(A_CmsXmlContent.java:194<BR>3)<BR>at
com.opencms.template.A_CmsXmlContent.parse (A_CmsXmlContent.java:1363)<BR>at
com.opencms.template.A_CmsXmlContent.parse(A_CmsXmlContent.java:1338)<BR>at
com.opencms.template.A_CmsXmlContent.init(A_CmsXmlContent.java:1012)<BR>at<BR>com.opencms.template.CmsXmlTemplateFile
.<init>(CmsXmlTemplateFile.java:107)<BR>at<BR>com.opencms.template.CmsXmlTemplate.getOwnTemplateFile(CmsXmlTemplate.java:3<BR>99)<BR>at
com.opencms.template.CmsXmlTemplate.getContent(CmsXmlTemplate.java:160)<BR>at
<BR>com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:171)<BR>at
com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)<BR>at<BR>com.opencms.template.cache.CmsElementCache.callCanonicalRoot
(CmsElementCache<BR>.java:149)<BR>at<BR>com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:285)<BR>at
com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)<BR>at
com.opencms.launcher.A_CmsLauncher.initlaunch (A_CmsLauncher.java:274)<BR>at
com.opencms.core.OpenCms.showResource(OpenCms.java:961)<BR>at
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)<BR>at
javax.servlet.http.HttpServlet.service(HttpServlet.java :696)<BR>at
javax.servlet.http.HttpServlet.service(HttpServlet.java:809)<BR>at<BR>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application<BR>FilterChain.java:200)<BR>at<BR>org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterCh<BR>ain.java:146)<BR>at<BR>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja<BR>va:209)<BR>at<BR>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
<BR>eNext(StandardPipeline.java:596)<BR>at<BR>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)<BR>at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)<BR>at<BR>org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.ja<BR>va:144)<BR>at<BR>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok<BR>eNext(StandardPipeline.java:596)<BR>at<BR>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
:433)<BR>at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)<BR>at<BR>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)<BR>at<BR>org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:133<BR>)<BR>at<BR>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok<BR>eNext(StandardPipeline.java:596)<BR>at<BR>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
<BR>java:118)<BR>at<BR>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok<BR>eNext(StandardPipeline.java:594)<BR>at<BR>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116
<BR>)<BR>at<BR>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok<BR>eNext(StandardPipeline.java:594)<BR>at<BR>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)<BR>at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)<BR>at<BR>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java<BR>:127)<BR>at<BR>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
<BR>eNext(StandardPipeline.java:596)<BR>at<BR>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)<BR>at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)<BR>at
org.apache.coyote.tomcat4.CoyoteAdapter.service
(CoyoteAdapter.java:152)<BR>at<BR>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)<BR>at<BR>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne<BR>ction(Http11Protocol.java
:705)<BR>at<BR>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)<BR>at<BR>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav<BR>a:683)<BR>at
java.lang.Thread.run(Thread.java :534)<BR><BR>This system has had another
administrator play with it, but I cannot see any<BR>visible damage that
would cause this error. I have had to reinstall Tomcat<BR>4.1 again, but
retained all data within the webapps folder. <BR><BR>The template it speaks
of is fine. The data within it is: c:\program<BR>files\tomcat
4.1\webapps\opencms\export\system\modules\scanline\templates\<BR><BR><?xml
version="1.0" encoding="ISO-8859-1"?> <xmltemplate>
<BR> <template><BR> <element
name="jsp"/><BR> </template><BR> <!--
Define the stylesheet for the WYSIWYG editor
--><BR><BR><stylesheet>/system/modules/scanline/resources/style.css</stylesheet>
<BR> <elementdef
name="jsp"><BR> <class>com.opencms.flex.CmsJspTemplate</class><BR> <template>../jsptemplates/template.jsp</template><BR> </elementdef>
<BR></xmltemplate><BR><BR>Any
ideas?<BR><BR>Thanks<BR>Martin<BR><BR><BR><BR><BR>_______________________________________________<BR>This
mail is send to you from the opencms-dev mailing list<BR>To change your list
options, or to unsubscribe from the list, please visit <BR><A
href="http://mail.opencms.org/mailman/listinfo/opencms-dev">http://mail.opencms.org/mailman/listinfo/opencms-dev</A><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>