<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<html><head><meta name="Generator" content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Text bubliny Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.StylE-mailovZprvy18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.StylE-mailovZprvy19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.StylE-mailovZprvy20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.TextbublinyChar
        {mso-style-name:"Text bubliny Char";
        mso-style-priority:99;
        mso-style-link:"Text bubliny";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:2022317072;
        mso-list-type:hybrid;
        mso-list-template-ids:-356722248 -355718974 67895299 67895301 67895297 67895299 67895301 67895297 67895299 67895301;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-font-family:Calibri;}
@list l0:level2
        {mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level4
        {mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level7
        {mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style></head><body lang="CS" link="blue" vlink="purple"><div class="WordSection1"><p class="MsoNormal"><span style="color:#1f497d">Hi Matthias,</span></p><p class="MsoNormal"><span style="color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="color:#1f497d">at first sight mistake can be in the file myModule.xsd at the line 18:</span></p><p class="MsoNormal"><span style="color:#1f497d"> </span></p><p class="MsoNormal"><span style="color:#1f497d"><xsd:element name="commonElements" type="OpenCmscommonElements" /></span></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span></p><p class="MsoNormal"><span style="color:#1f497d">You are trying to insert element with the bad name. Try to repair it:</span></p><p class="MsoNormal"><span style="color:#1f497d"><xsd:element name="commonElements" type="<b>OpenCmsCommonElements</b>" /></span></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span></p><p class="MsoNormal"><span style="color:#1f497d">But i´m not sure, i haven´t tried it.</span></p><p class="MsoNormal"><span style="color:#1f497d"> </span></p><div>
<p class="MsoNormal"><span style="color:#1f497d">--<br>Regards<br>Filip Kratochvil<br>------------------------------------------------<br>NELASOFT Technologies, s.r.o.<br>Mob: </span><a href="tel:%2B420%20777%20366%20998">+420 777 366 998</a><span style="color:#1f497d"><br>
E-mail: </span><a href="mailto:filip.kratochvil@nelasoft.cz">filip.kratochvil@nelasoft.cz</a><span style="color:#1f497d"><br>Web: </span><a href="http://www.nelasoft.cz" target="_blank">www.nelasoft.cz</a><span style="color:#1f497d"></span></p>
</div><p class="MsoNormal"><span style="color:#1f497d"> </span></p><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a> [<a href="mailto:opencms-dev-bounces@opencms.org">mailto:opencms-dev-bounces@opencms.org</a>] <b>On Behalf Of </b>Griselle Matthias<br>
<b>Sent:</b> Thursday, September 26, 2013 3:31 PM<br><b>To:</b> <a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><br><b>Subject:</b> [opencms-dev] How to kill OpenCms 8.5.2 ! (Bug ?)</span></p></div></div>
<p class="MsoNormal"> </p><p class="MsoNormal"><span lang="EN-US">Hi everyone, </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">If you want to totally destroy OpenCMS, here is how to do : </span></p>
<p class="MsoListParagraph" style><span lang="EN-US"><span style>-<span style="font:7.0pt "Times New Roman"">          </span></span></span><span lang="EN-US">Create a module “myCore”, with a file “schemas/commonElements.xsd”</span></p>
<p class="MsoListParagraph" style><span lang="EN-US"><span style>-<span style="font:7.0pt "Times New Roman"">          </span></span></span><span lang="EN-US">Create a module “myNewModule”, width an entity “schemas/myModule.xsd”</span></p>
<p class="MsoListParagraph" style><span lang="EN-US"><span style>-<span style="font:7.0pt "Times New Roman"">          </span></span></span><span lang="EN-US">In “myModule.xsd”, create an element of type “commonElements”, by adding the file “commonElements.xsd” in the xsd code. </span></p>
<p class="MsoListParagraph" style><span lang="EN-US"><span style>-<span style="font:7.0pt "Times New Roman"">          </span></span></span><span lang="EN-US">Upload your modules on OpenCMS. You can check : this is working well. When editing an instance of “myModule”, nested elements are well represented. </span></p>
<p class="MsoListParagraph" style><span lang="EN-US"><span style>-<span style="font:7.0pt "Times New Roman"">          </span></span></span><span lang="EN-US">Re-Upload “myCore” (including the nested xsd file). You should have red lines, on your screen. </span></p>
<p class="MsoNormal"><span lang="EN-US">Congrats, OpenCMS is dead. ^^’</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">I’m I doing something I should not, or is it a bug ? </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">You can find, attached, light version of used files. </span></p><p class="MsoNormal"><span lang="EN-US">Feel free to contact me for more details. </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Regards, </span></p><p class="MsoNormal"><span lang="EN-US">Matthias Griselle</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p>
</div></body></html>