Skip to content

Commit aefe7ef

Browse files
committed
Update PyXB bindings to 1.2.6
1 parent 1e97a3e commit aefe7ef

File tree

6 files changed

+2351
-0
lines changed

6 files changed

+2351
-0
lines changed

lib_common/d1_common/types/generated/__init__.py

Whitespace-only changes.
Binary file not shown.
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<xs:schema targetNamespace="http://ns.dataone.org/service/errors/v1"
3+
xmlns:d1="http://ns.dataone.org/service/errors/v1"
4+
xmlns:d1t="http://ns.dataone.org/service/types/v1"
5+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
6+
version="1.2.0"
7+
elementFormDefault="unqualified"
8+
attributeFormDefault="unqualified">
9+
10+
<!--
11+
About this document:
12+
13+
This XML Schema document defines a structure that is used to support
14+
transmission of error information between the major components of the DataONE
15+
infrastructure.
16+
17+
License:
18+
19+
This work was created by participants in the DataONE project, and is
20+
jointly copyrighted by participating institutions in DataONE. For
21+
more information on DataONE, see our web site at http://dataone.org.
22+
23+
Copyright 2012
24+
25+
Licensed under the Apache License, Version 2.0 (the "License");
26+
you may not use this file except in compliance with the License.
27+
You may obtain a copy of the License at
28+
29+
http://www.apache.org/licenses/LICENSE-2.0
30+
31+
Unless required by applicable law or agreed to in writing, software
32+
distributed under the License is distributed on an "AS IS" BASIS,
33+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34+
See the License for the specific language governing permissions and
35+
limitations under the License.
36+
37+
Formatting:
38+
39+
- This document should be saved as a UTF-8 encoded file.
40+
41+
- Indent using spaces, not tabs, with two spaces per indent level.
42+
43+
- Line wrapping should be set to 80 chars, adjusted as necessary
44+
45+
-->
46+
<!-- A derived string type with at least length 1 and it must contain non-whitespace -->
47+
<!-- <xs:simpleType name="d1:NonEmptyString">
48+
<xs:restriction base="xs:string">
49+
<xs:minLength value="1" />
50+
<xs:pattern value="[\s]*[\S][\s\S]*" />
51+
</xs:restriction>
52+
</xs:simpleType>
53+
-->
54+
<xs:import namespace="http://ns.dataone.org/service/types/v1"
55+
schemaLocation="http://ns.dataone.org/service/types/v1" />
56+
57+
58+
<!-- Exception type for error serialization in DataONE -->
59+
<xs:complexType name="DataONEException">
60+
<xs:annotation>
61+
<xs:documentation>Defines a structure for serializing DataONE
62+
Exceptions.</xs:documentation>
63+
</xs:annotation>
64+
<xs:sequence>
65+
<xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
66+
<xs:element name="traceInformation" minOccurs="0" maxOccurs="1" type="xs:anyType"></xs:element>
67+
</xs:sequence>
68+
<xs:attribute name="name" type="d1t:NonEmptyString" use="required"></xs:attribute>
69+
<xs:attribute name="errorCode" type="xs:integer" use="required"></xs:attribute>
70+
<xs:attribute name="detailCode" type="d1t:NonEmptyString" use="required"></xs:attribute>
71+
<xs:attribute name='identifier' type="d1t:NonEmptyString" use="optional"></xs:attribute>
72+
<xs:attribute name='nodeId' type="d1t:NonEmptyString" use="optional"></xs:attribute>
73+
</xs:complexType>
74+
75+
<xs:element name="error" type="d1:DataONEException" />
76+
</xs:schema>

0 commit comments

Comments
 (0)