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

Stéphane Martin martin at webtrio.de
Wed Apr 9 19:57:24 CEST 2008


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




More information about the opencms-dev mailing list