aspose file tools*
The moose likes XML and Related Technologies and the fly likes XSD problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XSD problem" Watch "XSD problem" New topic
Author

XSD problem

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

HI all.
I am using XMLSPY to create the following schema:

but xmlspy complains that <xs:element name="to"> is unexpected...
why???
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
The schema structure is incorrect.
complextype shd be follwed by xs:sequence
element cannot have simple type inside it.
etc.,


Spritle Software Blogs
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Thanks, but look at this : (please be patient) these days I am learning the schemas

and now, I reserved unexpected restirction element....
Message edited for better readability: Balaji
[ April 20, 2004: Message edited by: Balaji Loganathan ]
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150

Will this help ?
Are you aware of this tiny but good tutorial
 
 
subject: XSD problem