Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

<xsd:attribute> & <xsd:sequence> mutually exclusive???

 
Mimi Tam
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone tell me how to straighten this out, please?


>

Error is on the <xs: sequence> line.

In my XML:


The error message:

"s4s-elt-invalid-content.1: The content of '@AnonType_message' is invalid. Element 'sequence' is invalid, misplaced, or occurs too often"

Thanks very much in advance.

xmlerror.png
[Thumbnail for xmlerror.png]
 
Paul Clapham
Sheriff
Pie
Posts: 20758
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's a forum for XML. And the question has nothing to do with JDBC. Moving...
 
Benjamin Hiner
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't have the reference on me but sequences come before attributes.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic