Exporting XML Schema does not yield entire schema

Stimulsoft Ultimate discussion
Post Reply
jdempsey@kahua.com
Posts: 28
Joined: Tue Oct 04, 2011 7:13 pm
Location: USA

Exporting XML Schema does not yield entire schema

Post by jdempsey@kahua.com »

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>
Attachments
MasterAgreementReport.mrt
(54.89 KiB) Downloaded 351 times
jdempsey@kahua.com
Posts: 28
Joined: Tue Oct 04, 2011 7:13 pm
Location: USA

Re: Exporting XML Schema does not yield entire schema

Post by jdempsey@kahua.com »

Quick update on this. After looking at the report a little closer, it appears that as soon as an attribute that is defined as a column that is defined with a nullable type (i.e. datetime (Nullable)), the export schema stops. Is this by design?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Exporting XML Schema does not yield entire schema

Post by HighAley »

Hello.

We have made an improvement.
Please, check our next prerelease build that will be available tomorrow.

Thank you.
Post Reply