Hi Holger Can you expand on this a bit? Is your complex type definition for typeMLSTRING00050 at the top level? Or put another way, what is surrounding your definition for typeMLSTRING00050? And what is at line 3681 of your schema bmecat_2005.xsd?
It looks like something is using typeMLSTRING00050 as a base type and it's _that_ that's complaining. Thanks, Lawrence > -----Original Message----- > From: Holger Rieß [mailto:[EMAIL PROTECTED] > Sent: Friday, December 16, 2005 6:45 AM > To: [email protected] > Subject: scomp problem with complextype and simplecontent > > Hi, > > using scomp with the following schema part > > ... > <xsd:complexType name="typeMLSTRING00050"> > <xsd:simpleContent> > <xsd:restriction base="dtMLSTRING"> > <xsd:maxLength value="50"/> > <xsd:minLength value="1"/> > </xsd:restriction> > </xsd:simpleContent> > </xsd:complexType> > ... > > I got the error: > > bmecat_2005.xsd:3681:5: error: src-ct.1: The specified base type > '[EMAIL PROTECTED]://www.bmecat.org/bmecat/2005fd' must be a > complex type with complex content. > > I can't see any problems with that schema. Validation with XMLSpy is o.k. > > Thanks > Holger --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

