<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o =
"urn:schemas-microsoft-com:office:office"><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=US-ASCII">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Tahoma size=2></FONT> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff
size=2>Hello Alex,</FONT></SPAN></DIV>
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff size=2>I
reinstall opencms and nw it's working! Great.</FONT></SPAN></DIV>
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff size=2>But
now, I have another problem: I can create the news with the xml
editor but there are not display on the browser (404 error
message) </FONT></SPAN></DIV>
<DIV><SPAN class=687291614-15022005></SPAN><SPAN
class=687291614-15022005><FONT face=Arial color=#0000ff size=2><STRONG>my
schema:</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff
size=2><BR><xsd:schema xmlns:xsd="<A
href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</A>"
elementFormDefault="qualified"><BR> <xsd:include
schemaLocation="opencms://opencms-xmlcontent.xsd"/> <BR> <xsd:element
name="Headnews" type="OpenCmsHeadnews"/><BR> <xsd:complexType
name="OpenCmsHeadnews"><BR> <xsd:sequence><BR> <xsd:element
name="Headnew" type="OpenCmsHeadnew" minOccurs="0"
maxOccurs="unbounded"/><BR> </xsd:sequence><BR> </xsd:complexType></DIV>
<DIV> </DIV>
<DIV> <xsd:complexType
name="OpenCmsHeadnew"><BR> <xsd:sequence><BR> <xsd:element
name="Title" type="OpenCmsString" /><BR> <xsd:element
name="Teaser" type="OpenCmsString"
maxOccurs="5"/><BR> <xsd:element name="Text"
type="OpenCmsHtml" /><BR> <xsd:element name="Date"
type="OpenCmsString" /> <BR> <xsd:element
name="Release" type="OpenCmsDateTime"
/><BR> <xsd:element name="Author" type="OpenCmsString"
/><BR> <xsd:element name="Href" type="OpenCmsVfsFile"
/><BR> <xsd:element name="Description"
type="OpenCmsString" minOccurs="0"
/><BR> <BR> </xsd:sequence><BR> <xsd:attribute
name="language" type="OpenCmsLocale"
use="required"/><BR> </xsd:complexType></DIV>
<DIV> </DIV>
<DIV> <xsd:annotation><BR> <xsd:appinfo><BR> <BR> <mappings><BR> <mapping
element="Title" mapto="property:Title"
/><BR> <mapping element="Release"
mapto="attribute:datereleased"
/><BR> </mappings><BR><BR> </xsd:appinfo></DIV>
<DIV> </DIV>
<DIV> </xsd:annotation>
<BR></xsd:schema></FONT></SPAN></DIV>
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff size=2>I
create a display list for collecting the news of the folder like this
:</FONT></SPAN></DIV>
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff
size=2><STRONG>list.jsp</STRONG><BR>---------</FONT></SPAN></DIV>
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff
size=2>cms:contentload collector="${property.collector}"
param="/fr/news/new_${number}.html|77" editable="true"></FONT></SPAN></DIV>
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff
size=2> <b><cms:contentshow element="Date" /> :::
<cms:contentshow element="Author" /> ::: <cms:contentshow
element="Title" /></b></h6> </FONT></SPAN></DIV>
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff
size=2>.....</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff
size=2><div align ="center"><a
href="<cms:link><cms:contentshow element="${opencms.filename}"
/></cms:link>">More
info</a></div><BR></small></FONT></SPAN></DIV>
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff
size=2>...</FONT></SPAN></DIV>
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff size=2>The
list is displayed but when I click on the "More info link", I receive the 404
error message..</FONT></SPAN></DIV>
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff
size=2>Exemple: I create new_0001.html on the news folder. The teaser and
others infos are showed on the list but when I click on the link
"more info, I receive the error but uri of the link seems
correct.</FONT></SPAN></DIV>
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff
size=2>What's wrong?</FONT></SPAN></DIV>
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff
size=2>Thank you</FONT></SPAN></DIV>
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff
size=2>Regards</FONT></SPAN></DIV>
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=687291614-15022005><FONT face=Arial color=#0000ff
size=2>MARC</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Message d'origine-----<BR><B>De :</B>
opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org]<B>De la part de</B> Alexander
Kandzior<BR><B>Envoyé :</B> lundi 14 février 2005
15:17<BR><B>À :</B> 'The OpenCms mailing list'<BR><B>Objet :</B>
RE: [opencms-dev] opencms-dev] Xml content definition
problemwithresource.type.id<BR><BR></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=906141214-14022005>I tried everything as you described and for me
everything worked. I am however working on the CVS HEAD version, not 6.0 a
3. Im not sure what kind of changes we did since the 6a3 release that
may releate to this issue.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=906141214-14022005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=906141214-14022005>So either this is some error in the 6a3
release that has been fixed in the current CVS HEAD, or you have some other
configuration issue that is cause of your problem. </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=906141214-14022005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=906141214-14022005>Make sure that in the workplace.xml, you place the
"headnews" explorertype _after_ the "structurecontent" explorer type entry.
</SPAN></FONT></DIV><!-- Converted from text/plain format -->
<P><FONT size=2>Best Regards,<BR>Alex.<BR><BR>Alexander Kandzior<BR>Alkacon
Software - The OpenCms Experts<BR><A
href="http://www.alkacon.com/">http://www.alkacon.com</A><BR><BR></FONT></P>
<DIV> </DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=de 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>Fievet
Marc<BR><B>Sent:</B> Monday, February 14, 2005 2:24 PM<BR><B>To:</B> 'The
OpenCms mailing list'<BR><B>Subject:</B> [opencms-dev] opencms-dev] Xml
content definition problem withresource.type.id<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Tahoma><FONT size=2><SPAN class=474514107-14022005><FONT
face=Arial color=#0000ff>Hello Alex,</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Tahoma><FONT face=Arial color=#0000ff size=2><SPAN
class=474514107-14022005></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Tahoma><FONT face=Arial color=#0000ff size=2><SPAN
class=474514107-14022005></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Tahoma><FONT face=Arial color=#0000ff size=2><SPAN
class=474514107-14022005>Hereby my followings
steps:</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Tahoma><FONT face=Arial color=#0000ff size=2><SPAN
class=474514107-14022005><STRONG>1. I create a new xml schema located in
the /sites/default/fr/news/</STRONG></SPAN></FONT></FONT></DIV><FONT
face=Tahoma><FONT face=Arial color=#0000ff size=2><SPAN
class=474514107-14022005>
<DIV><BR><BR><xsd:schema xmlns:xsd="<A
href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</A>"
elementFormDefault="qualified"><BR> <BR> <xsd:include
schemaLocation="opencms://opencms-xmlcontent.xsd"/> <BR> <BR> <xsd:element
name="headnews"
type="OpenCmsHeadnews"/><BR> <BR> <xsd:complexType
name="OpenCmsHeadnews"><BR> <xsd:sequence><BR> <xsd:element
name="headnew" type="OpenCmsHeadnew" minOccurs="0"
maxOccurs="unbounded"/><BR> </xsd:sequence><BR> </xsd:complexType></DIV>
<DIV> </DIV>
<DIV> <xsd:complexType
name="OpenCmsHeadnew"><BR> <xsd:sequence><BR> <xsd:element
name="Title" type="OpenCmsString"
/><BR> <BR> <BR> <BR> </xsd:sequence><BR> <xsd:attribute
name="language" type="OpenCmsLocale"
use="required"/><BR> </xsd:complexType></DIV>
<DIV> </DIV>
<DIV> <xsd:annotation><BR> <xsd:appinfo><BR> <BR> <mappings><BR> <mapping
element="Title" mapto="property:Title"
/><BR> <BR> </mappings><BR> </DIV>
<DIV> </DIV>
<DIV> <BR> </xsd:appinfo></DIV>
<DIV> </DIV>
<DIV> </xsd:annotation> <BR></xsd:schema></DIV>
<DIV></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Tahoma><FONT face=Arial color=#0000ff size=2><SPAN
class=474514107-14022005></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Tahoma><FONT face=Arial color=#0000ff><SPAN
class=474514107-14022005><FONT size=2><STRONG>2. When I try to create a
new headnews</STRONG> display on the dropdown list with the new number ID
(in my case id =77) On the second, screen (for the name of the
resource) I have the following error message: <FONT color=#ff0000>"<!--StartFragment --></FONT></FONT><FONT
face="Times New Roman" color=#ff0000 size=2> Maybe you don't have the
needed permissions or this resource already exists.<BR>Please check the
entered data or contact your system administrator.
"</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Tahoma><FONT size=2><SPAN
class=474514107-14022005> D<FONT face=Arial><FONT
color=#0000ff>etails of the error
screen: <!--StartFragment --><FONT size=3>
</FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial color=#ff0000>org.opencms.xml.CmsXmlException:
Unmarshalling xml document failed! [Code 400 - Error in xml
processing]<BR><!--StartFragment --></FONT></DIV>
<DIV><FONT face=Arial color=#ff0000>Root cause was:
org.dom4j.DocumentException: null Nested exception: null</FONT></DIV>
<DIV></SPAN><SPAN class=474514107-14022005><FONT face=Arial
color=#ff0000> ....</FONT></SPAN></DIV>
<DIV><FONT face=Arial><FONT color=#ff0000><SPAN
class=474514107-14022005></SPAN><BR></FONT></FONT> </DIV><!--StartFragment -->
<DIV><FONT face=Arial><FONT color=#ff0000>>Root cause:
>org.dom4j.DocumentException: null Nested exception: null<SPAN
class=474514107-14022005> </SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#ff0000><SPAN
class=474514107-14022005></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff><SPAN
class=474514107-14022005><STRONG>3. When I tried to create a new
file by choosing the "generic XML Content".</STRONG> </SPAN></FONT></DIV>
<DIV><SPAN class=474514107-14022005><FONT face=Arial color=#0000ff>this
content:</FONT></SPAN></DIV>
<DIV><SPAN class=474514107-14022005><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=474514107-14022005><FONT face=Arial
color=#0000ff><?xml version="1.0"
encoding="UTF-8"?></FONT></SPAN></DIV>
<DIV><SPAN class=474514107-14022005><FONT face=Arial
color=#0000ff><Headnews xmlns:xsi="</FONT><A
href="http://www.w3.org/2001/XMLSchema-instance"><FONT
face=Arial>http://www.w3.org/2001/XMLSchema-instance</FONT></A><FONT
face=Arial color=#0000ff>"
xsi:noNamespaceSchemaLocation="opencms://sites/default/fr/news/headnews.xsd"><BR>
<Headnew language="fr"><BR>
<Title><![CDATA[Enter the title of the article
here...]]></Title><BR> <BR>
</Headnew><BR></Headnews></FONT></SPAN></DIV>
<DIV><SPAN class=474514107-14022005><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=474514107-14022005><FONT face=Arial color=#0000ff>I have
this error :<!--StartFragment --><FONT color=#000000> </FONT></DIV>
<DIV><FONT color=#ff0000><errors> <error column="142"
line="4">cvc-elt.1: Cannot find the declaration of element
'Headnews'.</error></errors></FONT></DIV>
<DIV></FONT></SPAN> </DIV>
<DIV><SPAN class=474514107-14022005><FONT face=Arial
color=#0000ff> In the opencms-vfs, I declare</FONT></SPAN></DIV>
<DIV><SPAN class=474514107-14022005>
<P><type
class="org.opencms.file.types.CmsResourceTypeXmlContent"></P>
<P><param name="resource.type.id">77</param></P>
<P><param name="resource.type.name">headnews</param></P>
<P><param
name="schema">/sites/default/fr/news/headnews.xsd</param></P>
<P></type><SPAN class=474514107-14022005><FONT face=Arial
color=#0000ff> </FONT></SPAN></P>
<P><SPAN class=474514107-14022005><FONT face=Arial color=#0000ff>In
the opencms-workplace.xml, those entries:</FONT></SPAN></P><SPAN
class=474514107-14022005><FONT size=2>
<P><explorertypes></P>
<P><explorertype name="headnews" key="fileicon.headnews"
icon="headnews.gif" reference="xmlcontent"></P>
<P><newresource page="structurecontent"
uri="newresource_xmlcontent.jsp?newresourcetype=headnews"
order="25"/></P>
<P></P>
<P></explorertype></FONT></SPAN></SPAN></P></DIV>
<DIV><SPAN class=474514107-14022005><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=474514107-14022005><FONT face=Arial color=#0000ff>What's
wrong? </FONT></SPAN></DIV>
<DIV><SPAN class=474514107-14022005><FONT face=Arial
color=#0000ff>Extended a existing schema works. I try with the article.xsd
present in the demo by adding some properties but create a new
one from scratch is not the same.</FONT></SPAN></DIV>
<DIV><SPAN class=474514107-14022005><FONT face=Arial color=#0000ff>Thank
you</FONT></SPAN></DIV>
<DIV><SPAN class=474514107-14022005><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=474514107-14022005><FONT face=Arial
color=#0000ff>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=474514107-14022005><FONT face=Arial
color=#0000ff>MARC</FONT></SPAN></DIV></FONT></FONT>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV dir=ltr align=left><SPAN class=533235310-13022005><FONT size=2>Can
you post more details regarding this issue?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><FONT size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT size=2>Best
Regards,<BR>Alex.<BR><BR>Alexander Kandzior<BR>Alkacon Software - The
OpenCms Experts<BR><A
href="http://www.alkacon.com/">http://www.alkacon.com</A><BR></FONT></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=de 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>Fievet
Marc<BR><B>Sent:</B> Friday, February 11, 2005 6:01 PM<BR><B>To:</B>
'The OpenCms mailing list'<BR><B>Subject:</B> [opencms-dev] Xml
content definition problem with resource.type.id<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=974234316-11022005><FONT face=Arial
size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=974234316-11022005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974234316-11022005><FONT face=Arial size=2>I try to
create my own schema according the doc transmitted by
Alex</FONT></SPAN></DIV>
<DIV><SPAN class=974234316-11022005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974234316-11022005><FONT face=Arial size=2>In the
examples, you suggest to choose id 13</FONT></SPAN></DIV>
<DIV><SPAN class=974234316-11022005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974234316-11022005><FONT face=Arial size=2>ID 13 is
allocated to the Widget demo and when I declare this id in the
vfs.xml, it's the w<FONT size=2>idgetdemo.xsd who parsed my
content. Ok, that's correct according the
rules.</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=974234316-11022005><FONT face=Arial size=2>When I
declare for my schema id 33 or 77, I have this return code "<!--StartFragment --><FONT face="Times New Roman"
size=3> </FONT> <FONT face=Arial color=#ff0000>OpenCms content
definition XML schema structure: Invalid list name [Code 400 - Error
in xml processing]"...</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=974234316-11022005><FONT face=Arial color=#ff0000
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=974234316-11022005><FONT face=Arial color=#ff0000
size=2>example:</FONT></SPAN></DIV>
<DIV><SPAN class=974234316-11022005><FONT face=Arial size=2><type
class="org.opencms.file.types.CmsResourceTypeXmlContent"><BR>
<param
name="resource.type.id">77</param><BR>
<param
name="resource.type.name">headnews</param><BR>
<param
name="schema">/sites/default/fr/news/headnews.xsd</param><BR>
</type></FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN
class=974234316-11022005>Is there another file where the id chosen
must be declared?</SPAN></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN
class=974234316-11022005>Some restricted id we can't use? What id I
can use to declare my schema?</SPAN></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN
class=974234316-11022005></SPAN></SPAN> </P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN
class=974234316-11022005>Thanks</SPAN></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> <SPAN
class=974234316-11022005>Regards,</SPAN></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p><SPAN
class=974234316-11022005>MARC</SPAN></o:p></SPAN></P></DIV>
<DIV> </DIV><!--[object_id=#winterthur.be#]-->
<P align=left><FONT face=Arial
size=2>______________________________________________________________________________<BR></FONT><FONT
size=2><FONT face=Arial><STRONG>Disclaimer - Winterthur Europe
Assurances - Avenue des Arts/Kunstlaan 56 - 1000 Brussels
(BEL)</STRONG><BR>This message may contain confidential, proprietary
or legally privileged information and is intended only for the use of
the addressee named above. No confidentiality or privilege is waived
or lost by any mistransmission. If you are not the intended recipient
of this message you are hereby notified that you must not use,
disseminate, copy it in any form or take any action in reliance on it.
If you have received this message in error please delete it and any
copies of it and notify Winterthur immediately. This e-mail message
and any attached files have been scanned for the presence of computer
viruses. However, you are advised that you open any attachments at
your own risk. The integrity and security of this message cannot be
guaranteed on the Internet.<BR></FONT></FONT><FONT face=Tahoma><FONT
face=arial></P></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></FONT></FONT></BODY></HTML>