AW: [opencms-dev] XML schema error

Holger.Ostlender at Materna.DE Holger.Ostlender at Materna.DE
Tue Nov 29 13:12:05 CET 2005

It does not work.
I`ve also tried the example jobs, events and faqs demo.
I copied the code from the "Edit controlcode" and I got the same errors.
So I could not create new generic content, but I could use the old

-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at
[mailto:opencms-dev-bounces at]Im Auftrag von DI Gunther
Gesendet: Dienstag, 29. November 2005 11:32
An: 'The OpenCms mailing list'
Betreff: AW: [opencms-dev] XML schema error

Holger wrote:

> I tried to create a new XML schema definition.
> I follow the steps from
> 134a7
> But all I get are schema errors, type not found OpenCmsString, etc.

Here's an example that works for me; you might want to try it and if it
works, adapt it to your needs.

<xsd:schema xmlns:xsd=""

<xsd:include schemaLocation="opencms://opencms-xmlcontent.xsd"/> 

<xsd:element name="Faqs" type="OpenCmsFaqs"/>

<xsd:complexType name="OpenCmsFaqs">
		<xsd:element name="Faq" type="OpenCmsFaq" minOccurs="0"

<xsd:complexType name="OpenCmsFaq">
		<xsd:element name="Question" type="OpenCmsString" />
		<xsd:element name="Answer" type="OpenCmsHtml" />
		<xsd:element name="Release" type="OpenCmsDateTime" />
		<xsd:element name="Author" type="OpenCmsString" />
	<xsd:attribute name="language" type="OpenCmsLocale" use="required"/>


  DI Gunther Schmidl (Consultant)
  WebDynamite IT Solutions GmbH
  Landstraße 49, A-4020 Linz, Austria
  +43 / 732 / 777 810 - 16 (fixed)
  +43 / 732 / 777 810 - 50 (fax)

This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit

More information about the opencms-dev mailing list