<?xml version="1.0"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:f="urn:test:foo" targetNamespace="urn:test:foo"> <xsd:element name="foo" type="f:fooType"/> <xsd:simpleType name="fooType"> <xsd:restriction base="xsd:decimal"> <xsd:minExclusive value="0"/> </xsd:restriction> </xsd:simpleType> </xsd:schema>