[opencms-dev] small issue with defaults in .xsd

Stéphane Martin martin at webtrio.de
Thu Apr 10 13:35:20 CEST 2008


Dear Fabian,

yes exactly. It is nested in another .xsd.

Best regards

Stephane

Message: 10
Date: Wed, 09 Apr 2008 19:53:15 +0200
From: Fabian Huschka <fabian.huschka at componio.net>
Subject: Re: [opencms-dev] small issue with defaults in .xsd
To: The OpenCms mailing list <opencms-dev at opencms.org>
Message-ID: <47FD028B.3000403 at componio.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello Stephane,

is this xsd nested in another xsd?

Regards,

\Fabian

Stephane Martin schrieb:
> Dear list members,
>
> this is a part of my .xsd:
>
> 	<xsd:annotation>
> 		<xsd:appinfo>
> 			<preview uri="${previewtempfile}" />
> 			<resourcebundle name="de.xx.de.xy.workplace"/>
> 			<mappings>
> 				<mapping element="ContactCompany"
> mapto="property:ContactCompany" />
> 				<mapping element="ContactName"
> mapto="property:ContactName" />
> 				<mapping element="ContactDepartment"
> mapto="property:ContactDepartment" />
> 			</mappings>
> 			<defaults>
> 				<default element="ContactCompany"
> value="abc"/>
> 				<default element="ContactName" value="def"/>
> 				<default element="ContactDepartment"
> value="ghi"/>
> 			</defaults>
> 		</xsd:appinfo>
> 	</xsd:annotation>
>
> The values set for the elements with <default do no appear when editing or
> creating new content articles based on this .xsd. Can someone explain why
> the values are not set?
>
> Best regards
>
> Stephane




More information about the opencms-dev mailing list