Problems with definingt simple restriction

hi

This construction used to work 6 months ago... (using XML Spy 3.5 under
xmlns="http://www.w3.org/2001/XMLSchema" )

	<complexType name="Price">
		<simpleContent>
			<restriction base="double">
				<fractionDigits value="2"/>
				<attribute name="currency" type="string"
use="required"/>
			</restriction >
		</simpleContent>
      </complexType>

Using XML Spy 5, I get a validation error on restriction _base_, seeming
that this is not valid anymore. I cannot find any examples either of
restrction being used as child under simpleContent, though it seems like it
should be valid according to spec. Am I wrong?

Med vennlig hilsen

Steinar Rune Eriksen
BIZ Partner
Tel:    (+47) 67 57 15 52
Mobile: (+47) 90 52 81 48
http://www.bizpartner.no

Received on Monday, 16 December 2002 08:50:06 UTC