moodle2cc 0.2.29 → 0.2.30

Sign up to get free protection for your applications and to get access to all the features.
Files changed (455) hide show
  1. checksums.yaml +4 -4
  2. data/lib/moodle2cc/canvas/assessment.rb +0 -0
  3. data/lib/moodle2cc/canvas/assignment.rb +0 -0
  4. data/lib/moodle2cc/canvas/converter.rb +0 -0
  5. data/lib/moodle2cc/canvas/course.rb +0 -0
  6. data/lib/moodle2cc/canvas/discussion_topic.rb +0 -0
  7. data/lib/moodle2cc/canvas/label.rb +0 -0
  8. data/lib/moodle2cc/canvas/question_bank.rb +0 -0
  9. data/lib/moodle2cc/canvas/question_group.rb +0 -0
  10. data/lib/moodle2cc/canvas/resource.rb +0 -0
  11. data/lib/moodle2cc/canvas/templates/assignment.html.erb +0 -0
  12. data/lib/moodle2cc/canvas/templates/syllabus.html.erb +0 -0
  13. data/lib/moodle2cc/canvas/templates/wiki_content.html.erb +0 -0
  14. data/lib/moodle2cc/canvas/web_content.rb +0 -0
  15. data/lib/moodle2cc/canvas/web_link.rb +0 -0
  16. data/lib/moodle2cc/canvas/wiki.rb +0 -0
  17. data/lib/moodle2cc/cc/assessment.rb +0 -0
  18. data/lib/moodle2cc/cc/assignment.rb +0 -0
  19. data/lib/moodle2cc/cc/course.rb +0 -0
  20. data/lib/moodle2cc/cc/discussion_topic.rb +0 -0
  21. data/lib/moodle2cc/cc/label.rb +0 -0
  22. data/lib/moodle2cc/cc/question.rb +0 -0
  23. data/lib/moodle2cc/cc/resource.rb +0 -0
  24. data/lib/moodle2cc/cc/templates/assignment.html.erb +0 -0
  25. data/lib/moodle2cc/cc/templates/syllabus.html.erb +0 -0
  26. data/lib/moodle2cc/cc/templates/wiki_content.html.erb +0 -0
  27. data/lib/moodle2cc/cc/web_link.rb +0 -0
  28. data/lib/moodle2cc/cc/wiki.rb +0 -0
  29. data/lib/moodle2cc/error.rb +0 -0
  30. data/lib/moodle2cc/logger.rb +0 -0
  31. data/lib/moodle2cc/moodle/course.rb +0 -0
  32. data/lib/moodle2cc/moodle/grade_item.rb +0 -0
  33. data/lib/moodle2cc/moodle/info.rb +0 -0
  34. data/lib/moodle2cc/moodle/question_category.rb +0 -0
  35. data/lib/moodle2cc/moodle/section.rb +0 -0
  36. data/lib/moodle2cc/version.rb +1 -1
  37. metadata +4 -834
  38. data/.gitignore +0 -20
  39. data/.travis.yml +0 -8
  40. data/Changelog +0 -158
  41. data/Gemfile +0 -6
  42. data/Guardfile +0 -20
  43. data/LICENSE +0 -661
  44. data/README.md +0 -112
  45. data/moodle2cc.gemspec +0 -35
  46. data/spec/moodle2cc/canvas_cc/assessment_writer_spec.rb +0 -95
  47. data/spec/moodle2cc/canvas_cc/assignment_writer_spec.rb +0 -74
  48. data/spec/moodle2cc/canvas_cc/calculated_question_writer_spec.rb +0 -88
  49. data/spec/moodle2cc/canvas_cc/canvas_export_writer_spec.rb +0 -26
  50. data/spec/moodle2cc/canvas_cc/cartridge_creator_spec.rb +0 -50
  51. data/spec/moodle2cc/canvas_cc/course_setting_writer_spec.rb +0 -47
  52. data/spec/moodle2cc/canvas_cc/discussion_writer_spec.rb +0 -40
  53. data/spec/moodle2cc/canvas_cc/essay_question_writer_spec.rb +0 -31
  54. data/spec/moodle2cc/canvas_cc/file_meta_writer_spec.rb +0 -57
  55. data/spec/moodle2cc/canvas_cc/ims_manifest_generator_spec.rb +0 -141
  56. data/spec/moodle2cc/canvas_cc/matching_question_writer_spec.rb +0 -51
  57. data/spec/moodle2cc/canvas_cc/models/assessment_spec.rb +0 -131
  58. data/spec/moodle2cc/canvas_cc/models/assignment_spec.rb +0 -45
  59. data/spec/moodle2cc/canvas_cc/models/calculated_question_spec.rb +0 -25
  60. data/spec/moodle2cc/canvas_cc/models/canvas_file_spec.rb +0 -23
  61. data/spec/moodle2cc/canvas_cc/models/canvas_module_spec.rb +0 -16
  62. data/spec/moodle2cc/canvas_cc/models/course_spec.rb +0 -43
  63. data/spec/moodle2cc/canvas_cc/models/discussion_spec.rb +0 -47
  64. data/spec/moodle2cc/canvas_cc/models/discussion_topic_spec.rb +0 -7
  65. data/spec/moodle2cc/canvas_cc/models/module_item_spec.rb +0 -15
  66. data/spec/moodle2cc/canvas_cc/models/page_spec.rb +0 -36
  67. data/spec/moodle2cc/canvas_cc/models/question_spec.rb +0 -8
  68. data/spec/moodle2cc/canvas_cc/models/resource_spec.rb +0 -17
  69. data/spec/moodle2cc/canvas_cc/models/web_content_spec.rb +0 -7
  70. data/spec/moodle2cc/canvas_cc/models/web_link_spec.rb +0 -9
  71. data/spec/moodle2cc/canvas_cc/module_meta_writer_spec.rb +0 -118
  72. data/spec/moodle2cc/canvas_cc/multiple_answers_question_writer_spec.rb +0 -50
  73. data/spec/moodle2cc/canvas_cc/multiple_blanks_question_writer_spec.rb +0 -77
  74. data/spec/moodle2cc/canvas_cc/multiple_choice_question_writer_spec.rb +0 -69
  75. data/spec/moodle2cc/canvas_cc/multiple_dropdowns_question_writer_spec.rb +0 -46
  76. data/spec/moodle2cc/canvas_cc/numerical_question_writer_spec.rb +0 -69
  77. data/spec/moodle2cc/canvas_cc/page_writer_spec.rb +0 -30
  78. data/spec/moodle2cc/canvas_cc/question_bank_writer_spec.rb +0 -43
  79. data/spec/moodle2cc/canvas_cc/question_writer_spec.rb +0 -129
  80. data/spec/moodle2cc/canvas_cc/short_answer_question_writer_spec.rb +0 -50
  81. data/spec/moodle2cc/canvas_cc/text_only_question_writer_spec.rb +0 -23
  82. data/spec/moodle2cc/canvas_cc/true_false_question_writer_spec.rb +0 -62
  83. data/spec/moodle2cc/moodle2/extractor_spec.rb +0 -215
  84. data/spec/moodle2cc/moodle2/models/assignment_spec.rb +0 -36
  85. data/spec/moodle2cc/moodle2/models/book_chapter_spec.rb +0 -11
  86. data/spec/moodle2cc/moodle2/models/book_spec.rb +0 -13
  87. data/spec/moodle2cc/moodle2/models/course_spec.rb +0 -68
  88. data/spec/moodle2cc/moodle2/models/external_url_spec.rb +0 -18
  89. data/spec/moodle2cc/moodle2/models/folder_spec.rb +0 -16
  90. data/spec/moodle2cc/moodle2/models/forum_spec.rb +0 -30
  91. data/spec/moodle2cc/moodle2/models/glossary_entry_spec.rb +0 -25
  92. data/spec/moodle2cc/moodle2/models/glossary_spec.rb +0 -35
  93. data/spec/moodle2cc/moodle2/models/label_spec.rb +0 -84
  94. data/spec/moodle2cc/moodle2/models/moodle2_file_spec.rb +0 -32
  95. data/spec/moodle2cc/moodle2/models/page_spec.rb +0 -23
  96. data/spec/moodle2cc/moodle2/models/quizzes/answer_spec.rb +0 -14
  97. data/spec/moodle2cc/moodle2/models/quizzes/calculated_question_spec.rb +0 -14
  98. data/spec/moodle2cc/moodle2/models/quizzes/multianswer_question_spec.rb +0 -30
  99. data/spec/moodle2cc/moodle2/models/quizzes/numerical_question_spec.rb +0 -12
  100. data/spec/moodle2cc/moodle2/models/quizzes/question_category_spec.rb +0 -29
  101. data/spec/moodle2cc/moodle2/models/quizzes/question_spec.rb +0 -35
  102. data/spec/moodle2cc/moodle2/models/quizzes/quiz_spec.rb +0 -7
  103. data/spec/moodle2cc/moodle2/models/quizzes/random_sa_question_spec.rb +0 -12
  104. data/spec/moodle2cc/moodle2/models/quizzes/true_false_question_spec.rb +0 -16
  105. data/spec/moodle2cc/moodle2/models/resource_spec.rb +0 -22
  106. data/spec/moodle2cc/moodle2/models/section_spec.rb +0 -57
  107. data/spec/moodle2cc/moodle2/parsers/answer_parser_spec.rb +0 -18
  108. data/spec/moodle2cc/moodle2/parsers/assignment_parser_spec.rb +0 -44
  109. data/spec/moodle2cc/moodle2/parsers/book_parser_spec.rb +0 -35
  110. data/spec/moodle2cc/moodle2/parsers/choice_parser_spec.rb +0 -32
  111. data/spec/moodle2cc/moodle2/parsers/course_parser_spec.rb +0 -19
  112. data/spec/moodle2cc/moodle2/parsers/external_url_parser_spec.rb +0 -26
  113. data/spec/moodle2cc/moodle2/parsers/feedback_parser_spec.rb +0 -33
  114. data/spec/moodle2cc/moodle2/parsers/file_parser_spec.rb +0 -35
  115. data/spec/moodle2cc/moodle2/parsers/folder_parser_spec.rb +0 -24
  116. data/spec/moodle2cc/moodle2/parsers/forum_parser_spec.rb +0 -38
  117. data/spec/moodle2cc/moodle2/parsers/glossary_parser_spec.rb +0 -60
  118. data/spec/moodle2cc/moodle2/parsers/label_parser_spec.rb +0 -21
  119. data/spec/moodle2cc/moodle2/parsers/lti_parser_spec.rb +0 -21
  120. data/spec/moodle2cc/moodle2/parsers/page_parser_spec.rb +0 -25
  121. data/spec/moodle2cc/moodle2/parsers/parser_helper_spec.rb +0 -104
  122. data/spec/moodle2cc/moodle2/parsers/question_category_parser_spec.rb +0 -27
  123. data/spec/moodle2cc/moodle2/parsers/question_parsers/calculated_parser_spec.rb +0 -100
  124. data/spec/moodle2cc/moodle2/parsers/question_parsers/match_parser_spec.rb +0 -31
  125. data/spec/moodle2cc/moodle2/parsers/question_parsers/multianswer_parser_spec.rb +0 -16
  126. data/spec/moodle2cc/moodle2/parsers/question_parsers/multichoice_parser_spec.rb +0 -16
  127. data/spec/moodle2cc/moodle2/parsers/question_parsers/numerical_parser_spec.rb +0 -23
  128. data/spec/moodle2cc/moodle2/parsers/question_parsers/question_parser_spec.rb +0 -62
  129. data/spec/moodle2cc/moodle2/parsers/question_parsers/random_sa_parser_spec.rb +0 -18
  130. data/spec/moodle2cc/moodle2/parsers/question_parsers/short_answer_parser_spec.rb +0 -16
  131. data/spec/moodle2cc/moodle2/parsers/question_parsers/true_false_parser_spec.rb +0 -22
  132. data/spec/moodle2cc/moodle2/parsers/questionnaire_parser_spec.rb +0 -36
  133. data/spec/moodle2cc/moodle2/parsers/quiz_parser_spec.rb +0 -68
  134. data/spec/moodle2cc/moodle2/parsers/resource_parser_spec.rb +0 -29
  135. data/spec/moodle2cc/moodle2/parsers/section_parser_spec.rb +0 -27
  136. data/spec/moodle2cc/moodle2/parsers/wiki_parser_spec.rb +0 -23
  137. data/spec/moodle2cc/moodle2converter/assessment_converter_spec.rb +0 -209
  138. data/spec/moodle2cc/moodle2converter/assignment_converter_spec.rb +0 -47
  139. data/spec/moodle2cc/moodle2converter/book_converter_spec.rb +0 -132
  140. data/spec/moodle2cc/moodle2converter/converter_helper_spec.rb +0 -178
  141. data/spec/moodle2cc/moodle2converter/course_converter_spec.rb +0 -24
  142. data/spec/moodle2cc/moodle2converter/discussion_converter_spec.rb +0 -28
  143. data/spec/moodle2cc/moodle2converter/file_converter_spec.rb +0 -20
  144. data/spec/moodle2cc/moodle2converter/folder_converter_spec.rb +0 -44
  145. data/spec/moodle2cc/moodle2converter/glossary_converter_spec.rb +0 -35
  146. data/spec/moodle2cc/moodle2converter/html_converter_spec.rb +0 -191
  147. data/spec/moodle2cc/moodle2converter/label_converter_spec.rb +0 -100
  148. data/spec/moodle2cc/moodle2converter/migrator_spec.rb +0 -258
  149. data/spec/moodle2cc/moodle2converter/page_converter_spec.rb +0 -28
  150. data/spec/moodle2cc/moodle2converter/question_bank_converter_spec.rb +0 -61
  151. data/spec/moodle2cc/moodle2converter/question_converters/calculated_converter_spec.rb +0 -32
  152. data/spec/moodle2cc/moodle2converter/question_converters/matching_converter_spec.rb +0 -24
  153. data/spec/moodle2cc/moodle2converter/question_converters/multichoice_converter_spec.rb +0 -26
  154. data/spec/moodle2cc/moodle2converter/question_converters/multiple_blanks_converter_spec.rb +0 -37
  155. data/spec/moodle2cc/moodle2converter/question_converters/numerical_converter_spec.rb +0 -19
  156. data/spec/moodle2cc/moodle2converter/question_converters/question_converter_spec.rb +0 -81
  157. data/spec/moodle2cc/moodle2converter/question_converters/random_sa_converter_spec.rb +0 -20
  158. data/spec/moodle2cc/moodle2converter/question_converters/true_false_converter_spec.rb +0 -25
  159. data/spec/moodle2cc/moodle2converter/section_converter_spec.rb +0 -211
  160. data/spec/moodle2cc/moodle2converter/wiki_converter_spec.rb +0 -36
  161. data/spec/spec_helper.rb +0 -17
  162. data/spec/support/shared_examples_for_models.rb +0 -26
  163. data/test/acceptance/migrator_test.rb +0 -24
  164. data/test/fixtures/cc.imscc +0 -0
  165. data/test/fixtures/common_cartridge/ims_manifest_simple.xml +0 -45
  166. data/test/fixtures/common_cartridge/schema/cccv1p0.xsd +0 -563
  167. data/test/fixtures/common_cartridge/schema/ccv1p1_imsccauth_v1p1.xsd +0 -203
  168. data/test/fixtures/common_cartridge/schema/ccv1p1_imscp_v1p2_v1p0.xsd +0 -827
  169. data/test/fixtures/common_cartridge/schema/ccv1p1_lommanifest_v1p0.xsd +0 -822
  170. data/test/fixtures/common_cartridge/schema/ccv1p1_lomresource_v1p0.xsd +0 -273
  171. data/test/fixtures/common_cartridge/schema/xml.xsd +0 -286
  172. data/test/fixtures/moodle2/SC.mbz +0 -0
  173. data/test/fixtures/moodle2/backup/activities/assign_12/assign.xml +0 -78
  174. data/test/fixtures/moodle2/backup/activities/assign_12/calendar.xml +0 -21
  175. data/test/fixtures/moodle2/backup/activities/assign_12/comments.xml +0 -3
  176. data/test/fixtures/moodle2/backup/activities/assign_12/completion.xml +0 -3
  177. data/test/fixtures/moodle2/backup/activities/assign_12/filters.xml +0 -7
  178. data/test/fixtures/moodle2/backup/activities/assign_12/grades.xml +0 -38
  179. data/test/fixtures/moodle2/backup/activities/assign_12/grading.xml +0 -9
  180. data/test/fixtures/moodle2/backup/activities/assign_12/inforef.xml +0 -13
  181. data/test/fixtures/moodle2/backup/activities/assign_12/module.xml +0 -25
  182. data/test/fixtures/moodle2/backup/activities/assign_12/roles.xml +0 -7
  183. data/test/fixtures/moodle2/backup/activities/assign_4/assign.xml +0 -78
  184. data/test/fixtures/moodle2/backup/activities/assign_4/calendar.xml +0 -21
  185. data/test/fixtures/moodle2/backup/activities/assign_4/comments.xml +0 -3
  186. data/test/fixtures/moodle2/backup/activities/assign_4/completion.xml +0 -3
  187. data/test/fixtures/moodle2/backup/activities/assign_4/filters.xml +0 -7
  188. data/test/fixtures/moodle2/backup/activities/assign_4/grades.xml +0 -38
  189. data/test/fixtures/moodle2/backup/activities/assign_4/grading.xml +0 -9
  190. data/test/fixtures/moodle2/backup/activities/assign_4/inforef.xml +0 -13
  191. data/test/fixtures/moodle2/backup/activities/assign_4/module.xml +0 -25
  192. data/test/fixtures/moodle2/backup/activities/assign_4/roles.xml +0 -7
  193. data/test/fixtures/moodle2/backup/activities/assignment_42/assignment.xml +0 -28
  194. data/test/fixtures/moodle2/backup/activities/assignment_42/calendar.xml +0 -21
  195. data/test/fixtures/moodle2/backup/activities/assignment_42/comments.xml +0 -3
  196. data/test/fixtures/moodle2/backup/activities/assignment_42/completion.xml +0 -3
  197. data/test/fixtures/moodle2/backup/activities/assignment_42/filters.xml +0 -7
  198. data/test/fixtures/moodle2/backup/activities/assignment_42/grades.xml +0 -38
  199. data/test/fixtures/moodle2/backup/activities/assignment_42/grading.xml +0 -9
  200. data/test/fixtures/moodle2/backup/activities/assignment_42/inforef.xml +0 -13
  201. data/test/fixtures/moodle2/backup/activities/assignment_42/module.xml +0 -25
  202. data/test/fixtures/moodle2/backup/activities/assignment_42/roles.xml +0 -7
  203. data/test/fixtures/moodle2/backup/activities/book_6/book.xml +0 -44
  204. data/test/fixtures/moodle2/backup/activities/book_6/calendar.xml +0 -3
  205. data/test/fixtures/moodle2/backup/activities/book_6/comments.xml +0 -3
  206. data/test/fixtures/moodle2/backup/activities/book_6/completion.xml +0 -3
  207. data/test/fixtures/moodle2/backup/activities/book_6/filters.xml +0 -7
  208. data/test/fixtures/moodle2/backup/activities/book_6/grades.xml +0 -7
  209. data/test/fixtures/moodle2/backup/activities/book_6/inforef.xml +0 -3
  210. data/test/fixtures/moodle2/backup/activities/book_6/module.xml +0 -25
  211. data/test/fixtures/moodle2/backup/activities/book_6/roles.xml +0 -7
  212. data/test/fixtures/moodle2/backup/activities/choice_56547/calendar.xml +0 -3
  213. data/test/fixtures/moodle2/backup/activities/choice_56547/choice.xml +0 -32
  214. data/test/fixtures/moodle2/backup/activities/choice_56547/comments.xml +0 -3
  215. data/test/fixtures/moodle2/backup/activities/choice_56547/completion.xml +0 -3
  216. data/test/fixtures/moodle2/backup/activities/choice_56547/filters.xml +0 -7
  217. data/test/fixtures/moodle2/backup/activities/choice_56547/grades.xml +0 -7
  218. data/test/fixtures/moodle2/backup/activities/choice_56547/inforef.xml +0 -3
  219. data/test/fixtures/moodle2/backup/activities/choice_56547/module.xml +0 -28
  220. data/test/fixtures/moodle2/backup/activities/choice_56547/roles.xml +0 -7
  221. data/test/fixtures/moodle2/backup/activities/feedback_58588/feedback.xml +0 -147
  222. data/test/fixtures/moodle2/backup/activities/feedback_58588/filters.xml +0 -7
  223. data/test/fixtures/moodle2/backup/activities/feedback_58588/grades.xml +0 -7
  224. data/test/fixtures/moodle2/backup/activities/feedback_58588/inforef.xml +0 -3
  225. data/test/fixtures/moodle2/backup/activities/feedback_58588/module.xml +0 -28
  226. data/test/fixtures/moodle2/backup/activities/feedback_58588/roles.xml +0 -7
  227. data/test/fixtures/moodle2/backup/activities/feedback_58589/feedback.xml +0 -147
  228. data/test/fixtures/moodle2/backup/activities/feedback_58589/filters.xml +0 -7
  229. data/test/fixtures/moodle2/backup/activities/feedback_58589/grades.xml +0 -7
  230. data/test/fixtures/moodle2/backup/activities/feedback_58589/inforef.xml +0 -3
  231. data/test/fixtures/moodle2/backup/activities/feedback_58589/module.xml +0 -28
  232. data/test/fixtures/moodle2/backup/activities/feedback_58589/roles.xml +0 -7
  233. data/test/fixtures/moodle2/backup/activities/folder_7/calendar.xml +0 -3
  234. data/test/fixtures/moodle2/backup/activities/folder_7/comments.xml +0 -3
  235. data/test/fixtures/moodle2/backup/activities/folder_7/completion.xml +0 -3
  236. data/test/fixtures/moodle2/backup/activities/folder_7/filters.xml +0 -7
  237. data/test/fixtures/moodle2/backup/activities/folder_7/folder.xml +0 -10
  238. data/test/fixtures/moodle2/backup/activities/folder_7/grades.xml +0 -7
  239. data/test/fixtures/moodle2/backup/activities/folder_7/inforef.xml +0 -20
  240. data/test/fixtures/moodle2/backup/activities/folder_7/module.xml +0 -25
  241. data/test/fixtures/moodle2/backup/activities/folder_7/roles.xml +0 -7
  242. data/test/fixtures/moodle2/backup/activities/forum_13/calendar.xml +0 -3
  243. data/test/fixtures/moodle2/backup/activities/forum_13/comments.xml +0 -3
  244. data/test/fixtures/moodle2/backup/activities/forum_13/completion.xml +0 -3
  245. data/test/fixtures/moodle2/backup/activities/forum_13/filters.xml +0 -7
  246. data/test/fixtures/moodle2/backup/activities/forum_13/forum.xml +0 -34
  247. data/test/fixtures/moodle2/backup/activities/forum_13/grades.xml +0 -7
  248. data/test/fixtures/moodle2/backup/activities/forum_13/inforef.xml +0 -3
  249. data/test/fixtures/moodle2/backup/activities/forum_13/module.xml +0 -25
  250. data/test/fixtures/moodle2/backup/activities/forum_13/roles.xml +0 -7
  251. data/test/fixtures/moodle2/backup/activities/glossary_8/calendar.xml +0 -3
  252. data/test/fixtures/moodle2/backup/activities/glossary_8/comments.xml +0 -3
  253. data/test/fixtures/moodle2/backup/activities/glossary_8/completion.xml +0 -3
  254. data/test/fixtures/moodle2/backup/activities/glossary_8/filters.xml +0 -7
  255. data/test/fixtures/moodle2/backup/activities/glossary_8/glossary.xml +0 -115
  256. data/test/fixtures/moodle2/backup/activities/glossary_8/grades.xml +0 -7
  257. data/test/fixtures/moodle2/backup/activities/glossary_8/inforef.xml +0 -22
  258. data/test/fixtures/moodle2/backup/activities/glossary_8/module.xml +0 -25
  259. data/test/fixtures/moodle2/backup/activities/glossary_8/roles.xml +0 -7
  260. data/test/fixtures/moodle2/backup/activities/hsuforum_1/calendar.xml +0 -3
  261. data/test/fixtures/moodle2/backup/activities/hsuforum_1/comments.xml +0 -3
  262. data/test/fixtures/moodle2/backup/activities/hsuforum_1/completion.xml +0 -3
  263. data/test/fixtures/moodle2/backup/activities/hsuforum_1/filters.xml +0 -7
  264. data/test/fixtures/moodle2/backup/activities/hsuforum_1/grades.xml +0 -10
  265. data/test/fixtures/moodle2/backup/activities/hsuforum_1/hsuforum.xml +0 -34
  266. data/test/fixtures/moodle2/backup/activities/hsuforum_1/inforef.xml +0 -3
  267. data/test/fixtures/moodle2/backup/activities/hsuforum_1/module.xml +0 -25
  268. data/test/fixtures/moodle2/backup/activities/hsuforum_1/roles.xml +0 -7
  269. data/test/fixtures/moodle2/backup/activities/label_11/calendar.xml +0 -3
  270. data/test/fixtures/moodle2/backup/activities/label_11/comments.xml +0 -3
  271. data/test/fixtures/moodle2/backup/activities/label_11/completion.xml +0 -3
  272. data/test/fixtures/moodle2/backup/activities/label_11/filters.xml +0 -7
  273. data/test/fixtures/moodle2/backup/activities/label_11/grades.xml +0 -7
  274. data/test/fixtures/moodle2/backup/activities/label_11/inforef.xml +0 -3
  275. data/test/fixtures/moodle2/backup/activities/label_11/label.xml +0 -9
  276. data/test/fixtures/moodle2/backup/activities/label_11/module.xml +0 -25
  277. data/test/fixtures/moodle2/backup/activities/label_11/roles.xml +0 -7
  278. data/test/fixtures/moodle2/backup/activities/lti_78841/calendar.xml +0 -3
  279. data/test/fixtures/moodle2/backup/activities/lti_78841/filters.xml +0 -7
  280. data/test/fixtures/moodle2/backup/activities/lti_78841/grade_history.xml +0 -5
  281. data/test/fixtures/moodle2/backup/activities/lti_78841/grades.xml +0 -7
  282. data/test/fixtures/moodle2/backup/activities/lti_78841/inforef.xml +0 -3
  283. data/test/fixtures/moodle2/backup/activities/lti_78841/lti.xml +0 -26
  284. data/test/fixtures/moodle2/backup/activities/lti_78841/module.xml +0 -20
  285. data/test/fixtures/moodle2/backup/activities/lti_78841/roles.xml +0 -7
  286. data/test/fixtures/moodle2/backup/activities/page_10/calendar.xml +0 -3
  287. data/test/fixtures/moodle2/backup/activities/page_10/comments.xml +0 -3
  288. data/test/fixtures/moodle2/backup/activities/page_10/completion.xml +0 -3
  289. data/test/fixtures/moodle2/backup/activities/page_10/filters.xml +0 -7
  290. data/test/fixtures/moodle2/backup/activities/page_10/grades.xml +0 -7
  291. data/test/fixtures/moodle2/backup/activities/page_10/inforef.xml +0 -3
  292. data/test/fixtures/moodle2/backup/activities/page_10/module.xml +0 -25
  293. data/test/fixtures/moodle2/backup/activities/page_10/page.xml +0 -16
  294. data/test/fixtures/moodle2/backup/activities/page_10/roles.xml +0 -7
  295. data/test/fixtures/moodle2/backup/activities/page_2/calendar.xml +0 -3
  296. data/test/fixtures/moodle2/backup/activities/page_2/comments.xml +0 -3
  297. data/test/fixtures/moodle2/backup/activities/page_2/completion.xml +0 -3
  298. data/test/fixtures/moodle2/backup/activities/page_2/filters.xml +0 -7
  299. data/test/fixtures/moodle2/backup/activities/page_2/grades.xml +0 -7
  300. data/test/fixtures/moodle2/backup/activities/page_2/inforef.xml +0 -14
  301. data/test/fixtures/moodle2/backup/activities/page_2/module.xml +0 -25
  302. data/test/fixtures/moodle2/backup/activities/page_2/page.xml +0 -21
  303. data/test/fixtures/moodle2/backup/activities/page_2/roles.xml +0 -7
  304. data/test/fixtures/moodle2/backup/activities/questionnaire_9/calendar.xml +0 -3
  305. data/test/fixtures/moodle2/backup/activities/questionnaire_9/comments.xml +0 -3
  306. data/test/fixtures/moodle2/backup/activities/questionnaire_9/completion.xml +0 -3
  307. data/test/fixtures/moodle2/backup/activities/questionnaire_9/filters.xml +0 -7
  308. data/test/fixtures/moodle2/backup/activities/questionnaire_9/grades.xml +0 -7
  309. data/test/fixtures/moodle2/backup/activities/questionnaire_9/inforef.xml +0 -3
  310. data/test/fixtures/moodle2/backup/activities/questionnaire_9/module.xml +0 -25
  311. data/test/fixtures/moodle2/backup/activities/questionnaire_9/questionnaire.xml +0 -245
  312. data/test/fixtures/moodle2/backup/activities/questionnaire_9/roles.xml +0 -7
  313. data/test/fixtures/moodle2/backup/activities/quiz_5/calendar.xml +0 -21
  314. data/test/fixtures/moodle2/backup/activities/quiz_5/comments.xml +0 -3
  315. data/test/fixtures/moodle2/backup/activities/quiz_5/completion.xml +0 -3
  316. data/test/fixtures/moodle2/backup/activities/quiz_5/filters.xml +0 -7
  317. data/test/fixtures/moodle2/backup/activities/quiz_5/grades.xml +0 -38
  318. data/test/fixtures/moodle2/backup/activities/quiz_5/inforef.xml +0 -21
  319. data/test/fixtures/moodle2/backup/activities/quiz_5/module.xml +0 -25
  320. data/test/fixtures/moodle2/backup/activities/quiz_5/quiz.xml +0 -108
  321. data/test/fixtures/moodle2/backup/activities/quiz_5/roles.xml +0 -7
  322. data/test/fixtures/moodle2/backup/activities/resource_14/calendar.xml +0 -3
  323. data/test/fixtures/moodle2/backup/activities/resource_14/comments.xml +0 -3
  324. data/test/fixtures/moodle2/backup/activities/resource_14/completion.xml +0 -3
  325. data/test/fixtures/moodle2/backup/activities/resource_14/filters.xml +0 -7
  326. data/test/fixtures/moodle2/backup/activities/resource_14/grades.xml +0 -7
  327. data/test/fixtures/moodle2/backup/activities/resource_14/inforef.xml +0 -11
  328. data/test/fixtures/moodle2/backup/activities/resource_14/module.xml +0 -25
  329. data/test/fixtures/moodle2/backup/activities/resource_14/resource.xml +0 -16
  330. data/test/fixtures/moodle2/backup/activities/resource_14/roles.xml +0 -7
  331. data/test/fixtures/moodle2/backup/activities/resource_3/calendar.xml +0 -3
  332. data/test/fixtures/moodle2/backup/activities/resource_3/comments.xml +0 -3
  333. data/test/fixtures/moodle2/backup/activities/resource_3/completion.xml +0 -3
  334. data/test/fixtures/moodle2/backup/activities/resource_3/filters.xml +0 -7
  335. data/test/fixtures/moodle2/backup/activities/resource_3/grades.xml +0 -7
  336. data/test/fixtures/moodle2/backup/activities/resource_3/inforef.xml +0 -11
  337. data/test/fixtures/moodle2/backup/activities/resource_3/module.xml +0 -25
  338. data/test/fixtures/moodle2/backup/activities/resource_3/resource.xml +0 -16
  339. data/test/fixtures/moodle2/backup/activities/resource_3/roles.xml +0 -7
  340. data/test/fixtures/moodle2/backup/activities/url_15/calendar.xml +0 -3
  341. data/test/fixtures/moodle2/backup/activities/url_15/comments.xml +0 -3
  342. data/test/fixtures/moodle2/backup/activities/url_15/completion.xml +0 -3
  343. data/test/fixtures/moodle2/backup/activities/url_15/filters.xml +0 -7
  344. data/test/fixtures/moodle2/backup/activities/url_15/grades.xml +0 -7
  345. data/test/fixtures/moodle2/backup/activities/url_15/inforef.xml +0 -3
  346. data/test/fixtures/moodle2/backup/activities/url_15/module.xml +0 -25
  347. data/test/fixtures/moodle2/backup/activities/url_15/roles.xml +0 -7
  348. data/test/fixtures/moodle2/backup/activities/url_15/url.xml +0 -13
  349. data/test/fixtures/moodle2/backup/activities/wiki_58541/calendar.xml +0 -3
  350. data/test/fixtures/moodle2/backup/activities/wiki_58541/completion.xml +0 -3
  351. data/test/fixtures/moodle2/backup/activities/wiki_58541/grades.xml +0 -7
  352. data/test/fixtures/moodle2/backup/activities/wiki_58541/inforef.xml +0 -47
  353. data/test/fixtures/moodle2/backup/activities/wiki_58541/module.xml +0 -28
  354. data/test/fixtures/moodle2/backup/activities/wiki_58541/roles.xml +0 -7
  355. data/test/fixtures/moodle2/backup/activities/wiki_58541/wiki.xml +0 -70
  356. data/test/fixtures/moodle2/backup/completion.xml +0 -3
  357. data/test/fixtures/moodle2/backup/course/blocks/calendar_upcoming_12/block.xml +0 -13
  358. data/test/fixtures/moodle2/backup/course/blocks/calendar_upcoming_12/comments.xml +0 -3
  359. data/test/fixtures/moodle2/backup/course/blocks/calendar_upcoming_12/inforef.xml +0 -3
  360. data/test/fixtures/moodle2/backup/course/blocks/calendar_upcoming_12/roles.xml +0 -7
  361. data/test/fixtures/moodle2/backup/course/blocks/news_items_11/block.xml +0 -13
  362. data/test/fixtures/moodle2/backup/course/blocks/news_items_11/comments.xml +0 -3
  363. data/test/fixtures/moodle2/backup/course/blocks/news_items_11/inforef.xml +0 -3
  364. data/test/fixtures/moodle2/backup/course/blocks/news_items_11/roles.xml +0 -7
  365. data/test/fixtures/moodle2/backup/course/blocks/recent_activity_13/block.xml +0 -13
  366. data/test/fixtures/moodle2/backup/course/blocks/recent_activity_13/comments.xml +0 -3
  367. data/test/fixtures/moodle2/backup/course/blocks/recent_activity_13/inforef.xml +0 -3
  368. data/test/fixtures/moodle2/backup/course/blocks/recent_activity_13/roles.xml +0 -7
  369. data/test/fixtures/moodle2/backup/course/blocks/search_forums_10/block.xml +0 -13
  370. data/test/fixtures/moodle2/backup/course/blocks/search_forums_10/comments.xml +0 -3
  371. data/test/fixtures/moodle2/backup/course/blocks/search_forums_10/inforef.xml +0 -3
  372. data/test/fixtures/moodle2/backup/course/blocks/search_forums_10/roles.xml +0 -7
  373. data/test/fixtures/moodle2/backup/course/calendar.xml +0 -3
  374. data/test/fixtures/moodle2/backup/course/comments.xml +0 -3
  375. data/test/fixtures/moodle2/backup/course/course.xml +0 -37
  376. data/test/fixtures/moodle2/backup/course/enrolments.xml +0 -110
  377. data/test/fixtures/moodle2/backup/course/filters.xml +0 -7
  378. data/test/fixtures/moodle2/backup/course/inforef.xml +0 -13
  379. data/test/fixtures/moodle2/backup/course/roles.xml +0 -7
  380. data/test/fixtures/moodle2/backup/files.xml +0 -531
  381. data/test/fixtures/moodle2/backup/files/50/50bf82ee23d193378b172d6656c08eebb094f006 +0 -0
  382. data/test/fixtures/moodle2/backup/files/51/516ec993971b6e2122b97d15ecc0e08c3eb03828 +0 -0
  383. data/test/fixtures/moodle2/backup/files/64/64643b3bd4274c90e293583030e549e61f4d24fb +0 -0
  384. data/test/fixtures/moodle2/backup/files/67/67859b142e5ba020a84c3166f09d59ef992379a4 +0 -0
  385. data/test/fixtures/moodle2/backup/files/7a/7a647918739d3017a4e272ad97b147b667c00fca +0 -0
  386. data/test/fixtures/moodle2/backup/files/a0/a0f324310c8d8dd9c79458986c4322f5a060a1d9 +0 -0
  387. data/test/fixtures/moodle2/backup/files/a2/a258f0bb582d111a994b35fdc84a71ed1d487310 +0 -0
  388. data/test/fixtures/moodle2/backup/gradebook.xml +0 -57
  389. data/test/fixtures/moodle2/backup/groups.xml +0 -5
  390. data/test/fixtures/moodle2/backup/moodle_backup.xml +0 -572
  391. data/test/fixtures/moodle2/backup/outcomes.xml +0 -3
  392. data/test/fixtures/moodle2/backup/questions.xml +0 -1187
  393. data/test/fixtures/moodle2/backup/roles.xml +0 -11
  394. data/test/fixtures/moodle2/backup/scales.xml +0 -3
  395. data/test/fixtures/moodle2/backup/sections/section_1/inforef.xml +0 -3
  396. data/test/fixtures/moodle2/backup/sections/section_1/section.xml +0 -13
  397. data/test/fixtures/moodle2/backup/sections/section_10/inforef.xml +0 -3
  398. data/test/fixtures/moodle2/backup/sections/section_10/section.xml +0 -13
  399. data/test/fixtures/moodle2/backup/sections/section_2/inforef.xml +0 -3
  400. data/test/fixtures/moodle2/backup/sections/section_2/section.xml +0 -13
  401. data/test/fixtures/moodle2/backup/sections/section_3/inforef.xml +0 -3
  402. data/test/fixtures/moodle2/backup/sections/section_3/section.xml +0 -13
  403. data/test/fixtures/moodle2/backup/sections/section_4/inforef.xml +0 -3
  404. data/test/fixtures/moodle2/backup/sections/section_4/section.xml +0 -13
  405. data/test/fixtures/moodle2/backup/sections/section_5/inforef.xml +0 -3
  406. data/test/fixtures/moodle2/backup/sections/section_5/section.xml +0 -13
  407. data/test/fixtures/moodle2/backup/sections/section_6/inforef.xml +0 -3
  408. data/test/fixtures/moodle2/backup/sections/section_6/section.xml +0 -13
  409. data/test/fixtures/moodle2/backup/sections/section_7/inforef.xml +0 -3
  410. data/test/fixtures/moodle2/backup/sections/section_7/section.xml +0 -13
  411. data/test/fixtures/moodle2/backup/users.xml +0 -104
  412. data/test/fixtures/moodle2/moodle2_shell.mbz +0 -0
  413. data/test/fixtures/moodle_backup/course_files/folder/test.txt +0 -1
  414. data/test/fixtures/moodle_backup/course_files/test.txt +0 -1
  415. data/test/fixtures/moodle_backup/moodle.xml +0 -950
  416. data/test/fixtures/moodle_backup_random_questions/course_files/folder/test.txt +0 -1
  417. data/test/fixtures/moodle_backup_random_questions/course_files/test.txt +0 -1
  418. data/test/fixtures/moodle_backup_random_questions/moodle.xml +0 -357
  419. data/test/test_helper.rb +0 -71
  420. data/test/test_question_helper.rb +0 -122
  421. data/test/test_wiki_helper.rb +0 -21
  422. data/test/unit/canvas/assessment_test.rb +0 -261
  423. data/test/unit/canvas/assignment_test.rb +0 -220
  424. data/test/unit/canvas/converter_test.rb +0 -171
  425. data/test/unit/canvas/course_test.rb +0 -176
  426. data/test/unit/canvas/discussion_topic_test.rb +0 -129
  427. data/test/unit/canvas/label_test.rb +0 -32
  428. data/test/unit/canvas/question_bank_test.rb +0 -92
  429. data/test/unit/canvas/question_group_test.rb +0 -90
  430. data/test/unit/canvas/question_test.rb +0 -876
  431. data/test/unit/canvas/web_content_test.rb +0 -46
  432. data/test/unit/canvas/web_link_test.rb +0 -48
  433. data/test/unit/canvas/wiki_test.rb +0 -74
  434. data/test/unit/cc/assessment_test.rb +0 -48
  435. data/test/unit/cc/assignment_test.rb +0 -72
  436. data/test/unit/cc/cc_helper_test.rb +0 -19
  437. data/test/unit/cc/converter_test.rb +0 -173
  438. data/test/unit/cc/course_test.rb +0 -36
  439. data/test/unit/cc/discussion_topic_test.rb +0 -83
  440. data/test/unit/cc/label_test.rb +0 -29
  441. data/test/unit/cc/question_test.rb +0 -54
  442. data/test/unit/cc/web_content_test.rb +0 -76
  443. data/test/unit/cc/web_link_test.rb +0 -159
  444. data/test/unit/cc/wiki_test.rb +0 -139
  445. data/test/unit/logger_test.rb +0 -33
  446. data/test/unit/migrator_test.rb +0 -67
  447. data/test/unit/moodle/backup_test.rb +0 -30
  448. data/test/unit/moodle/course_test.rb +0 -57
  449. data/test/unit/moodle/grade_item_test.rb +0 -72
  450. data/test/unit/moodle/info_test.rb +0 -21
  451. data/test/unit/moodle/mod_test.rb +0 -301
  452. data/test/unit/moodle/question_category_test.rb +0 -34
  453. data/test/unit/moodle/question_test.rb +0 -193
  454. data/test/unit/moodle/section_test.rb +0 -92
  455. data/test/unit/resource_factory_test.rb +0 -216
@@ -1,273 +0,0 @@
1
- <?xml version = "1.0" encoding = "UTF-8"?>
2
- <xs:schema xmlns="http://ltsc.ieee.org/xsd/imsccv1p1/LOM/resource"
3
- targetNamespace="http://ltsc.ieee.org/xsd/imsccv1p1/LOM/resource"
4
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
5
- version="IMS CC MD RES 1.1"
6
- elementFormDefault="qualified"
7
- attributeFormDefault="unqualified">
8
- <xs:annotation>
9
- <xs:documentation>
10
- XSD Data File Information
11
- -------------------------
12
- Author: Colin Smythe
13
- Date: 31st January, 2011
14
- Version: 1.1
15
- Status: Final
16
- Description: This is the IMS GLC Meta-data v1.3 binding of the IEEE LOMv1.0 for the
17
- Common Cartridge v1.1 Resource Metadata. This is based on the LOM strict binding.
18
- The core changes are:
19
- a) General complexType removed;
20
- b) LifeCycle complexType removed;
21
- c) Metametadata complexType removed;
22
- d) Technical complexType removed;
23
- e) Rights complexType removed;
24
- f) Annotation complexType removed;
25
- g) Classification complexType removed;
26
- h) The educational element is required at least once in the metadata instance;
27
- i) For Educational the context is required once and intendedEndUserRole at least once;
28
- j) All order is now imposed using sequence;
29
- k) All vocabs are constrained as required for the context and intendedEndUserRole elements.
30
-
31
- History: Version 1.0 - the first release of this profile for the CC Resource metadata;
32
- Version 1.1 - the 'mentor' enumeration value is added and the 'school' enumeration value are added
33
-
34
- License: IPR, License and Distribution Notices
35
-
36
- This machine readable file is derived from IMS Global Learning Consortium (GLC) specification IMS [spec name] Version [x.x]
37
- found at http://www.imsglobal.org/[xxx] and the original IMS GLC schema binding or code base
38
- http://www.imsglobal.org/[binding document].
39
-
40
- Recipients of this document are requested to submit, with their comments, notification of any
41
- relevant patent claims or other intellectual property rights of which they may be aware that might be
42
- infringed by the schema binding contained in this document.
43
-
44
- IMS GLC takes no position regarding the validity or scope of any intellectual property or other
45
- rights that might be claimed to pertain to the implementation or use of the technology described in this
46
- document or the extent to which any license under such rights might or might not be available; neither
47
- does it represent that it has made any effort to identify any such rights. Information on IMS GLCs
48
- procedures with respect to rights in IMS GLC specifications can be found at the IMS GLC Intellectual Property
49
- Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf.
50
-
51
- Copyright (c) IMS Global Learning Consortium 1999-2011. All Rights Reserved.
52
-
53
- License Notice for Users
54
-
55
- Users of products or services that include this document are hereby granted a worldwide, royalty-free,
56
- non-exclusive license to use this document.
57
-
58
- Distribution Notice for Developers
59
-
60
- Developers of products or services that are not original incorporators of this document and
61
- have not changed this document, that is, are distributing a software product that incorporates this
62
- document as is from a third-party source other than IMS, are hereby granted permission to copy,
63
- display and distribute the contents of this document in any medium for any purpose without fee or
64
- royalty provided that you include this IPR, License and Distribution notice in its entirety on ALL
65
- copies, or portions thereof.
66
-
67
- Developers of products or services that are original incorporators of this document and wish
68
- to provide distribution of this document as is or with modifications and developers of products and
69
- services that are not original incorporators of this document and have changed this document, are
70
- required to register with the IMS GLC community on the IMS GLC website as described in the following two
71
- paragraphs:-
72
-
73
- * If you wish to distribute this document as is, with no modifications, you are hereby granted
74
- permission to copy, display and distribute the contents of this document in any medium for any
75
- purpose without fee or royalty provided that you include this IPR, License and Distribution notice in
76
- its entirety on ALL copies, or portions thereof, that you make and you complete a valid license
77
- registration with IMS and receive an email from IMS granting the license. To register, follow the
78
- instructions on the IMS website: http://www.imsglobal.org/specificationdownload.cfm. Once
79
- registered you are granted permission to transfer unlimited distribution rights of this document for the
80
- purposes of third-party or other distribution of your product or service that incorporates this
81
- document as long as this IPR, License and Distribution notice remains in place in its entirety;
82
-
83
- * If you wish to create and distribute a derived work from this document, you are hereby
84
- granted permission to copy, display and distribute the contents of the derived work in any medium for
85
- any purpose without fee or royalty provided that you include this IPR, License and Distribution
86
- notice in its entirety on ALL copies, or portions thereof, that you make and you complete a valid
87
- profile registration with IMS GLC and receive an email from IMS GLC granting the license. To register, follow
88
- the instructions on the IMS GLC website: http://www.imsglobal.org/profile/. Once registered you are
89
- granted permission to transfer unlimited distribution rights of the derived work for the purposes of
90
- third-party or other distribution of your product or service that incorporates the derived work as long
91
- as this IPR, License and Distribution notice remains in place in its entirety.
92
-
93
- The limited permissions granted above are perpetual and will not be revoked by IMS GLC or its
94
- successors or assigns.
95
-
96
- THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR, ANY WARRANTY OF NONINFRINGEMENT IS
97
- EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION SHALL BE MADE ENTIRELY AT THE IMPLEMENTERS OWN RISK, AND NEITHER THE CONSORTIUM
98
- NOR ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER OR THIRD PARTY FOR ANY DAMAGES OF
99
- ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING FROM THE USE OF THIS SPECIFICATION.
100
-
101
- Source UML File Information
102
- ---------------------------
103
- The source file information must be supplied as an XMI file (without diagram layout information).
104
- The supported UML authoring tools are:
105
- (a) Poseidon – v6 (and later)
106
-
107
- Source XSLT File Information
108
- ----------------------------
109
- XSL Generator: UMLtoXSDTransformv0p9.xsl
110
- XSLT Processor: Xalan
111
- Release: 1.0 Beta 3
112
- Date: 31st May, 2009
113
-
114
- IMS GLC Auto-generation Binding Tool-kit (I-BAT)
115
- ------------------------------------------------
116
- This file was auto-generated using the IMS GLC Binding Auto-generation Tool-kit (I-BAT). While every
117
- attempt has been made to ensure that this tool auto-generates the files correctly, users should be aware
118
- that this is an experimental tool. Permission is given to make use of this tool. IMS GLC makes no
119
- claim on the materials created by third party users of this tool. Details on how to use this tool
120
- are contained in the IMS GLC "I-BAT" Documentation available at the IMS GLC web-site.
121
-
122
- Tool Copyright: 2005-2011 (c) IMS Global Learning Consortium Inc. All Rights Reserved.
123
- </xs:documentation>
124
- </xs:annotation>
125
-
126
- <!-- Generate Global Attributes *********************************************************************** -->
127
-
128
- <!-- ================================================================================================== -->
129
-
130
- <!-- Generate Global List Types *********************************************************************** -->
131
-
132
- <!-- ================================================================================================== -->
133
-
134
- <!-- Generate Namespaced extension Group ************************************************************* -->
135
-
136
- <!-- ================================================================================================== -->
137
-
138
- <!-- Generate Special DataTypes ********************************************************************** -->
139
-
140
- <!-- ================================================================================================== -->
141
-
142
- <!-- Generate the enumerated simpleType declarations ************************************************** -->
143
-
144
- <!-- ================================================================================================== -->
145
-
146
- <!-- Generate the simpleType elements based IMS data-types ******************************************* -->
147
-
148
- <!-- ================================================================================================== -->
149
-
150
- <!-- Generate the derived data-type elements based upon simpleType ************************************ -->
151
-
152
- <xs:simpleType name="CharacterString.Type">
153
- <xs:restriction base="xs:string"/>
154
- </xs:simpleType>
155
-
156
- <!-- ================================================================================================== -->
157
-
158
- <!-- Generate the derived data-type elements based upon derived simpleType **************************** -->
159
-
160
- <!-- ================================================================================================== -->
161
-
162
- <!-- Generate the data-type ComplexTypes ************************************************************** -->
163
-
164
- <xs:complexType name="Context.Type" mixed="false">
165
- <xs:annotation>
166
- <xs:documentation source="umldocumentation">
167
- The Context complexType is the container for the information about the principal environment within which the learning and use of this learning object is intended to take place. Suggested good practice is to use one of the values of the value space and to use an additional instance of this data element for further refinement.
168
- </xs:documentation>
169
- </xs:annotation>
170
- <xs:sequence>
171
- <xs:element name="source" minOccurs = "1" maxOccurs = "1">
172
- <xs:simpleType>
173
- <xs:restriction base="xs:string">
174
- <xs:enumeration value="LOMv1.0"/>
175
- </xs:restriction>
176
- </xs:simpleType>
177
- </xs:element>
178
- <xs:element name="value" minOccurs = "1" maxOccurs = "1">
179
- <xs:simpleType>
180
- <xs:restriction base="xs:string">
181
- <xs:enumeration value="higher education"/>
182
- <xs:enumeration value="school"/>
183
- <xs:enumeration value="training"/>
184
- <xs:enumeration value="other"/>
185
- </xs:restriction>
186
- </xs:simpleType>
187
- </xs:element>
188
- </xs:sequence>
189
- </xs:complexType>
190
-
191
- <xs:complexType name="Educational.Type" mixed="false">
192
- <xs:annotation>
193
- <xs:documentation source="umldocumentation">
194
- The Educational complexType is the container for the information that describes the key educational or pedagogic characteristics of this learning object. This is pedagogical informtion essential to those involved in achieving a quality learning experience. The audience for this metadata includes teachers, managers, authors and learners. CC Resource Profile: Only single context and intendedUserRole elements are permitted.
195
- </xs:documentation>
196
- </xs:annotation>
197
- <xs:sequence>
198
- <xs:element name="context" type="Context.Type" minOccurs = "0" maxOccurs = "1"/>
199
- <xs:element name="intendedEndUserRole" type="IntendedEndUserRole.Type" minOccurs = "1" maxOccurs = "unbounded"/>
200
- </xs:sequence>
201
- </xs:complexType>
202
-
203
- <xs:complexType name="IntendedEndUserRole.Type" mixed="false">
204
- <xs:annotation>
205
- <xs:documentation source="umldocumentation">
206
- The IntendedEndUserRole complexType is the container for the information about the principal user(s) for which this learning object was designed, most dominant first. For Strict LOM binding this has an enumerated vocabulary. The Classification element can be used to describe the role through the skills the user is intended to master, or the tasks he or she is intended to be able to accomplish. CC Resource Profile: Only the 'Instructor', 'Mentor' and 'Learner' vocab values are permitted.
207
- </xs:documentation>
208
- </xs:annotation>
209
- <xs:sequence>
210
- <xs:element name="source" minOccurs = "1" maxOccurs = "1">
211
- <xs:simpleType>
212
- <xs:restriction base="xs:string">
213
- <xs:enumeration value="IMSGLC_CC_Rolesv1p1"/>
214
- </xs:restriction>
215
- </xs:simpleType>
216
- </xs:element>
217
- <xs:element name="value" minOccurs = "1" maxOccurs = "1">
218
- <xs:simpleType>
219
- <xs:restriction base="xs:string">
220
- <xs:enumeration value="Instructor"/>
221
- <xs:enumeration value="Learner"/>
222
- <xs:enumeration value="Mentor"/>
223
- </xs:restriction>
224
- </xs:simpleType>
225
- </xs:element>
226
- </xs:sequence>
227
- </xs:complexType>
228
-
229
- <xs:complexType name="LangString.Type" mixed="false">
230
- <xs:annotation>
231
- <xs:documentation source="umldocumentation">
232
- The LangString complexType is the container for a group of language specific characterstrings.
233
- </xs:documentation>
234
- </xs:annotation>
235
- <xs:sequence>
236
- <xs:element name="string" type="LanguageString.Type" minOccurs = "0" maxOccurs = "unbounded"/>
237
- </xs:sequence>
238
- </xs:complexType>
239
-
240
- <xs:complexType name="LOM.Type" mixed="false">
241
- <xs:annotation>
242
- <xs:documentation source="umldocumentation">
243
- The LOM complexType is the container for the metadata instance.
244
-
245
- CC Resource Profile - only a single Educational element is permitted.
246
- </xs:documentation>
247
- </xs:annotation>
248
- <xs:sequence>
249
- <xs:element name="educational" type="Educational.Type" minOccurs = "1" maxOccurs = "unbounded"/>
250
- </xs:sequence>
251
- </xs:complexType>
252
-
253
- <xs:complexType name="LanguageString.Type">
254
- <xs:simpleContent>
255
- <xs:extension base="xs:string">
256
- <xs:attribute name="language" use="optional" type="CharacterString.Type"/>
257
- </xs:extension>
258
- </xs:simpleContent>
259
- </xs:complexType>
260
-
261
- <!-- ================================================================================================== -->
262
-
263
- <!-- Declaration of the elements ********************************************************************** -->
264
-
265
- <!-- ================================================================================================== -->
266
-
267
- <!-- Declaration of the root element(s) *************************************************************** -->
268
-
269
- <xs:element name="lom" type="LOM.Type"/>
270
-
271
- <!-- ================================================================================================== -->
272
-
273
- </xs:schema>
@@ -1,286 +0,0 @@
1
- <?xml version='1.0'?>
2
- <?xml-stylesheet href="../2008/09/xsd.xsl" type="text/xsl"?>
3
- <xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace"
4
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
5
- xmlns ="http://www.w3.org/1999/xhtml"
6
- xml:lang="en">
7
-
8
- <xs:annotation>
9
- <xs:documentation>
10
- <div>
11
- <h1>About the XML namespace</h1>
12
-
13
- <div class="bodytext">
14
- <p>
15
- This schema document describes the XML namespace, in a form
16
- suitable for import by other schema documents.
17
- </p>
18
- <p>
19
- See <a href="http://www.w3.org/XML/1998/namespace.html">
20
- http://www.w3.org/XML/1998/namespace.html</a> and
21
- <a href="http://www.w3.org/TR/REC-xml">
22
- http://www.w3.org/TR/REC-xml</a> for information
23
- about this namespace.
24
- </p>
25
- <p>
26
- Note that local names in this namespace are intended to be
27
- defined only by the World Wide Web Consortium or its subgroups.
28
- The names currently defined in this namespace are listed below.
29
- They should not be used with conflicting semantics by any Working
30
- Group, specification, or document instance.
31
- </p>
32
- <p>
33
- See further below in this document for more information about <a
34
- href="#usage">how to refer to this schema document from your own
35
- XSD schema documents</a> and about <a href="#nsversioning">the
36
- namespace-versioning policy governing this schema document</a>.
37
- </p>
38
- </div>
39
- </div>
40
- </xs:documentation>
41
- </xs:annotation>
42
-
43
- <xs:attribute name="lang">
44
- <xs:annotation>
45
- <xs:documentation>
46
- <div>
47
-
48
- <h3>lang (as an attribute name)</h3>
49
- <p>
50
- denotes an attribute whose value
51
- is a language code for the natural language of the content of
52
- any element; its value is inherited. This name is reserved
53
- by virtue of its definition in the XML specification.</p>
54
-
55
- </div>
56
- <div>
57
- <h4>Notes</h4>
58
- <p>
59
- Attempting to install the relevant ISO 2- and 3-letter
60
- codes as the enumerated possible values is probably never
61
- going to be a realistic possibility.
62
- </p>
63
- <p>
64
- See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">
65
- http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>
66
- and the IANA language subtag registry at
67
- <a href="http://www.iana.org/assignments/language-subtag-registry">
68
- http://www.iana.org/assignments/language-subtag-registry</a>
69
- for further information.
70
- </p>
71
- <p>
72
- The union allows for the 'un-declaration' of xml:lang with
73
- the empty string.
74
- </p>
75
- </div>
76
- </xs:documentation>
77
- </xs:annotation>
78
- <xs:simpleType>
79
- <xs:union memberTypes="xs:language">
80
- <xs:simpleType>
81
- <xs:restriction base="xs:string">
82
- <xs:enumeration value=""/>
83
- </xs:restriction>
84
- </xs:simpleType>
85
- </xs:union>
86
- </xs:simpleType>
87
- </xs:attribute>
88
-
89
- <xs:attribute name="space">
90
- <xs:annotation>
91
- <xs:documentation>
92
- <div>
93
-
94
- <h3>space (as an attribute name)</h3>
95
- <p>
96
- denotes an attribute whose
97
- value is a keyword indicating what whitespace processing
98
- discipline is intended for the content of the element; its
99
- value is inherited. This name is reserved by virtue of its
100
- definition in the XML specification.</p>
101
-
102
- </div>
103
- </xs:documentation>
104
- </xs:annotation>
105
- <xs:simpleType>
106
- <xs:restriction base="xs:NCName">
107
- <xs:enumeration value="default"/>
108
- <xs:enumeration value="preserve"/>
109
- </xs:restriction>
110
- </xs:simpleType>
111
- </xs:attribute>
112
-
113
- <xs:attribute name="base" type="xs:anyURI"> <xs:annotation>
114
- <xs:documentation>
115
- <div>
116
-
117
- <h3>base (as an attribute name)</h3>
118
- <p>
119
- denotes an attribute whose value
120
- provides a URI to be used as the base for interpreting any
121
- relative URIs in the scope of the element on which it
122
- appears; its value is inherited. This name is reserved
123
- by virtue of its definition in the XML Base specification.</p>
124
-
125
- <p>
126
- See <a
127
- href="http://www.w3.org/TR/xmlbase/">http://www.w3.org/TR/xmlbase/</a>
128
- for information about this attribute.
129
- </p>
130
- </div>
131
- </xs:documentation>
132
- </xs:annotation>
133
- </xs:attribute>
134
-
135
- <xs:attribute name="id" type="xs:ID">
136
- <xs:annotation>
137
- <xs:documentation>
138
- <div>
139
-
140
- <h3>id (as an attribute name)</h3>
141
- <p>
142
- denotes an attribute whose value
143
- should be interpreted as if declared to be of type ID.
144
- This name is reserved by virtue of its definition in the
145
- xml:id specification.</p>
146
-
147
- <p>
148
- See <a
149
- href="http://www.w3.org/TR/xml-id/">http://www.w3.org/TR/xml-id/</a>
150
- for information about this attribute.
151
- </p>
152
- </div>
153
- </xs:documentation>
154
- </xs:annotation>
155
- </xs:attribute>
156
-
157
- <xs:attributeGroup name="specialAttrs">
158
- <xs:attribute ref="xml:base"/>
159
- <xs:attribute ref="xml:lang"/>
160
- <xs:attribute ref="xml:space"/>
161
- <xs:attribute ref="xml:id"/>
162
- </xs:attributeGroup>
163
-
164
- <xs:annotation>
165
- <xs:documentation>
166
- <div>
167
-
168
- <h3>Father (in any context at all)</h3>
169
-
170
- <div class="bodytext">
171
- <p>
172
- denotes Jon Bosak, the chair of
173
- the original XML Working Group. This name is reserved by
174
- the following decision of the W3C XML Plenary and
175
- XML Coordination groups:
176
- </p>
177
- <blockquote>
178
- <p>
179
- In appreciation for his vision, leadership and
180
- dedication the W3C XML Plenary on this 10th day of
181
- February, 2000, reserves for Jon Bosak in perpetuity
182
- the XML name "xml:Father".
183
- </p>
184
- </blockquote>
185
- </div>
186
- </div>
187
- </xs:documentation>
188
- </xs:annotation>
189
-
190
- <xs:annotation>
191
- <xs:documentation>
192
- <div xml:id="usage" id="usage">
193
- <h2><a name="usage">About this schema document</a></h2>
194
-
195
- <div class="bodytext">
196
- <p>
197
- This schema defines attributes and an attribute group suitable
198
- for use by schemas wishing to allow <code>xml:base</code>,
199
- <code>xml:lang</code>, <code>xml:space</code> or
200
- <code>xml:id</code> attributes on elements they define.
201
- </p>
202
- <p>
203
- To enable this, such a schema must import this schema for
204
- the XML namespace, e.g. as follows:
205
- </p>
206
- <pre>
207
- &lt;schema . . .>
208
- . . .
209
- &lt;import namespace="http://www.w3.org/XML/1998/namespace"
210
- schemaLocation="http://www.w3.org/2001/xml.xsd"/>
211
- </pre>
212
- <p>
213
- or
214
- </p>
215
- <pre>
216
- &lt;import namespace="http://www.w3.org/XML/1998/namespace"
217
- schemaLocation="http://www.w3.org/2009/01/xml.xsd"/>
218
- </pre>
219
- <p>
220
- Subsequently, qualified reference to any of the attributes or the
221
- group defined below will have the desired effect, e.g.
222
- </p>
223
- <pre>
224
- &lt;type . . .>
225
- . . .
226
- &lt;attributeGroup ref="xml:specialAttrs"/>
227
- </pre>
228
- <p>
229
- will define a type which will schema-validate an instance element
230
- with any of those attributes.
231
- </p>
232
- </div>
233
- </div>
234
- </xs:documentation>
235
- </xs:annotation>
236
-
237
- <xs:annotation>
238
- <xs:documentation>
239
- <div id="nsversioning" xml:id="nsversioning">
240
- <h2><a name="nsversioning">Versioning policy for this schema document</a></h2>
241
- <div class="bodytext">
242
- <p>
243
- In keeping with the XML Schema WG's standard versioning
244
- policy, this schema document will persist at
245
- <a href="http://www.w3.org/2009/01/xml.xsd">
246
- http://www.w3.org/2009/01/xml.xsd</a>.
247
- </p>
248
- <p>
249
- At the date of issue it can also be found at
250
- <a href="http://www.w3.org/2001/xml.xsd">
251
- http://www.w3.org/2001/xml.xsd</a>.
252
- </p>
253
- <p>
254
- The schema document at that URI may however change in the future,
255
- in order to remain compatible with the latest version of XML
256
- Schema itself, or with the XML namespace itself. In other words,
257
- if the XML Schema or XML namespaces change, the version of this
258
- document at <a href="http://www.w3.org/2001/xml.xsd">
259
- http://www.w3.org/2001/xml.xsd
260
- </a>
261
- will change accordingly; the version at
262
- <a href="http://www.w3.org/2009/01/xml.xsd">
263
- http://www.w3.org/2009/01/xml.xsd
264
- </a>
265
- will not change.
266
- </p>
267
- <p>
268
- Previous dated (and unchanging) versions of this schema
269
- document are at:
270
- </p>
271
- <ul>
272
- <li><a href="http://www.w3.org/2009/01/xml.xsd">
273
- http://www.w3.org/2009/01/xml.xsd</a></li>
274
- <li><a href="http://www.w3.org/2007/08/xml.xsd">
275
- http://www.w3.org/2007/08/xml.xsd</a></li>
276
- <li><a href="http://www.w3.org/2004/10/xml.xsd">
277
- http://www.w3.org/2004/10/xml.xsd</a></li>
278
- <li><a href="http://www.w3.org/2001/03/xml.xsd">
279
- http://www.w3.org/2001/03/xml.xsd</a></li>
280
- </ul>
281
- </div>
282
- </div>
283
- </xs:documentation>
284
- </xs:annotation>
285
-
286
- </xs:schema>