Debian Codegraph @

schemas/sce/1.0/sce-xccdf-extended-component.xsd

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 * Copyright 2013-2017 Red Hat Inc., Durham, North Carolina.
4 * All Rights Reserved.
5 *
6 * Dual licensed under:
7 *
8 * 1) LGPL
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation; either
12 * version 2.1 of the License, or (at your option) any later version.
13 *
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
18 *
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 *
23 * 2) MIT
24 * Permission is hereby granted, free of charge, to any person obtaining
25 * a copy of this software and associated documentation files (the
26 * "Software"), to deal in the Software without restriction, including
27 * without limitation the rights to use, copy, modify, merge, publish,
28 * distribute, sublicense, and/or sell copies of the Software, and to
29 * permit persons to whom the Software is furnished to do so, subject to
30 * the following conditions:
31 *
32 * The above copyright notice and this permission notice shall be
33 * included in all copies or substantial portions of the Software.
34 *
35 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
36 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
37 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
38 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
39 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
40 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
41 * OTHER DEALINGS IN THE SOFTWARE.
42 *
43 * Authors:
44 * David Solin <[email protected]>
45 -->
46 <xs:schema targetNamespace="http://open-scap.org/page/SCE_xccdf_stream"
47 xmlns:xs="http://www.w3.org/2001/XMLSchema"
48 xmlns:stream="http://open-scap.org/page/SCE_xccdf_stream"
49 elementFormDefault="qualified">
50 <xs:annotation>
51 <xs:documentation>
52 Describes the form of the ScriptCheckEngine SCAP 1.2 datastream component data type.
53 </xs:documentation>
54 </xs:annotation>
55 <xs:element name="script" type="stream:ScriptDataType"></xs:element>
56 <xs:complexType name="ScriptDataType">
57 <xs:simpleContent>
58 <xs:extension base="xs:string">
59 <xs:attribute name="lang" type="stream:LangEnumeration" use="required"/>
60 </xs:extension>
61 </xs:simpleContent>
62 </xs:complexType>
63 <xs:simpleType name="LangEnumeration">
64 <xs:restriction base="xs:string">
65 <xs:enumeration value="AppleScript"/>
66 <xs:enumeration value="Jython"/>
67 <xs:enumeration value="Perl"/>
68 <xs:enumeration value="Powershell"/>
69 <xs:enumeration value="Python"/>
70 <xs:enumeration value="Ruby"/>
71 <xs:enumeration value="Shell"/>
72 <xs:enumeration value="Tcl"/>
73 <xs:enumeration value="Visual Basic"/>
74 <xs:enumeration value="Windows Batch"/>
75 </xs:restriction>
76 </xs:simpleType>
77 </xs:schema>