Page 1 of 1

How to manage supported namespaces for node of "xs:any" type?

Posted: Sun Dec 15, 2019 4:04 am
by yqian2019
Hi,

I have a schema which has a few "xs:any" nodes, and the supported namespaces and types are listed in the Annotation/documentation part of that type as shown below:

Code: Select all

	<xs:complexType name="MySampleType">
		<xs:annotation>
			<xs:documentation xml:lang="en">
				This complex type is used to ....
				Allowable types:
					urn:xxx::xxx:sampleallowedtypes:defn:v1:SampleProduct
					urn:yyy:yyy:...
					urn:zzz:zzz..
			</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="MyDataType">
				<xs:sequence>
					<xs:any processContents="lax"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
On generating the schema documentation, I want have the list of supported types for the "xs:any" node built into it, so that in the document, these supported types are listed under the "any" node. I tried with the schema generation tool, but it does not include the supported types. I think that should be possible since our team built the documentation in that way before.
Can anyone help how to solve this problem?

Thanks for any help!
Kevin

Re: How to manage supported namespaces for node of "xs:any" type?

Posted: Tue Jan 07, 2020 9:48 am
by tavy
Hello,

As an update, the user tested and found that there is a problem on their side.

Best Regards,
Octavian