diff options
author | lhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-05-11 14:38:45 +0000 |
---|---|---|
committer | lhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-05-11 14:38:45 +0000 |
commit | 448d6fab6ef3daf99d54dd2fe0c6c78b29586ede (patch) | |
tree | 0df89e048432aea1a20b3d7476a1d9940b921902 /Tools/XMLSchema | |
parent | 818de870c7f1ff5873d5bff20d00877dbf651a3f (diff) | |
download | edk2-platforms-448d6fab6ef3daf99d54dd2fe0c6c78b29586ede.tar.xz |
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
Diffstat (limited to 'Tools/XMLSchema')
-rw-r--r-- | Tools/XMLSchema/NamingConvention.xsd | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Tools/XMLSchema/NamingConvention.xsd b/Tools/XMLSchema/NamingConvention.xsd index 4f998b827d..3faf1b923d 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>
|