Quoting Thakur Thribhuvan [EMAIL PROTECTED]:
Hi Thakur,
You have some problems with schema design. The Schema you write isn't valid.
You can't use the attribute base directly in a complexType.
When you want to create a complexType from a simple Type you have to use:
complexType name=Type
'ProductID': Invalid child following the
simpleContent child in the complexType.
Any more pointers would be appreciated.
-Thakur
-Original Message-
From: Joan Pujol Espinar [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 28, 2001 3:25 PM
To: [EMAIL PROTECTED]
Subject: Re: validation error
Hi,
I have written a Schema that contains couple of elements and an attribute.
When I validate it using one the samples(dom.DOMCount with -v option) it
gives me this error.
java dom.DOMCount -v account.xml
[Error] account.xml:7:51: The content of element type anu:ProductID
must match