<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16825" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=671493122-17052009><FONT face=Arial
color=#0000ff size=2>Hi Frank</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=671493122-17052009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=671493122-17052009><FONT face=Arial
color=#0000ff size=2>You will have to restart your server (e.g. Tomcat) after
adding new resource types before you can create an instance of the new
resource type.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=671493122-17052009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=671493122-17052009><FONT face=Arial
color=#0000ff size=2>If this does not solve your problem, t</FONT></SPAN><SPAN
class=671493122-17052009><FONT face=Arial color=#0000ff size=2>ake a look at
your XSD files and check for errors. There's really no way to tell from the
exception stack trace exactly where the error is, but at line four from the
top, you see a reference to the CmsXmlContentDefinition
class.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=671493122-17052009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=671493122-17052009><FONT face=Arial
color=#0000ff size=2>Check that your link paths to other XSDs are correct, that
you've followed the naming rules (the plural "s" where required, and so
on), and that your element type names are correct.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=671493122-17052009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=671493122-17052009><FONT face=Arial
color=#0000ff size=2>I've encountered this exception several times, most
times the problem has been a typo in one or more of my XSD
files.</FONT> </SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=671493122-17052009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=671493122-17052009><FONT face=Arial
color=#0000ff size=2>Hope this helps.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=671493122-17052009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=671493122-17052009><FONT face=Arial
color=#0000ff size=2>Cheers,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=671493122-17052009><FONT face=Arial
color=#0000ff size=2>-Paul</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=671493122-17052009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 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>Frank
Pertack<BR><B>Sent:</B> 17. mai 2009 20:37<BR><B>To:</B>
opencms-dev@opencms.org<BR><B>Subject:</B> [opencms-dev] error on several
structured content items in Workplace Explorer (e.g.
article)<BR></FONT><BR></DIV>
<DIV></DIV>
<P>hello,<BR><BR>I am trying to build a page with the "structured content"
("strukturierter Inhalt") in OpenCms 7.05.<BR>After the Input of the filename
(create a new file) and pressing "continue >>" I get the following
error:<BR><BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<TABLE border=1>
<TBODY>
<TR vAlign=top>
<TD vAlign=center width=257><FONT size=1><BR></FONT>
<TABLE border=1>
<TBODY>
<TR vAlign=top>
<TD vAlign=center width=253><FONT size=1><BR></FONT>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR vAlign=top>
<TD vAlign=center width=238><B><FONT face=Verdana
size=2>Error</FONT></B><FONT face=Verdana
size=2>Unmarshalling XML document failed.<BR>Reason: null
Nested exception: null
</FONT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR><TT><FONT
size=4>org.opencms.xml.CmsXmlException: Unmarshalling XML document
failed.<BR>at
org.opencms.xml.CmsXmlUtils.unmarshalHelper(CmsXmlUtils.java:654)<BR>at
org.opencms.xml.CmsXmlUtils.unmarshalHelper(CmsXmlUtils.java:617)<BR>at
org.opencms.xml.CmsXmlContentDefinition.unmarshal(CmsXmlContentDefinition.java:252)<BR>at
org.opencms.file.types.CmsResourceTypeXmlContent.createResource(CmsResourceTypeXmlContent.java:138)<BR>at
org.opencms.file.CmsObject.createResource(CmsObject.java:733)<BR>at
org.opencms.workplace.explorer.CmsNewResourceXmlContent.actionCreateResource(CmsNewResourceXmlContent.java:180)<BR>at
org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.commons.newresource_005fxmlcontent_jsp._jspService(newresource_005fxmlcontent_jsp.java:77)<BR>at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)<BR>at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<BR>at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)<BR>at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)<BR>at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)<BR>at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<BR>at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<BR>at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<BR>at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)<BR>at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)<BR>at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)<BR>at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)<BR>at
org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:1168)<BR>at
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:964)<BR>at
org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1498)<BR>at
org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:152)<BR>at
org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:164)<BR>at
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)<BR>at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<BR>at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<BR>at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<BR>at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)<BR>at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<BR>at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)<BR>at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<BR>at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<BR>at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)<BR>at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)<BR>at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)<BR>at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)<BR>at
java.lang.Thread.run(Unknown Source)<BR>Caused by:
org.dom4j.DocumentException: null Nested exception: null<BR>at
org.dom4j.io.SAXReader.read(SAXReader.java:484)<BR>at
org.opencms.xml.CmsXmlUtils.unmarshalHelper(CmsXmlUtils.java:652)<BR>... 37
more<BR></FONT></TT>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR><TT><FONT
size=4>Does anybody have an idea why I get that error and what I have to do to
get rid of that?</FONT></TT><BR><TT><FONT size=4>I didn't occur in the
beginning, before I adapted the example
"opencms-sausage"-website.</FONT></TT><BR><BR><TT><FONT size=4>Thank you in
advance.</FONT></TT><BR><BR><TT><FONT size=4>Frank
Pertack</FONT></TT><BR><BR>Frank Pertack<BR><BR><BR>Vater Solution
GmbH<BR>Liebigstraße 26<BR>24145 Kiel<BR><BR>Telefon: +49 431
20084-210<BR>Telefax: +49 431 20084-222<BR>Mobil: +49 151 16353519<BR>mailto:
fpertack@vater-gruppe.de<BR><A
href="http://www.vater-gruppe.de">http://www.vater-gruppe.de</A><BR><BR>Amtsgericht
Kiel, HRB 6403 <BR>Geschäftsführer:<BR>Klaus-Hinrich Vater<BR>Michael
Wiese<BR>-----<BR>Diese Email enthält ggfs. vertrauliche und/oder rechtlich
geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
Email irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Email. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Email sind nicht gestattet.</P></BLOCKQUOTE></BODY></HTML>