This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes XSD problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "XSD problem" Watch "XSD problem" New topic
Author

XSD problem

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3359

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: 3359

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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel/download
 
subject: XSD problem
 
Similar Threads
Axis 1.4 throwing org.xml.sax.SAXException: Invalid element
XSD element validation
Please Help me.- Schema problem
unble to validate xml against schema
schema generation