Re: Problem is parsing a schema.

2001-10-26 Thread Khaled Noaman
According to the XML Schema specifications (Schema Component Constraint: Complex Type Definition Properties Correct), if the base type is simple type (xs:string in your case), the derivation method must be extension. You need to create a new simple type which is a restriction of string. Then, in

Re: Problem is parsing a schema.

2001-10-26 Thread Peter A. Volchek
xsd attached.     Peter A. VolchekSoftware EngineerMetis International, Inc.[EMAIL PROTECTED] - Original Message - From: Abhay Chaudhary To: [EMAIL PROTECTED] Sent: Thursday, October 25, 2001 17:36 Subject: Problem is parsing a schema. Hi, I am

Problem is parsing a schema.

2001-10-25 Thread Abhay Chaudhary
Hi, I am facing a problem in validating a xml with schema. I need to write schema which supports attributes for leaf elements. Attached is the sample I tried and the parser Xerces-c 1.5.1 gives the following error. Error at file "D:\Buysell.xml", line 4, column 135    Message: The type 'x