aspose file tools*
The moose likes XML and Related Technologies and the fly likes <xsd:attribute> & <xsd:sequence> mutually exclusive??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "<xsd:attribute> & <xsd:sequence> mutually exclusive???" Watch "<xsd:attribute> & <xsd:sequence> mutually exclusive???" New topic
Author

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

Mimi Tam
Ranch Hand

Joined: Mar 05, 2010
Posts: 121
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.



[Thumbnail for xmlerror.png]

Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

There's a forum for XML. And the question has nothing to do with JDBC. Moving...
Benjamin Hiner
Greenhorn

Joined: Feb 27, 2009
Posts: 12
I don't have the reference on me but sequences come before attributes.

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