source: sasview/src/sas/sascalc/dataloader/readers/schema/cansas1d_invalid_v1_0.xsd @ af08e55

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since af08e55 was af08e55, checked in by krzywon, 7 years ago

Saving and loading of 2D data within projects and fit save states is working. This works alongside saving and loading 1D fits withint the same .svs file. #827

  • Property mode set to 100644
File size: 4.0 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<?xml-stylesheet type="text/xsl" href="xsd-documentation.xsl" ?>
3<schema xmlns="http://www.w3.org/2001/XMLSchema"
4        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
5        xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"  jaxb:version="2.0"
6        targetNamespace="cansas1d/1.0" xmlns:tns="cansas1d/1.0"
7        elementFormDefault="qualified">
8
9<!--
10Copyright (c) 2013, UChicago Argonne, LLC
11This file is distributed subject to a Software License Agreement found
12in the file LICENSE that is included with this distribution.
13 -->
14 
15<!-- JAXB: http://java.sun.com/developer/technicalArticles/WebServices/jaxb/ -->
16
17        <complexType name="floatUnitType">
18                <simpleContent>
19                        <extension base="string">
20                                <attribute name="unit" type="string" use="required" />
21                        </extension>
22                </simpleContent>
23        </complexType>
24
25        <complexType name="IdataType">
26                <xsd:choice>
27                <sequence>
28                        <element name="Q" minOccurs="1" maxOccurs="1"    type="tns:floatUnitType" />
29                        <element name="I" minOccurs="1" maxOccurs="1"    type="tns:floatUnitType" />
30                        <element name="Idev" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" default="0" />
31                        <xsd:choice>
32                                <!-- [ [Qdev] | [[dQw] | [dQl]] ] -->
33                                <element name="Qdev" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" default="0" />
34                                <xsd:sequence>
35                                        <element name="dQw" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" default="0" />
36                                        <element name="dQl" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" default="0" />
37                                </xsd:sequence>
38                        </xsd:choice>
39                        <element name="Qmean" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" default="0" />
40                        <element name="Shadowfactor" minOccurs="0" maxOccurs="1" type="string" default="1.0" />
41                        <xsd:any minOccurs="0" maxOccurs="unbounded" processContents="lax" namespace="##other" />
42                </sequence>
43                <sequence>
44                        <element name="Qx" minOccurs="1" maxOccurs="1"    type="tns:floatUnitType" />
45                        <element name="Qy" minOccurs="1" maxOccurs="1"    type="tns:floatUnitType" />
46                        <element name="I" minOccurs="1" maxOccurs="1"    type="tns:floatUnitType" />
47                        <element name="Idev" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" default="0" />
48                        <element name="Qydev" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" default="0" />
49                        <element name="Qxdev" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" default="0" />
50                        <element name="Mask" minOccurs="0" maxOccurs="1" type="string" default="0" />
51                </sequence>
52                </xsd:choice>
53        </complexType>
54       
55        <complexType name="SASdataType">
56                <sequence minOccurs="1" maxOccurs="1">  <!-- http://svn.cansas.org/trac/ticket/21 -->
57                        <sequence>
58                                <element name="Idata" minOccurs="1" maxOccurs="unbounded" type="tns:IdataType" />
59                        </sequence>
60                        <xsd:any minOccurs="0" maxOccurs="unbounded" processContents="lax" namespace="##other" />
61                </sequence>
62                <attribute name="name" type="string" use="optional" default="" />
63                <attribute name="timestamp" type="dateTime" use="optional" />
64                <attribute name="x_bins" type="string" use="optional" />
65                <attribute name="y_bins" type="string" use="optional" />
66        </complexType>
67
68        <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
69
70        <complexType name="SASentryType">
71                <sequence>
72                        <xsd:any minOccurs="0" maxOccurs="unbounded" processContents="lax" />
73                        <element name="SASdata" minOccurs="1" maxOccurs="unbounded" type="tns:SASdataType" />
74                        <xsd:any minOccurs="0" maxOccurs="unbounded" processContents="lax">
75                                <!-- Is a second *any* element needed here? -->
76                                <annotation>
77                                        <appinfo>
78                                                <!-- Remap collision of Any when using JAXB --> 
79                                                <jaxb:property name="SASentryAny2" />
80                                        </appinfo>
81                                </annotation>
82                        </xsd:any>
83                </sequence>
84                <attribute name="name" type="string" use="optional" default="" />
85        </complexType>
86
87        <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
88
89        <complexType name="SASrootType">
90                <sequence>
91                        <element name="SASentry" minOccurs="1" maxOccurs="unbounded" type="tns:SASentryType" />
92                </sequence>
93                <attribute name="version" type="string" fixed="1.0" use="optional" />
94        </complexType>
95
96        <element name="SASroot" type="tns:SASrootType" />
97
98</schema>
Note: See TracBrowser for help on using the repository browser.