Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XSD problem

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The schema structure is incorrect.
complextype shd be follwed by xs:sequence
element cannot have simple type inside it.
etc.,
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Will this help ?
Are you aware of this tiny but good tutorial
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic