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

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 83c09af was 83c09af, checked in by krzywon, 7 years ago

Fit states and projects are now able to save 2D data. Loading is still not working. #827

  • Property mode set to 100644
File size: 3.9 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        </complexType>
65
66        <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
67
68        <complexType name="SASentryType">
69                <sequence>
70                        <xsd:any minOccurs="0" maxOccurs="unbounded" processContents="lax" />
71                        <element name="SASdata" minOccurs="1" maxOccurs="unbounded" type="tns:SASdataType" />
72                        <xsd:any minOccurs="0" maxOccurs="unbounded" processContents="lax">
73                                <!-- Is a second *any* element needed here? -->
74                                <annotation>
75                                        <appinfo>
76                                                <!-- Remap collision of Any when using JAXB --> 
77                                                <jaxb:property name="SASentryAny2" />
78                                        </appinfo>
79                                </annotation>
80                        </xsd:any>
81                </sequence>
82                <attribute name="name" type="string" use="optional" default="" />
83        </complexType>
84
85        <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
86
87        <complexType name="SASrootType">
88                <sequence>
89                        <element name="SASentry" minOccurs="1" maxOccurs="unbounded" type="tns:SASentryType" />
90                </sequence>
91                <attribute name="version" type="string" fixed="1.0" use="optional" />
92        </complexType>
93
94        <element name="SASroot" type="tns:SASrootType" />
95
96</schema>
Note: See TracBrowser for help on using the repository browser.