/// <summary>
 /// Gets the set of attribute values for an xs:boolean type.
 /// </summary>
 void GetBooleanAttributeValueCompletionData(XmlCompletionDataList data)
 {
     data.AddAttributeValue("0");
     data.AddAttributeValue("1");
     data.AddAttributeValue("true");
     data.AddAttributeValue("false");
 }
 void GetAttributeValueCompletionData(XmlCompletionDataList data, XmlSchemaSimpleTypeRestriction simpleTypeRestriction)
 {
     foreach (XmlSchemaObject schemaObject in simpleTypeRestriction.Facets)
     {
         var enumFacet = schemaObject as XmlSchemaEnumerationFacet;
         if (enumFacet != null)
         {
             data.AddAttributeValue(enumFacet.Value, enumFacet.Annotation);
         }
     }
 }
		void GetAttributeValueCompletionData (XmlCompletionDataList data, XmlSchemaSimpleTypeRestriction simpleTypeRestriction)
		{
			foreach (XmlSchemaObject schemaObject in simpleTypeRestriction.Facets) {
				var enumFacet = schemaObject as XmlSchemaEnumerationFacet;
				if (enumFacet != null)
					data.AddAttributeValue (enumFacet.Value, enumFacet.Annotation);
			}
		}
		/// <summary>
		/// Gets the set of attribute values for an xs:boolean type.
		/// </summary>
		void GetBooleanAttributeValueCompletionData (XmlCompletionDataList data)
		{
			data.AddAttributeValue ("0");
			data.AddAttributeValue ("1");
			data.AddAttributeValue ("true");
			data.AddAttributeValue ("false");
		}