Mmmmh okay now i have an other problem lol<br><br>XML validation error : <br><errors><br><error column="18" 
line="5">cvc-complex-type.4: Attribute 'language' must appear on element 
'News'.</error><br></errors><br><warnings><br><br><br><div class="gmail_quote">2008/5/6 Territorio Jordan-V. <<a href="mailto:jordan.territorio@gmail.com">jordan.territorio@gmail.com</a>>:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">It's loaded, it was the path to the MyNew.xsd.<br><br>But i have always the same problem than in the first file. I can't add a new "MyNew" block... I can have multiples Text block in the MyNew block but no multiples block MyNew in the MyList.xsd...<br>

<br>In fact i have exactly the same result than the beginning :s<br><br><div class="gmail_quote">2008/5/6 Bozidar Ilievski <<a href="mailto:bozidar.ilievski@netcetera.com.mk" target="_blank">bozidar.ilievski@netcetera.com.mk</a>>:<div>
<div></div><div class="Wj3C7c"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>Hi.<br>
<br>
Territorio Jordan-V. wrote:<br>
</div><div>> I must do something wrong...<br>
><br>
> 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>
><br>
> here is the new code for the list :<br>
> <xsd:schema xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema" target="_blank">http://www.w3.org/2001/XMLSchema</a>"<br>
>     elementFormDefault="qualified"><br>
><br>
>     <xsd:include schemaLocation="opencms://opencms-xmlcontent.xsd" /><br>
>     <!-- I think the problem is there... --><br>
>     <xsd:include schemaLocation="./antargaz_news.xsd" /><br>
<br>
</div>I usually enter the absolute location of the referenced schema file:<br>
Example:<br>
<xsd:include schemaLocation="opencms://system/.../my_schema.xsd"/><br>
<div><br>
>     <xsd:element name="MyNewsLists" type="OpenCmsMyNewsLists" /><br>
><br>
>     <xsd:complexType name="OpenCmsMyNewsLists"><br>
>         <xsd:sequence><br>
>             <xsd:element name="MyNewsList" type="OpenCmsMyNewsList"<br>
>                 minOccurs="0" maxOccurs="unbounded" /><br>
>         </xsd:sequence><br>
>     </xsd:complexType><br>
><br>
>     <xsd:complexType name="OpenCmsMyNewsList"><br>
>         <xsd:sequence minOccurs="0" maxOccurs="unbounded"><br>
>             <xsd:element name="News" type="OpenCmsNew"<br>
<br>
</div>or maybe this is your problem.<br>
In the previous post, your type was OpenCmsMyNew, not OpenCmsNew.<br>
<div><br>
>                 minOccurs="0" maxOccurs="1" /><br>
>         </xsd:sequence><br>
>         <xsd:attribute name="language" type="OpenCmsLocale"<br>
>             use="required" /><br>
>     </xsd:complexType><br>
> </xsd:schema><br>
><br>
<br>
</div>Regadrds,<br>
<div><div></div><div>Bobi.<br>
<br>
--<br>
Bozidar Ilievski | <a href="mailto:bozidar.ilievski@netcetera.com.mk" target="_blank">bozidar.ilievski@netcetera.com.mk</a><br>
phone +389 -2- 30 64 532 | fax +389 -2- 30 79 495<br>
Netcetera | 1000 Skopje | Macedonia | <a href="http://netcetera.com.mk" target="_blank">http://netcetera.com.mk</a><br>
<br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
</div></div></blockquote></div></div></div><br><br clear="all"><div><div></div><div class="Wj3C7c"><br>-- <br>TERRITORIO Jordan-Victor<br>Ingénieur d'Intégration Java<br>TEAMLOG – Ingenieurs 2000<br><br>+33 6 30 66 54 69<br>
<a href="mailto:jot@teamlog.com" target="_blank">jot@teamlog.com</a>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>TERRITORIO Jordan-Victor<br>Ingénieur d'Intégration Java<br>TEAMLOG – Ingenieurs 2000<br><br>+33 6 30 66 54 69<br><a href="mailto:jot@teamlog.com">jot@teamlog.com</a>