Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » XSD Help( The type attribute cannot be present with either simpleType or complexType. )
XSD Help [message #1292748] Fri, 11 April 2014 22:45 Go to next message
Abhinav Singh is currently offline Abhinav Singh
Messages: 1
Registered: April 2014
Junior Member
Hey Guys,
I have written the following XSD file with the help of W3Schools. But while validating the file I'm getting the following error:

The type attribute cannot be present with either simpleType or complexType.

I have attached Persons.xml and Persons.xsd in the message.
Please have a look and suggest any changes. I'm not able to figure out what's
the problem with my syntax.

Thanks in advance
Re: XSD Help [message #1293351 is a reply to message #1292748] Sat, 12 April 2014 10:59 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25942
Registered: July 2009
Senior Member
Abhinav,

This newsgroup is for helping use Eclipse's XSD API/model, not for
general questions about XML Schema.


On 12/04/2014 4:37 PM, Abhinav Singh wrote:
> Hey Guys,
> I have written the following XSD file with the help of W3Schools. But
> while validating the file I'm getting the following error:
>
> The type attribute cannot be present with either simpleType or
> complexType.
> I have attached Persons.xml and Persons.xsd in the message.
> Please have a look and suggest any changes. I'm not able to figure out
> what's the problem with my syntax.
>
> Thanks in advance
>
Previous Topic:XSD Schema Editor Question
Next Topic:Empty Closed Element
Goto Forum:
  


Current Time: Wed Jul 30 01:01:18 EDT 2014

Powered by FUDForum. Page generated in 0.33940 seconds