Restrictions and base type question

Simple question. Probably been answered, couldn't find exact match in 
archive.

A Sample like this:

<?xml version="1.0" encoding="utf-8" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
elementFormDefault="qualified">
	<xsd:complexType name="AcademicTitle">
		<xsd:simpleContent>
			<xsd:restriction base="xsd:string">
				<xsd:enumeration value="Other" />
				<xsd:enumeration value="Prof" />
				<xsd:enumeration value="Dr" />
				<xsd:enumeration value="Magister" />
				<xsd:enumeration value="Phd" />
				<xsd:enumeration value="MBA" />
				<xsd:enumeration value="BA" />
			</xsd:restriction>
		</xsd:simpleContent>
	</xsd:complexType>
</xsd:schema>

Gives me an MSXML error like:

Undefined complexType xsd:string is used as a base for complex type 
restriction.

Any suggestions on how I can validate while preserving 'AcademicTitle' as a 
'complexType' would be greatly appreciated.

Thanks, Michael McClellan


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

Received on Monday, 25 June 2001 03:23:25 UTC