summaryrefslogtreecommitdiff
path: root/libxsd-frontend/tests/schema/annotation/test-000.std
blob: 15f3e89b6ec23d6edf814858d35794ef9c80ac63 (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<schema documentation>
primary
{
  namespace test
  {
    <list type documentation>
    list list http://www.w3.org/2001/XMLSchema#string
    <union type documentation>
    union union http://www.w3.org/2001/XMLSchema#int http://www.w3.org/2001/XMLSchema#string 
    <enumeration type documentation>
    enumeration enum: http://www.w3.org/2001/XMLSchema#string
    {
      <enumerator documentation (male)>
      enumerator male
      <enumerator documentation (female)>
      enumerator female
    }
    <complex type documentation>
    complex type
    {
      <local element efoo documentation>
      element efoo
      <local element ebar documentation>
      element ebar
      <local element ebaz documentation>
      element ebaz
      <any documentation>
      any 'any #0'
      <local attribute afoo documentation>
      optional attribute afoo http://www.w3.org/2001/XMLSchema#string
      <local attribute abar documentation>
      optional attribute abar
      {
        <list type documentation>
        list <anonymous> http://www.w3.org/2001/XMLSchema#string
      }
      <local attribute abaz documentation>
      optional attribute abaz http://www.w3.org/2001/XMLSchema#string
      <anyAttribute documentation>
      any-attribute 'any-attribute #0'
      [1, 1] sequence
      {
        [1, 1] element efoo http://www.w3.org/2001/XMLSchema#string
        [1, 1] element ebar
        {
          complex <anonymous>
          {
            <nested local element efoo documentation>
            element efoo
            <nested local attribute afoo documentation>
            optional attribute afoo http://www.w3.org/2001/XMLSchema#string
            [1, 1] sequence
            {
              [1, 1] element efoo http://www.w3.org/2001/XMLSchema#string
            }
          }
        }
        [1, 1] element ebaz http://www.w3.org/2001/XMLSchema#string
        [1, 1] any 'any #0'
      }
    }
    <global element documentation>
    element ebaz http://www.w3.org/2001/XMLSchema#string
    <global attribute documentation>
    attribute abaz http://www.w3.org/2001/XMLSchema#string
  }
}