[xsd-users] warning with any
Rizzuto, Raymond
Raymond.Rizzuto at sig.com
Tue Jul 1 18:12:45 EDT 2008
Hi!
I have been getting (and ignoring) errors like these:
1>SDMP-1.2.xsd:738:90: warning: namespace '##any' allows for element 'ticket'
1>SDMP-1.2.xsd:738:90: warning: generated code may not associate element 'ticket' correctly if it appears in place of this wildcard
1>SDMP-1.2.xsd:601:46: info: element 'ticket' is defined here
1>SDMP-1.2.xsd:738:90: warning: namespace '##any' allows for element 'price'
1>SDMP-1.2.xsd:738:90: warning: generated code may not associate element 'price' correctly if it appears in place of this wildcard
1>SDMP-1.2.xsd:602:44: info: element 'price' is defined here
The errors occur with this definition:
<xs:sequence>
<xs:element ref="ticket" minOccurs="0"/>
<xs:element name="price" type="Price">
<xs:annotation>
<xs:documentation>The price the order originator is willing to pay (or accept) if it is a number.</xs:documentation>
</xs:annotation>
</xs:element>
.
.
.
<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Additional elements may be added in future revisions.</xs:documentation>
</xs:annotation>
</xs:any>
</xs:sequence>
Is there something I can do to eliminate the reason for the warning?
Ray
________________________________
Ray Rizzuto
raymond.rizzuto at sig.com
Susquehanna International Group
(610)747-2336 (W)
(215)776-3780 (C)
________________________________
IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.
More information about the xsd-users
mailing list