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

Fabian Huschka fabian.huschka at componio.net
Wed Apr 9 19:53:15 CEST 2008


Hello Stéphane,

is this xsd nested in another xsd?

Regards,

\Fabian

Stéphane 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
>
> Stéphane
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>   



More information about the opencms-dev mailing list