GDML Validation error

Hi,
I am trying to load a GDML script to GEANT4.
I have installed xerces and included DGEANT4_USE_GDML=ON when compiling geant4.
I have used freeCad to export a GDML file however, when I run the program I get the following validation errors (apologize for the length):

G4GDML: Reading ‘s.gdml’…
G4GDML: VALIDATION ERROR! no declaration found for element ‘gdml’ at line: 2
G4GDML: VALIDATION ERROR! attribute ‘{http://www.w3.org/2000/xmlns/}xsi’ is not declared for element ‘gdml’ at line: 2
G4GDML: VALIDATION ERROR! attribute ‘{http://www.w3.org/2001/XMLSchema-instance}noNameSpaceSchemaLocation’ is not declared for element ‘gdml’ at line: 2
G4GDML: VALIDATION ERROR! no declaration found for element ‘define’ at line: 3
G4GDML: VALIDATION ERROR! no declaration found for element ‘constant’ at line: 4
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘constant’ at line: 4
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘constant’ at line: 4
G4GDML: VALIDATION ERROR! no declaration found for element ‘materials’ at line: 6
G4GDML: VALIDATION ERROR! no declaration found for element ‘isotope’ at line: 7
G4GDML: VALIDATION ERROR! attribute ‘N’ is not declared for element ‘isotope’ at line: 7
G4GDML: VALIDATION ERROR! attribute ‘Z’ is not declared for element ‘isotope’ at line: 7
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘isotope’ at line: 7
G4GDML: VALIDATION ERROR! no declaration found for element ‘atom’ at line: 8
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘atom’ at line: 8
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘atom’ at line: 8
G4GDML: VALIDATION ERROR! no declaration found for element ‘isotope’ at line: 10
G4GDML: VALIDATION ERROR! attribute ‘N’ is not declared for element ‘isotope’ at line: 10
G4GDML: VALIDATION ERROR! attribute ‘Z’ is not declared for element ‘isotope’ at line: 10
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘isotope’ at line: 10
G4GDML: VALIDATION ERROR! no declaration found for element ‘atom’ at line: 11
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘atom’ at line: 11
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘atom’ at line: 11
G4GDML: VALIDATION ERROR! no declaration found for element ‘isotope’ at line: 13
G4GDML: VALIDATION ERROR! attribute ‘N’ is not declared for element ‘isotope’ at line: 13
G4GDML: VALIDATION ERROR! attribute ‘Z’ is not declared for element ‘isotope’ at line: 13
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘isotope’ at line: 13
G4GDML: VALIDATION ERROR! no declaration found for element ‘atom’ at line: 14
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘atom’ at line: 14
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘atom’ at line: 14
G4GDML: VALIDATION ERROR! no declaration found for element ‘isotope’ at line: 16
G4GDML: VALIDATION ERROR! attribute ‘N’ is not declared for element ‘isotope’ at line: 16
G4GDML: VALIDATION ERROR! attribute ‘Z’ is not declared for element ‘isotope’ at line: 16
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘isotope’ at line: 16
G4GDML: VALIDATION ERROR! no declaration found for element ‘atom’ at line: 17
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘atom’ at line: 17
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘atom’ at line: 17
G4GDML: VALIDATION ERROR! no declaration found for element ‘isotope’ at line: 19
G4GDML: VALIDATION ERROR! attribute ‘N’ is not declared for element ‘isotope’ at line: 19
G4GDML: VALIDATION ERROR! attribute ‘Z’ is not declared for element ‘isotope’ at line: 19
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘isotope’ at line: 19
G4GDML: VALIDATION ERROR! no declaration found for element ‘atom’ at line: 20
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘atom’ at line: 20
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘atom’ at line: 20
G4GDML: VALIDATION ERROR! no declaration found for element ‘isotope’ at line: 22
G4GDML: VALIDATION ERROR! attribute ‘N’ is not declared for element ‘isotope’ at line: 22
G4GDML: VALIDATION ERROR! attribute ‘Z’ is not declared for element ‘isotope’ at line: 22
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘isotope’ at line: 22
G4GDML: VALIDATION ERROR! no declaration found for element ‘atom’ at line: 23
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘atom’ at line: 23
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘atom’ at line: 23
G4GDML: VALIDATION ERROR! no declaration found for element ‘isotope’ at line: 25
G4GDML: VALIDATION ERROR! attribute ‘N’ is not declared for element ‘isotope’ at line: 25
G4GDML: VALIDATION ERROR! attribute ‘Z’ is not declared for element ‘isotope’ at line: 25
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘isotope’ at line: 25
G4GDML: VALIDATION ERROR! no declaration found for element ‘atom’ at line: 26
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘atom’ at line: 26
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘atom’ at line: 26
G4GDML: VALIDATION ERROR! no declaration found for element ‘isotope’ at line: 28
G4GDML: VALIDATION ERROR! attribute ‘N’ is not declared for element ‘isotope’ at line: 28
G4GDML: VALIDATION ERROR! attribute ‘Z’ is not declared for element ‘isotope’ at line: 28
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘isotope’ at line: 28
G4GDML: VALIDATION ERROR! no declaration found for element ‘atom’ at line: 29
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘atom’ at line: 29
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘atom’ at line: 29
G4GDML: VALIDATION ERROR! no declaration found for element ‘isotope’ at line: 31
G4GDML: VALIDATION ERROR! attribute ‘N’ is not declared for element ‘isotope’ at line: 31
G4GDML: VALIDATION ERROR! attribute ‘Z’ is not declared for element ‘isotope’ at line: 31
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘isotope’ at line: 31
G4GDML: VALIDATION ERROR! no declaration found for element ‘atom’ at line: 32
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘atom’ at line: 32
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘atom’ at line: 32
G4GDML: VALIDATION ERROR! no declaration found for element ‘isotope’ at line: 34
G4GDML: VALIDATION ERROR! attribute ‘N’ is not declared for element ‘isotope’ at line: 34
G4GDML: VALIDATION ERROR! attribute ‘Z’ is not declared for element ‘isotope’ at line: 34
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘isotope’ at line: 34
G4GDML: VALIDATION ERROR! no declaration found for element ‘atom’ at line: 35
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘atom’ at line: 35
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘atom’ at line: 35
G4GDML: VALIDATION ERROR! no declaration found for element ‘isotope’ at line: 37
G4GDML: VALIDATION ERROR! attribute ‘N’ is not declared for element ‘isotope’ at line: 37
G4GDML: VALIDATION ERROR! attribute ‘Z’ is not declared for element ‘isotope’ at line: 37
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘isotope’ at line: 37
G4GDML: VALIDATION ERROR! no declaration found for element ‘atom’ at line: 38
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘atom’ at line: 38
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘atom’ at line: 38
G4GDML: VALIDATION ERROR! no declaration found for element ‘isotope’ at line: 40
G4GDML: VALIDATION ERROR! attribute ‘N’ is not declared for element ‘isotope’ at line: 40
G4GDML: VALIDATION ERROR! attribute ‘Z’ is not declared for element ‘isotope’ at line: 40
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘isotope’ at line: 40
G4GDML: VALIDATION ERROR! no declaration found for element ‘atom’ at line: 41
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘atom’ at line: 41
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘atom’ at line: 41
G4GDML: VALIDATION ERROR! no declaration found for element ‘isotope’ at line: 43
G4GDML: VALIDATION ERROR! attribute ‘N’ is not declared for element ‘isotope’ at line: 43
G4GDML: VALIDATION ERROR! attribute ‘Z’ is not declared for element ‘isotope’ at line: 43
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘isotope’ at line: 43
G4GDML: VALIDATION ERROR! no declaration found for element ‘atom’ at line: 44
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘atom’ at line: 44
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘atom’ at line: 44
G4GDML: VALIDATION ERROR! no declaration found for element ‘isotope’ at line: 46
G4GDML: VALIDATION ERROR! attribute ‘N’ is not declared for element ‘isotope’ at line: 46
G4GDML: VALIDATION ERROR! attribute ‘Z’ is not declared for element ‘isotope’ at line: 46
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘isotope’ at line: 46
G4GDML: VALIDATION ERROR! no declaration found for element ‘atom’ at line: 47
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘atom’ at line: 47
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘atom’ at line: 47
G4GDML: VALIDATION ERROR! no declaration found for element ‘isotope’ at line: 49
G4GDML: VALIDATION ERROR! attribute ‘N’ is not declared for element ‘isotope’ at line: 49
G4GDML: VALIDATION ERROR! attribute ‘Z’ is not declared for element ‘isotope’ at line: 49
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘isotope’ at line: 49
G4GDML: VALIDATION ERROR! no declaration found for element ‘atom’ at line: 50
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘atom’ at line: 50
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘atom’ at line: 50
G4GDML: VALIDATION ERROR! no declaration found for element ‘isotope’ at line: 52
G4GDML: VALIDATION ERROR! attribute ‘N’ is not declared for element ‘isotope’ at line: 52
G4GDML: VALIDATION ERROR! attribute ‘Z’ is not declared for element ‘isotope’ at line: 52
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘isotope’ at line: 52
G4GDML: VALIDATION ERROR! no declaration found for element ‘atom’ at line: 53
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘atom’ at line: 53
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘atom’ at line: 53
G4GDML: VALIDATION ERROR! no declaration found for element ‘isotope’ at line: 55
G4GDML: VALIDATION ERROR! attribute ‘N’ is not declared for element ‘isotope’ at line: 55
G4GDML: VALIDATION ERROR! attribute ‘Z’ is not declared for element ‘isotope’ at line: 55
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘isotope’ at line: 55
G4GDML: VALIDATION ERROR! no declaration found for element ‘atom’ at line: 56
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘atom’ at line: 56
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘atom’ at line: 56
G4GDML: VALIDATION ERROR! no declaration found for element ‘isotope’ at line: 58
G4GDML: VALIDATION ERROR! attribute ‘N’ is not declared for element ‘isotope’ at line: 58
G4GDML: VALIDATION ERROR! attribute ‘Z’ is not declared for element ‘isotope’ at line: 58
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘isotope’ at line: 58
G4GDML: VALIDATION ERROR! no declaration found for element ‘atom’ at line: 59
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘atom’ at line: 59
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘atom’ at line: 59
G4GDML: VALIDATION ERROR! no declaration found for element ‘isotope’ at line: 61
G4GDML: VALIDATION ERROR! attribute ‘N’ is not declared for element ‘isotope’ at line: 61
G4GDML: VALIDATION ERROR! attribute ‘Z’ is not declared for element ‘isotope’ at line: 61
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘isotope’ at line: 61
G4GDML: VALIDATION ERROR! no declaration found for element ‘atom’ at line: 62
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘atom’ at line: 62
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘atom’ at line: 62
G4GDML: VALIDATION ERROR! no declaration found for element ‘isotope’ at line: 64
G4GDML: VALIDATION ERROR! attribute ‘N’ is not declared for element ‘isotope’ at line: 64
G4GDML: VALIDATION ERROR! attribute ‘Z’ is not declared for element ‘isotope’ at line: 64
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘isotope’ at line: 64
G4GDML: VALIDATION ERROR! no declaration found for element ‘atom’ at line: 65
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘atom’ at line: 65
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘atom’ at line: 65
G4GDML: VALIDATION ERROR! no declaration found for element ‘isotope’ at line: 67
G4GDML: VALIDATION ERROR! attribute ‘N’ is not declared for element ‘isotope’ at line: 67
G4GDML: VALIDATION ERROR! attribute ‘Z’ is not declared for element ‘isotope’ at line: 67
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘isotope’ at line: 67
G4GDML: VALIDATION ERROR! no declaration found for element ‘atom’ at line: 68
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘atom’ at line: 68
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘atom’ at line: 68
G4GDML: VALIDATION ERROR! no declaration found for element ‘isotope’ at line: 70
G4GDML: VALIDATION ERROR! attribute ‘N’ is not declared for element ‘isotope’ at line: 70
G4GDML: VALIDATION ERROR! attribute ‘Z’ is not declared for element ‘isotope’ at line: 70
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘isotope’ at line: 70
G4GDML: VALIDATION ERROR! no declaration found for element ‘atom’ at line: 71
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘atom’ at line: 71
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘atom’ at line: 71
G4GDML: VALIDATION ERROR! no declaration found for element ‘isotope’ at line: 73
G4GDML: VALIDATION ERROR! attribute ‘N’ is not declared for element ‘isotope’ at line: 73
G4GDML: VALIDATION ERROR! attribute ‘Z’ is not declared for element ‘isotope’ at line: 73
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘isotope’ at line: 73
G4GDML: VALIDATION ERROR! no declaration found for element ‘atom’ at line: 74
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘atom’ at line: 74
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘atom’ at line: 74
G4GDML: VALIDATION ERROR! no declaration found for element ‘element’ at line: 76
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘element’ at line: 76
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 77
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 77
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 77
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 78
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 78
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 78
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 79
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 79
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 79
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 80
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 80
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 80
G4GDML: VALIDATION ERROR! no declaration found for element ‘element’ at line: 82
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘element’ at line: 82
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 83
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 83
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 83
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 84
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 84
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 84
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 85
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 85
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 85
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 86
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 86
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 86
G4GDML: VALIDATION ERROR! no declaration found for element ‘element’ at line: 88
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘element’ at line: 88
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 89
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 89
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 89
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 90
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 90
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 90
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 91
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 91
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 91
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 92
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 92
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 92
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 93
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 93
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 93
G4GDML: VALIDATION ERROR! no declaration found for element ‘element’ at line: 95
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘element’ at line: 95
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 96
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 96
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 96
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 97
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 97
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 97
G4GDML: VALIDATION ERROR! no declaration found for element ‘element’ at line: 99
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘element’ at line: 99
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 100
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 100
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 100
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 101
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 101
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 101
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 102
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 102
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 102
G4GDML: VALIDATION ERROR! no declaration found for element ‘element’ at line: 104
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘element’ at line: 104
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 105
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 105
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 105
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 106
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 106
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 106
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 107
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 107
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 107
G4GDML: VALIDATION ERROR! no declaration found for element ‘material’ at line: 109
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘material’ at line: 109
G4GDML: VALIDATION ERROR! no declaration found for element ‘D’ at line: 110
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘D’ at line: 110
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘D’ at line: 110
G4GDML: VALIDATION ERROR! no declaration found for element ‘T’ at line: 111
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘T’ at line: 111
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘T’ at line: 111
G4GDML: VALIDATION ERROR! no declaration found for element ‘MEE’ at line: 112
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘MEE’ at line: 112
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘MEE’ at line: 112
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 113
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 113
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 113
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 114
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 114
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 114
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 115
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 115
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 115
G4GDML: VALIDATION ERROR! no declaration found for element ‘material’ at line: 117
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘material’ at line: 117
G4GDML: VALIDATION ERROR! no declaration found for element ‘D’ at line: 118
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘D’ at line: 118
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘D’ at line: 118
G4GDML: VALIDATION ERROR! no declaration found for element ‘T’ at line: 119
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘T’ at line: 119
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘T’ at line: 119
G4GDML: VALIDATION ERROR! no declaration found for element ‘MEE’ at line: 120
G4GDML: VALIDATION ERROR! attribute ‘unit’ is not declared for element ‘MEE’ at line: 120
G4GDML: VALIDATION ERROR! attribute ‘value’ is not declared for element ‘MEE’ at line: 120
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 121
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 121
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 121
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 122
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 122
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 122
G4GDML: VALIDATION ERROR! no declaration found for element ‘fraction’ at line: 123
G4GDML: VALIDATION ERROR! attribute ‘n’ is not declared for element ‘fraction’ at line: 123
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘fraction’ at line: 123
G4GDML: VALIDATION ERROR! no declaration found for element ‘solids’ at line: 126
G4GDML: VALIDATION ERROR! no declaration found for element ‘box’ at line: 127
G4GDML: VALIDATION ERROR! attribute ‘lunit’ is not declared for element ‘box’ at line: 127
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘box’ at line: 127
G4GDML: VALIDATION ERROR! attribute ‘x’ is not declared for element ‘box’ at line: 127
G4GDML: VALIDATION ERROR! attribute ‘y’ is not declared for element ‘box’ at line: 127
G4GDML: VALIDATION ERROR! attribute ‘z’ is not declared for element ‘box’ at line: 127
G4GDML: VALIDATION ERROR! no declaration found for element ‘sphere’ at line: 128
G4GDML: VALIDATION ERROR! attribute ‘aunit’ is not declared for element ‘sphere’ at line: 128
G4GDML: VALIDATION ERROR! attribute ‘deltaphi’ is not declared for element ‘sphere’ at line: 128
G4GDML: VALIDATION ERROR! attribute ‘deltatheta’ is not declared for element ‘sphere’ at line: 128
G4GDML: VALIDATION ERROR! attribute ‘lunit’ is not declared for element ‘sphere’ at line: 128
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘sphere’ at line: 128
G4GDML: VALIDATION ERROR! attribute ‘rmax’ is not declared for element ‘sphere’ at line: 128
G4GDML: VALIDATION ERROR! attribute ‘rmin’ is not declared for element ‘sphere’ at line: 128
G4GDML: VALIDATION ERROR! attribute ‘startphi’ is not declared for element ‘sphere’ at line: 128
G4GDML: VALIDATION ERROR! attribute ‘starttheta’ is not declared for element ‘sphere’ at line: 128
G4GDML: VALIDATION ERROR! no declaration found for element ‘structure’ at line: 130
G4GDML: VALIDATION ERROR! no declaration found for element ‘volume’ at line: 131
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘volume’ at line: 131
G4GDML: VALIDATION ERROR! no declaration found for element ‘solidref’ at line: 132
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘solidref’ at line: 132
G4GDML: VALIDATION ERROR! no declaration found for element ‘materialref’ at line: 133
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘materialref’ at line: 133
G4GDML: VALIDATION ERROR! no declaration found for element ‘volume’ at line: 135
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘volume’ at line: 135
G4GDML: VALIDATION ERROR! no declaration found for element ‘solidref’ at line: 136
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘solidref’ at line: 136
G4GDML: VALIDATION ERROR! no declaration found for element ‘materialref’ at line: 137
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘materialref’ at line: 137
G4GDML: VALIDATION ERROR! no declaration found for element ‘physvol’ at line: 138
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘physvol’ at line: 138
G4GDML: VALIDATION ERROR! no declaration found for element ‘volumeref’ at line: 139
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘volumeref’ at line: 139
G4GDML: VALIDATION ERROR! no declaration found for element ‘setup’ at line: 143
G4GDML: VALIDATION ERROR! attribute ‘name’ is not declared for element ‘setup’ at line: 143
G4GDML: VALIDATION ERROR! attribute ‘version’ is not declared for element ‘setup’ at line: 143
G4GDML: VALIDATION ERROR! no declaration found for element ‘world’ at line: 144
G4GDML: VALIDATION ERROR! attribute ‘ref’ is not declared for element ‘world’ at line: 144
G4GDML: Reading definitions…
G4GDML: Reading materials…
G4GDML: Reading solids…
G4GDML: Reading structure…
G4GDML: Reading setup…
G4GDML: Reading ‘s.gdml’ done!
I have tried changing the schema link to http://www.lcsim.org/schemas/gdml/1.0/gdml.xsd and also download the file to my computer to read it directly and still no luck.
I can however, visualize the geometry in geant but, the simulation crashes.


Any help would be greatly appreciated!
Thanks,
Jason.