Commit | Line | Data |
---|---|---|
970ed795 EL |
1 | <?xml version="1.0"?> |
2 | <!-- | |
d44e3c4f | 3 | Copyright (c) 2000-2016 Ericsson Telecom AB |
4 | All rights reserved. This program and the accompanying materials | |
5 | are made available under the terms of the Eclipse Public License v1.0 | |
6 | which accompanies this distribution, and is available at | |
7 | http://www.eclipse.org/legal/epl-v10.html | |
8 | ||
9 | Contributors: | |
10 | Balasko, Jeno | |
11 | Kovacs, Ferenc | |
970ed795 EL |
12 | --> |
13 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> | |
14 | ||
15 | <xs:element name="titan_coverage"> | |
16 | <xs:complexType> | |
17 | <xs:sequence> | |
18 | <xs:element name="version" type="version" /> | |
19 | <xs:element name="component" type="component" /> | |
20 | <xs:element name="files" type="files" /> | |
21 | </xs:sequence> | |
22 | </xs:complexType> | |
23 | </xs:element> | |
24 | ||
25 | <xs:complexType name="version"> | |
26 | <xs:attribute name="major" type="xs:integer" /> | |
27 | <xs:attribute name="minor" type="xs:integer" /> | |
28 | </xs:complexType> | |
29 | ||
30 | <xs:complexType name="component"> | |
31 | <xs:attribute name="id" type="xs:string" /> | |
32 | <xs:attribute name="name" type="xs:string" /> | |
33 | </xs:complexType> | |
34 | ||
35 | <xs:complexType name="files"> | |
36 | <xs:sequence> | |
37 | <xs:element name="file" minOccurs="0" maxOccurs="unbounded"> | |
38 | <xs:complexType> | |
39 | <xs:sequence> | |
40 | <xs:element name="functions" type="functions" /> | |
41 | <xs:element name="lines" type="lines" /> | |
42 | </xs:sequence> | |
43 | <xs:attribute name="path" type="xs:string" /> | |
44 | </xs:complexType> | |
45 | </xs:element> | |
46 | </xs:sequence> | |
47 | </xs:complexType> | |
48 | ||
49 | <xs:complexType name="functions"> | |
50 | <xs:sequence> | |
51 | <xs:element name="function" minOccurs="0" maxOccurs="unbounded"> | |
52 | <xs:complexType> | |
53 | <xs:attribute name="name" type="xs:string" /> | |
54 | <xs:attribute name="count" type="xs:integer" /> | |
55 | </xs:complexType> | |
56 | </xs:element> | |
57 | </xs:sequence> | |
58 | </xs:complexType> | |
59 | ||
60 | <xs:complexType name="lines"> | |
61 | <xs:sequence> | |
62 | <xs:element name="line" minOccurs="0" maxOccurs="unbounded"> | |
63 | <xs:complexType> | |
64 | <xs:attribute name="no" type="xs:integer" /> | |
65 | <xs:attribute name="count" type="xs:integer" /> | |
66 | </xs:complexType> | |
67 | </xs:element> | |
68 | </xs:sequence> | |
69 | </xs:complexType> | |
70 | ||
71 | </xs:schema> |