summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>2006-05-11 14:38:45 +0000
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>2006-05-11 14:38:45 +0000
commit448d6fab6ef3daf99d54dd2fe0c6c78b29586ede (patch)
tree0df89e048432aea1a20b3d7476a1d9940b921902
parent818de870c7f1ff5873d5bff20d00877dbf651a3f (diff)
downloadedk2-448d6fab6ef3daf99d54dd2fe0c6c78b29586ede.zip
edk2-448d6fab6ef3daf99d54dd2fe0c6c78b29586ede.tar.gz
edk2-448d6fab6ef3daf99d54dd2fe0c6c78b29586ede.tar.bz2
Added ZeroOrOne Data Type, for use with ErasePolarity FlashDeviceInfo attribute
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@129 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--Tools/XMLSchema/NamingConvention.xsd8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tools/XMLSchema/NamingConvention.xsd b/Tools/XMLSchema/NamingConvention.xsd
index 4f998b8..3faf1b9 100644
--- a/Tools/XMLSchema/NamingConvention.xsd
+++ b/Tools/XMLSchema/NamingConvention.xsd
@@ -296,6 +296,14 @@
<xs:pattern value="0"/>
</xs:restriction>
</xs:simpleType>
+ <xs:simpleType name="ZeroOrOne">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Define Zero as a vaild value</xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xs:int">
+ <xs:pattern value="0|1"/>
+ </xs:restriction>
+ </xs:simpleType>
<xs:simpleType name="OldVersionDataType">
<xs:annotation>
<xs:documentation xml:lang="en"> Definition of a Version Number, which can be any combination of a number followed by zero or more alphanumeric-dot-alphanumeric characters </xs:documentation>