The way you declare the simpletype is incorrect. Check for examples from that tutorial you were pointed to in the other thread.. If I were you, I would also consider these things: - Why do you need simpleType for the comment-element? Why not just declare it like this: ? - Should the comment-element perhaps be under the root element (record)? - Do you really wan't to use sequences? Check what you can do for example with and tags.. and also check the use of minOccurs and maxOccurs attributes with those elements.