<?xml version="1.0"?>
<suite>
	<case name="scale/precision restriction">
		<type>decimal</type>
		
		<!-- valid scales -->
		<simple answer="o">
			
			<facet name="scale" value="0"/>
			<facet name="scale" value="5"/>
		</simple>
		<ok scope="chain">
			<combination>
				<facet name="enumeration" value="100"/>
				<facet name="enumeration" value="120"/>
				<facet name="pattern" value="..."/>
				<facet name="pattern" value=".*"/>
				<choice>
					<facet name="precision" value="5"/>
					<facet name="precision" value="2"/>
				</choice>
			</combination>
		</ok>
		<ok>
		</ok>
		<!-- invalid scales -->
		<ng>
			<facet name="scale" value="-2"/>
		</ng>
		
		<ng>
			<facet name="scale" value="3"/>
			<facet name="precision" value="2"/>
		</ng>
		<ok>
			<facet name="scale" value="3"/>
			<facet name="precision" value="3"/>
		</ok>
	</case>
</suite>
