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

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change on this file since a40be8c was a40be8c, checked in by Piotr Rozyczko <rozyczko@…>, 8 years ago

Closes #596: Major rewrite to canSAS XML reader to create separate Data1D objects for each SASdata. Also fixed a few bugs that were present in the reader, that were not caught until now.

  • Property mode set to 100644
File size: 3.3 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                <sequence>
27                        <element name="Q" minOccurs="1" maxOccurs="1"    type="tns:floatUnitType" />
28                        <element name="I" minOccurs="1" maxOccurs="1"    type="tns:floatUnitType" />
29                        <element name="Idev" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" default="0" />
30                        <xsd:choice>
31                                <!-- [ [Qdev] | [[dQw] | [dQl]] ] -->
32                                <element name="Qdev" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" default="0" />
33                                <xsd:sequence>
34                                        <element name="dQw" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" default="0" />
35                                        <element name="dQl" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" default="0" />
36                                </xsd:sequence>
37                        </xsd:choice>
38                        <element name="Qmean" minOccurs="0" maxOccurs="1" type="tns:floatUnitType" default="0" />
39                        <element name="Shadowfactor" minOccurs="0" maxOccurs="1" type="string" default="1.0" />
40                        <xsd:any minOccurs="0" maxOccurs="unbounded" processContents="lax" namespace="##other" />
41                </sequence>
42        </complexType>
43       
44        <complexType name="SASdataType">
45                <sequence minOccurs="1" maxOccurs="1">  <!-- http://svn.cansas.org/trac/ticket/21 -->
46                        <sequence>
47                                <element name="Idata" minOccurs="1" maxOccurs="unbounded" type="tns:IdataType" />
48                        </sequence>
49                        <xsd:any minOccurs="0" maxOccurs="unbounded" processContents="lax" namespace="##other" />
50                </sequence>
51                <attribute name="name" type="string" use="optional" default="" />
52                <attribute name="timestamp" type="dateTime" use="optional" />
53        </complexType>
54
55        <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
56
57        <complexType name="SASentryType">
58                <sequence>
59                        <xsd:any minOccurs="0" maxOccurs="unbounded" processContents="lax" />
60                        <element name="SASdata" minOccurs="1" maxOccurs="unbounded" type="tns:SASdataType" />
61                        <xsd:any minOccurs="0" maxOccurs="unbounded" processContents="lax">
62                                <!-- Is a second *any* element needed here? -->
63                                <annotation>
64                                        <appinfo>
65                                                <!-- Remap collision of Any when using JAXB --> 
66                                                <jaxb:property name="SASentryAny2" />
67                                        </appinfo>
68                                </annotation>
69                        </xsd:any>
70                </sequence>
71                <attribute name="name" type="string" use="optional" default="" />
72        </complexType>
73
74        <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
75
76        <complexType name="SASrootType">
77                <sequence>
78                        <element name="SASentry" minOccurs="1" maxOccurs="unbounded" type="tns:SASentryType" />
79                </sequence>
80                <attribute name="version" type="string" fixed="1.0" use="optional" />
81        </complexType>
82
83        <element name="SASroot" type="tns:SASrootType" />
84
85</schema>
Note: See TracBrowser for help on using the repository browser.