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

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
yqian2019
Posts: 1
Joined: Sat Dec 14, 2019 9:12 am

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

Post by yqian2019 » Sun Dec 15, 2019 4:04 am

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

tavy
Posts: 202
Joined: Thu Jul 01, 2004 12:29 pm

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

Post by tavy » Tue Jan 07, 2020 9:48 am

Hello,

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

Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply