<!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.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi people,<BR><BR>I am using this
step-by-step:<BR><A
href="http://mail.opencms.org/pipermail/opencms-dev/2004q4/013609.html">http://mail.opencms.org/pipermail/opencms-dev/2004q4/013609.html</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>i has:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>/sites/wils/myfolder/<BR><BR>In "myfolder" i
has:</FONT></DIV>
<DIV><FONT face=Arial size=2>- myarticle</FONT></DIV>
<DIV><FONT face=Arial size=2>- myarticle.xsd</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>When try create myarticle i take an
error:</FONT></DIV>
<DIV><FONT face=Arial size=2>"<FONT size=3>Caused by:
org.opencms.xml.CmsXmlException: Invalid OpenCms content definition XML schema
structure:<BR>Element "/xsd:schema/xsd:complexType[1]/xsd:sequence/xsd:element"
attribute "type" value must be "OpenCmsMyarticle" not "OpenCmsMyArticle".<BR> at
org.opencms.xml.CmsXmlContentDefinition.validateAttribute(CmsXmlContentDefinition.java:512)
</FONT>"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Please look at my 2 files struture:<BR><BR><BR>1 -
myarticle:<BR><BR><FONT color=#0000ff size=2>
<P><?</FONT><FONT color=#800000 size=2>xml</FONT><FONT color=#ff00ff size=2>
</FONT><FONT color=#ff0000 size=2>version</FONT><FONT color=#0000ff
size=2>="1.0"</FONT><FONT color=#ff00ff size=2> </FONT><FONT color=#ff0000
size=2>encoding</FONT><FONT color=#0000ff size=2>="UTF-8"</FONT><FONT
color=#ff00ff size=2> </FONT><FONT color=#0000ff size=2>?></P>
<P><</FONT><FONT color=#800000 size=2>myarticles</FONT><FONT color=#ff00ff
size=2> </FONT><FONT color=#800000 size=2>xmlns</FONT><FONT color=#ff00ff
size=2>:</FONT><FONT color=#ff0000 size=2>xsi</FONT><FONT color=#0000ff
size=2>="http://www.w3.org/2001/XMLSchema-instance"</FONT><FONT color=#ff00ff
size=2> </FONT><FONT color=#800000 size=2>xsi</FONT><FONT color=#ff00ff
size=2>:</FONT><FONT color=#ff0000 size=2>noNamespaceSchemaLocation</FONT><FONT
color=#0000ff
size=2>="opencms://sites/wils/myfolder/myarticle.xsd"></P></FONT><FONT
size=2>
<P></FONT><FONT color=#0000ff size=2><</FONT><FONT color=#800000
size=2>myarticle</FONT><FONT color=#ff00ff size=2> </FONT><FONT color=#ff0000
size=2>language</FONT><FONT color=#0000ff size=2>="en"></P></FONT><FONT
size=2>
<P></FONT><FONT color=#0000ff size=2><</FONT><FONT color=#800000
size=2>title</FONT><FONT color=#0000ff size=2>><![</FONT><FONT
color=#ff00ff size=2>CDATA[Sample article 1]]</FONT><FONT color=#0000ff
size=2>></</FONT><FONT color=#800000 size=2>title</FONT><FONT
color=#0000ff size=2>></P></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2></</FONT><FONT color=#800000
size=2>myarticle</FONT><FONT color=#0000ff size=2>></P>
<P></</FONT><FONT color=#800000 size=2>myarticles</FONT><FONT color=#0000ff
size=2>></FONT></P>
<P><FONT color=#0000ff size=2></FONT> </P>
<P><FONT color=#0000ff size=2><FONT color=#000000>2 -
myarticle.xsd</FONT></FONT></P><FONT color=#0000ff size=2><FONT color=#0000ff
size=2>
<P><?</FONT><FONT color=#800000 size=2>xml</FONT><FONT color=#ff00ff size=2>
</FONT><FONT color=#ff0000 size=2>version</FONT><FONT color=#0000ff
size=2>="1.0"</FONT><FONT color=#ff00ff size=2> </FONT><FONT color=#ff0000
size=2>encoding</FONT><FONT color=#0000ff size=2>="UTF-8"</FONT><FONT
color=#ff00ff size=2> </FONT><FONT color=#0000ff size=2>?></P>
<P><</FONT><FONT color=#800000 size=2>xsd:schema</FONT><FONT color=#ff00ff
size=2> </FONT><FONT color=#800000 size=2>xmlns</FONT><FONT color=#ff00ff
size=2>:</FONT><FONT color=#ff0000 size=2>xsd</FONT><FONT color=#0000ff
size=2>="http://www.w3.org/2001/XMLSchema"</FONT><FONT color=#ff00ff size=2>
</FONT><FONT color=#ff0000 size=2>elementFormDefault</FONT><FONT color=#0000ff
size=2>="qualified"></P></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><</FONT><FONT color=#800000
size=2>xsd:include</FONT><FONT color=#ff00ff size=2> </FONT><FONT color=#ff0000
size=2>schemaLocation</FONT><FONT color=#0000ff
size=2>="opencms://opencms-xmlcontent.xsd"</FONT><FONT color=#ff00ff size=2>
</FONT><FONT color=#0000ff size=2>/></P></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><</FONT><FONT color=#800000
size=2>xsd:element</FONT><FONT color=#ff00ff size=2> </FONT><FONT color=#ff0000
size=2>name</FONT><FONT color=#0000ff size=2>="myarticles"</FONT><FONT
color=#ff00ff size=2> </FONT><FONT color=#ff0000 size=2>type</FONT><FONT
color=#0000ff size=2>="OpenCmsMyArticles"</FONT><FONT color=#ff00ff size=2>
</FONT><FONT color=#0000ff size=2>/></P></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><</FONT><FONT color=#800000
size=2>xsd:complexType</FONT><FONT color=#ff00ff size=2> </FONT><FONT
color=#ff0000 size=2>name</FONT><FONT color=#0000ff
size=2>="OpenCmsMyArticles"></P></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><</FONT><FONT color=#800000
size=2>xsd:sequence</FONT><FONT color=#0000ff size=2>></P></FONT><FONT
size=2>
<P></FONT><FONT color=#0000ff size=2><</FONT><FONT color=#800000
size=2>xsd:element</FONT><FONT color=#ff00ff size=2> </FONT><FONT color=#ff0000
size=2>name</FONT><FONT color=#0000ff size=2>="myarticle"</FONT><FONT
color=#ff00ff size=2> </FONT><FONT color=#ff0000 size=2>type</FONT><FONT
color=#0000ff size=2>="OpenCmsMyArticle"</FONT><FONT color=#ff00ff size=2>
</FONT><FONT color=#ff0000 size=2>minOccurs</FONT><FONT color=#0000ff
size=2>="0"</FONT><FONT color=#ff00ff size=2> </FONT><FONT color=#ff0000
size=2>maxOccurs</FONT><FONT color=#0000ff size=2>="unbounded"</FONT><FONT
color=#ff00ff size=2> </FONT><FONT color=#0000ff size=2>/></P></FONT><FONT
size=2>
<P></FONT><FONT color=#0000ff size=2></</FONT><FONT color=#800000
size=2>xsd:sequence</FONT><FONT color=#0000ff size=2>></P></FONT><FONT
size=2>
<P></FONT><FONT color=#0000ff size=2></</FONT><FONT color=#800000
size=2>xsd:complexType</FONT><FONT color=#0000ff size=2>></P></FONT><FONT
size=2>
<P></FONT><FONT color=#0000ff size=2><</FONT><FONT color=#800000
size=2>xsd:complexType</FONT><FONT color=#ff00ff size=2> </FONT><FONT
color=#ff0000 size=2>name</FONT><FONT color=#0000ff
size=2>="OpenCmsMyArticle"></P></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><</FONT><FONT color=#800000
size=2>xsd:sequence</FONT><FONT color=#0000ff size=2>></P></FONT><FONT
size=2>
<P></FONT><FONT color=#0000ff size=2><</FONT><FONT color=#800000
size=2>xsd:element</FONT><FONT color=#ff00ff size=2> </FONT><FONT color=#ff0000
size=2>name</FONT><FONT color=#0000ff size=2>="title"</FONT><FONT color=#ff00ff
size=2> </FONT><FONT color=#ff0000 size=2>type</FONT><FONT color=#0000ff
size=2>="OpenCmsString"</FONT><FONT color=#ff00ff size=2> </FONT><FONT
color=#0000ff size=2>/></P></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2></</FONT><FONT color=#800000
size=2>xsd:sequence</FONT><FONT color=#0000ff size=2>></P></FONT><FONT
size=2>
<P></FONT><FONT color=#0000ff size=2><</FONT><FONT color=#800000
size=2>xsd:attribute</FONT><FONT color=#ff00ff size=2> </FONT><FONT
color=#ff0000 size=2>name</FONT><FONT color=#0000ff
size=2>="language"</FONT><FONT color=#ff00ff size=2> </FONT><FONT color=#ff0000
size=2>type</FONT><FONT color=#0000ff size=2>="OpenCmsLocale"</FONT><FONT
color=#ff00ff size=2> </FONT><FONT color=#ff0000 size=2>use</FONT><FONT
color=#0000ff size=2>="required"</FONT><FONT color=#ff00ff size=2> </FONT><FONT
color=#0000ff size=2>/></P></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2></</FONT><FONT color=#800000
size=2>xsd:complexType</FONT><FONT color=#0000ff size=2>></P></FONT><FONT
size=2>
<P></FONT><FONT color=#0000ff size=2><</FONT><FONT color=#800000
size=2>xsd:annotation</FONT><FONT color=#0000ff size=2>></P></FONT><FONT
size=2>
<P></FONT><FONT color=#0000ff size=2><</FONT><FONT color=#800000
size=2>xsd:appinfo</FONT><FONT color=#0000ff size=2>></P></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><</FONT><FONT color=#800000
size=2>mapping</FONT><FONT color=#ff00ff size=2> </FONT><FONT color=#ff0000
size=2>element</FONT><FONT color=#0000ff size=2>="Title"</FONT><FONT
color=#ff00ff size=2> </FONT><FONT color=#ff0000 size=2>mapto</FONT><FONT
color=#0000ff size=2>="property:Title"</FONT><FONT color=#ff00ff size=2>
</FONT><FONT color=#0000ff size=2>/></P></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2></</FONT><FONT color=#800000
size=2>xsd:appinfo</FONT><FONT color=#0000ff size=2>></P></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2></</FONT><FONT color=#800000
size=2>xsd:annotation</FONT><FONT color=#0000ff size=2>></P>
<P></</FONT><FONT color=#800000 size=2>xsd:schema</FONT><FONT color=#0000ff
size=2>></P></FONT></FONT></FONT></DIV></BODY></HTML>