I have a simple Java class that I am commenting using JAXB:
class Foo { @XmlAnyElement(lax=true) List<Object> any; }
Creates the following schema:
<xs:complexType name="foo"> <xs:sequence> <xs:any processContents="lax" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType>
Is there a way to set the namespace attribute for the <any> element so that it is generated as:
<xs:any namespace="##targetNamespace" processContents="lax" maxOccurs="unbounded"/>
schmimd04
source share