> i ran it through a schema validator and it seems okay. also, if i
> change the xsd:any to something else (xsd:string, xsd:integer),
> everything works fine.
OK. Throw away that schema validator immediately (I hope that's not MSV!)
because it's just plain broken.
Let me guess. You are using XMLSpy.
> <xsd:complexType name="ResponseType">
> <xsd:choice>
> <xsd:sequence>
> <xsd:element name="Results" type="xsd:any"
> maxOccurs="unbounded"/>
> </xsd:sequence>
> <xsd:element name="Error" type="xsd:string"/>
> </xsd:choice>
> </xsd:complexType>
Unfortunately, I don't know how you intend to constrain, so I can't
really comment on how you should fix it.
You mean this?
<xsd:sequence>
<xsd:any maxOccurs="unbounded" />
</xsd:sequence>
regards,
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net