Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
3.1 KiB

  1. WCHAR SchemaStr[][100] = {
  2. L"<?xml version=\"1.0\"?>",
  3. L"<Schema xmlns=\"urn:schemas-microsoft-com:xml-data\"",
  4. L" xmlns:dt=\"urn:schemas-microsoft-com:datatypes\" >",
  5. L" <AttributeType name=\"Name\" dt:type = \"string\" />",
  6. L" <AttributeType name=\"State\" dt:type = \"int\" />",
  7. L" <AttributeType name=\"Timeout\" dt:type = \"int\" />",
  8. L" <AttributeType name=\"Server\" dt:type = \"string\" />",
  9. L" <AttributeType name=\"Folder\" dt:type = \"string\" />",
  10. L" <AttributeType name=\"Comment\" dt:type = \"string\" />",
  11. L" <ElementType name = \"Target\" model = \"closed\" >",
  12. L" <attribute type = \"Server\" required = \"yes\" />",
  13. L" <attribute type = \"Folder\" required = \"yes\" />",
  14. L" <attribute type = \"State\" required = \"no\" />",
  15. L" </ElementType>",
  16. L" <ElementType name = \"Link\" content = \"eltOnly\" model = \"closed\" >",
  17. L" <element type = \"Target\" maxOccurs = \"*\" />",
  18. L" <attribute type = \"Name\" required = \"yes\" />",
  19. L" <attribute type = \"Timeout\" required = \"no\" />",
  20. L" <attribute type = \"State\" required = \"no\" />",
  21. L" <attribute type = \"Comment\" required = \"no\" />",
  22. L" </ElementType>",
  23. L" <ElementType name = \"Root\" content = \"eltOnly\" model = \"closed\" >",
  24. L" <element type = \"Target\" minOccurs = \"0\" maxOccurs = \"*\" />",
  25. L" <element type = \"Link\" minOccurs = \"0\" maxOccurs = \"*\" />",
  26. L" <attribute type = \"Name\" required=\"no\" />",
  27. L" <attribute type = \"Timeout\" required = \"no\" />",
  28. L" <attribute type = \"State\" required = \"no\" />",
  29. L" <attribute type = \"Comment\" required = \"no\" />",
  30. L" </ElementType>",
  31. L"</Schema>",
  32. };
  33. #if 0
  34. <?xml version=\"1.0\"?>
  35. <Schema xmlns=\"urn:schemas-microsoft-com:xml-data\"
  36. xmlns:dt=\"urn:schemas-microsoft-com:datatypes\">
  37. <AttributeType name=\"Name\" dt:type=\"string\" />
  38. <AttributeType name=\"State\" dt:type=\"int\" />
  39. <AttributeType name=\"Timeout\" dt:type=\"int\" />
  40. <AttributeType name=\"Server\" dt:type=\"string\" />
  41. <AttributeType name=\"Folder\" dt:type=\"string\" />
  42. <ElementType name = \"Target\" model=\"closed\">
  43. <attribute type = \"Server\" required=\"yes\" />
  44. <attribute type = \"Folder\" required=\"yes\"/>
  45. <attribute type = \"State\" required=\"no\"/>
  46. </ElementType>
  47. <ElementType name = \"Link\" content=\"eltOnly\" model=\"closed\">
  48. <element type = \"Target\" maxOccurs=\"*\"/>
  49. <attribute type = \"Name\"/>
  50. <attribute type = \"Timeout\" required=\"no\"/>
  51. <attribute type = \"State\" required=\"no\"/>
  52. </ElementType>
  53. <ElementType name = \"Root\" content=\"eltOnly\" model=\"closed\">
  54. <element type = \"Target\" minOccurs=\"0\" maxOccurs=\"*\"/>
  55. <element type = \"Link\" maxOccurs=\"*\" />
  56. <attribute type = \"Name\"/>
  57. <attribute type = \"Timeout\" required=\"no\"/>
  58. <attribute type = \"State\" required=\"no\"/>
  59. </ElementType>
  60. </Schema>
  61. #endif