With this sample schema I get the following error when I try to compile with scomp
masteritem.xsd:5:5: error: src-resolve.a: Could not find type '[EMAIL PROTECTED]:/ /www.w3.org/2001/XMLSchema'. Do you mean to refer to the type named [EMAIL PROTECTED] asteritem (in masteritem.xsd)? <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mi="masteritem" targetNamespace="masteritem"> <xs:element name="employee" type="personinfo"/> <xs:complexType name="personinfo"> <xs:sequence> <xs:element name="firstname" type="xs:string"/> <xs:element name="lastname" type="xs:string"/> </xs:sequence> </xs:complexType> </xs:schema> How do I refer to personinfo such that it knows what namespace it comes from? Robert Costello

