blob: 087fc7e745fc22ad6603c81ccfa8c995369a2698 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
<?xml version="1.0"?>
<!--
file : examples/cxx/parser/wildcard/email.xsd
copyright : not copyrighted - public domain
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:eml="http://www.codesynthesis.com/email"
targetNamespace="http://www.codesynthesis.com/email">
<!-- Predefined envolop body types. -->
<xsd:element name="text" type="xsd:string"/>
<xsd:complexType name="binary">
<xsd:simpleContent>
<xsd:extension base="xsd:base64Binary">
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attribute name="mime" type="xsd:string" use="required"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:element name="binary" type="eml:binary"/>
<!-- Predefined envelop attributes. -->
<xsd:attribute name="thread-id" type="xsd:unsignedInt"/>
<xsd:complexType name="envelope">
<xsd:sequence>
<xsd:element name="to" type="xsd:string"/>
<xsd:element name="from" type="xsd:string"/>
<xsd:element name="subject" type="xsd:string"/>
<!-- Extensible envelope body. -->
<xsd:any namespace="##targetNamespace" processContents="strict"
maxOccurs="unbounded" />
</xsd:sequence>
<xsd:anyAttribute namespace="##targetNamespace" processContents="strict"/>
</xsd:complexType>
<xsd:element name="message" type="eml:envelope"/>
</xsd:schema>
|