Exporting XML Schema does not yield entire schema
Posted: Wed Mar 09, 2016 4:25 pm
When using the "Export XML Schema" function on certain reports, the entire XML schema for the current dictionary is not being exported. Here is the schema that is produced for the attached report. It is missing many elements relative to what is defined in the report dictionary. Please let me know what the issue is.
<?xml version="1.0" standalone="yes"?>
<xs:schema id="Schema" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="Schema" msdata:IsDataSet="true" msdata:Locale="" msdata:EnforceConstraints="False">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="MasterAgreement">
<xs:complexType>
<xs:sequence>
<xs:element name="Id" type="xs:int" minOccurs="0" />
<xs:element name="Number" type="xs:string" minOccurs="0" />
<xs:element name="CompanyShortLabel" type="xs:string" minOccurs="0" />
<xs:element name="EffectiveDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="Notes" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
<?xml version="1.0" standalone="yes"?>
<xs:schema id="Schema" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="Schema" msdata:IsDataSet="true" msdata:Locale="" msdata:EnforceConstraints="False">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="MasterAgreement">
<xs:complexType>
<xs:sequence>
<xs:element name="Id" type="xs:int" minOccurs="0" />
<xs:element name="Number" type="xs:string" minOccurs="0" />
<xs:element name="CompanyShortLabel" type="xs:string" minOccurs="0" />
<xs:element name="EffectiveDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="Notes" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>