0031642: Visualization - crash in Graphic3d_Structure::SetVisual() on redisplaying...
[occt.git] / src / XmlOcafResource / XmlXcaf.xsd
CommitLineData
7fd59977 1<schema targetNamespace="http://www.opencascade.org/OCAF/XML/XCAF"
2 xmlns="http://www.w3.org/2001/XMLSchema"
3 xmlns:ocaf="http://www.opencascade.org/OCAF/XML"
4 elementFormDefault="qualified">
5<import namespace="http://www.opencascade.org/OCAF/XML"
6 schemaLocation="XmlOcaf.xsd"/>
7
8<annotation>
9 <documentation xml:lang="en">
d5f74e42 10 Copyright (c) 2001-2014 OPEN CASCADE SAS
11
12 This file is part of Open CASCADE Technology software library.
13
14 This library is free software; you can redistribute it and/or modify it under
15 the terms of the GNU Lesser General Public License version 2.1 as published
16 by the Free Software Foundation, with special exception defined in the file
17 OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
18 distribution for complete text of the license and disclaimer of any warranty.
19
20 Alternatively, this file may be used under the terms of Open CASCADE
21 commercial license or contractual agreement.
22
7fd59977 23 Open Cascade Application Framework: Definition of attributes from XCAFDoc
24 This file is included in XmlOcaf.xsd
25 URL: $(CASROOT)/src/XmlOcafResource/XmlOcaf_XCAFDoc.xsd
26 </documentation>
27</annotation>
28
29<element name="Area" type="ocaf:AbsRealAttributeType"
30 substitutionGroup="ocaf:AbstractRealAtt"/>
31
32<element name="Volume" type="ocaf:AbsRealAttributeType"
33 substitutionGroup="ocaf:AbstractRealAtt"/>
34
35<element name="Color" type="ocaf:AbsIntegerAttributeType"
36 substitutionGroup="ocaf:AbstractIntegerAtt"/>
37
38<element name="Centroid" type="ocaf:AbsList3RealAttributeType"
39 substitutionGroup="ocaf:AbstractList3RealAtt"/>
40
41<element name="GraphNode" substitutionGroup="ocaf:AbstractAttribute">
42 <complexType>
43 <complexContent>
44 <extension base="ocaf:AbstractAttributeType">
45 <attribute name="treeid" type="ocaf:GuidType" use="required"/>
46 <attribute name="children" type="ocaf:ListOfInteger"/>
47 <attribute name="fathers" type="ocaf:ListOfInteger"/>
48 </extension>
49 </complexContent>
50 </complexType>
51</element>
52
53<element name="Location" substitutionGroup="ocaf:AbstractAttribute">
54 <complexType>
55 <complexContent>
56 <extension base="ocaf:AbstractAttributeType">
57 <sequence>
58 <element ref="ocaf:location" minOccurs="0" maxOccurs="1"/>
59 </sequence>
60 </extension>
61 </complexContent>
62 </complexType>
63</element>
64
65<element name="DocumentTool" substitutionGroup="ocaf:AbstractAttribute">
66 <complexType>
67 <complexContent>
68 <extension base="ocaf:AbstractAttributeType">
69 <sequence>
70 </sequence>
71 </extension>
72 </complexContent>
73 </complexType>
74</element>
75
76<element name="ColorTool" substitutionGroup="ocaf:AbstractAttribute">
77 <complexType>
78 <complexContent>
79 <extension base="ocaf:AbstractAttributeType">
80 <sequence>
81 </sequence>
82 </extension>
83 </complexContent>
84 </complexType>
85</element>
86
87<element name="ShapeTool" substitutionGroup="ocaf:AbstractAttribute">
88 <complexType>
89 <complexContent>
90 <extension base="ocaf:AbstractAttributeType">
91 <sequence>
92 </sequence>
93 </extension>
94 </complexContent>
95 </complexType>
96</element>
97
98<element name="LayerTool" substitutionGroup="ocaf:AbstractAttribute">
99 <complexType>
100 <complexContent>
101 <extension base="ocaf:AbstractAttributeType">
102 <sequence>
103 </sequence>
104 </extension>
105 </complexContent>
106 </complexType>
107</element>
108
109</schema>