[opencms-dev] DB Export: java.util.zip.ZipException

Miloš Lacika milos.lacika at anasoft.sk
Thu Mar 27 15:07:59 CET 2003


I have these 3 templates stored in system/modules/my_first_modul:

1. contenttemplates/contenttemplate1

<?xml version="1.0"?>
<XMLTEMPLATE>
  <TEMPLATE><![CDATA[
    Hello World! <br>
  ]]><ELEMENT name="body"/>
  </TEMPLATE>
<XMLTEMPLATE>

2. frametemplates/frametemplate1

<?xml version="1.0"?>
<XMLTEMPLATE>
  <TEMPLATE>
    <html>
    <head>
      <title>the first templates</title>
    </head>
    <BODY>test</BODY>
  </html>>
  </TEMPLATE>
</XMLTEMPLATE>

3. templates

<?xml version="1.0"?>
<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>
<TEMPLATE><ELEMENT name="frametemplate"/></TEMPLATE>
</ELEMENTDEF>
</XMLTEMPLATE>

and my first page didn't work. And I don't know why.

Milos Lacika
+421 907 983 428
milos.lacika at anasoft.sk 





More information about the opencms-dev mailing list