#
-## Extension for the "initscript" type for RSpecV2 on PlanetLab
-## Version 1
-##
+# Extensions for PlanetLab Resources
+# Version 1
+#
+
+namespace planetlab = "http://www.planet-lab.org/resources/ext/planetlab/1"
-default namespace = "http://www.planet-lab.org/resources/ext/initscript/1"
+InitscriptSpec = element planetlab:initscript {
+ attribute name { text }
+}
-Node = element initscript {
- attribute name { text }
+AttributeSpec = element planetlab:attribute {
+ attribute name { text },
+ attribute value { text }
}
-start = Node
+start = InitscriptSpec | AttributeSpec
<?xml version="1.0" encoding="UTF-8"?>
<!--
-
- Extension for the "initscript" type for RSpecV2 on PlanetLab
- Version 1
-
+
+ Extensions for PlanetLab Resources
+ Version 1
+
-->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
-elementFormDefault="qualified"
-targetNamespace="http://www.planet-lab.org/resources/sfa/ext/planetlab/1"
-xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1">
- <xs:element name="initscript">
- <xs:complexType>
- <xs:attribute name="name" use="required"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="attribute">
- <xs:complexType>
- <xs:attribute name="name" use="required">
- <xs:annotation>
- <xs:documentation>Name of this attribute</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="value" use="required">
- <xs:annotation>
- <xs:documentation>Value associated with this attribute</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.planet-lab.org/resources/ext/planetlab/1" xmlns:planetlab="http://www.planet-lab.org/resources/ext/planetlab/1">
+ <xs:element name="initscript">
+ <xs:complexType>
+ <xs:attribute name="name" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="attribute">
+ <xs:complexType>
+ <xs:attribute name="name" use="required"/>
+ <xs:attribute name="value" use="required"/>
+ </xs:complexType>
+ </xs:element>
</xs:schema>