simple-skills 1.3.8 → 1.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/README.md +1 -2
  2. package/package.json +1 -1
  3. package/skills/engineering/README.md +1 -2
  4. package/skills/engineering/officedocs/SKILL.md +306 -0
  5. package/skills/engineering/docx/SKILL.md +0 -617
  6. package/skills/engineering/docx/scripts/office/__pycache__/soffice.cpython-314.pyc +0 -0
  7. package/skills/engineering/docx/scripts/office/helpers/__pycache__/__init__.cpython-314.pyc +0 -0
  8. package/skills/engineering/docx/scripts/office/helpers/__pycache__/merge_runs.cpython-314.pyc +0 -0
  9. package/skills/engineering/docx/scripts/office/helpers/__pycache__/simplify_redlines.cpython-314.pyc +0 -0
  10. package/skills/engineering/pptx/SKILL.md +0 -221
  11. package/skills/engineering/pptx/scripts/__init__.py +0 -0
  12. package/skills/engineering/pptx/scripts/office/helpers/__init__.py +0 -0
  13. package/skills/engineering/pptx/scripts/office/helpers/merge_runs.py +0 -199
  14. package/skills/engineering/pptx/scripts/office/helpers/simplify_redlines.py +0 -197
  15. package/skills/engineering/pptx/scripts/office/pack.py +0 -159
  16. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +0 -1499
  17. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +0 -146
  18. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +0 -1085
  19. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +0 -11
  20. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +0 -3081
  21. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +0 -23
  22. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +0 -185
  23. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +0 -287
  24. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +0 -1676
  25. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +0 -28
  26. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +0 -144
  27. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +0 -174
  28. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +0 -25
  29. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +0 -18
  30. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +0 -59
  31. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +0 -56
  32. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +0 -195
  33. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +0 -582
  34. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +0 -25
  35. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +0 -4439
  36. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +0 -570
  37. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +0 -509
  38. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +0 -12
  39. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +0 -108
  40. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +0 -96
  41. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +0 -3646
  42. package/skills/engineering/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +0 -116
  43. package/skills/engineering/pptx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +0 -42
  44. package/skills/engineering/pptx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +0 -50
  45. package/skills/engineering/pptx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +0 -49
  46. package/skills/engineering/pptx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +0 -33
  47. package/skills/engineering/pptx/scripts/office/schemas/mce/mc.xsd +0 -75
  48. package/skills/engineering/pptx/scripts/office/schemas/microsoft/wml-2010.xsd +0 -560
  49. package/skills/engineering/pptx/scripts/office/schemas/microsoft/wml-2012.xsd +0 -67
  50. package/skills/engineering/pptx/scripts/office/schemas/microsoft/wml-2018.xsd +0 -14
  51. package/skills/engineering/pptx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +0 -20
  52. package/skills/engineering/pptx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +0 -13
  53. package/skills/engineering/pptx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +0 -4
  54. package/skills/engineering/pptx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +0 -8
  55. package/skills/engineering/pptx/scripts/office/soffice.py +0 -183
  56. package/skills/engineering/pptx/scripts/office/unpack.py +0 -132
  57. package/skills/engineering/pptx/scripts/office/validate.py +0 -111
  58. package/skills/engineering/pptx/scripts/office/validators/__init__.py +0 -15
  59. package/skills/engineering/pptx/scripts/office/validators/base.py +0 -847
  60. package/skills/engineering/pptx/scripts/office/validators/docx.py +0 -446
  61. package/skills/engineering/pptx/scripts/office/validators/pptx.py +0 -275
  62. package/skills/engineering/pptx/scripts/office/validators/redlining.py +0 -247
  63. package/skills/engineering/xlsx/SKILL.md +0 -320
  64. package/skills/engineering/xlsx/scripts/office/helpers/__init__.py +0 -0
  65. package/skills/engineering/xlsx/scripts/office/helpers/merge_runs.py +0 -199
  66. package/skills/engineering/xlsx/scripts/office/helpers/simplify_redlines.py +0 -197
  67. package/skills/engineering/xlsx/scripts/office/pack.py +0 -159
  68. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +0 -1499
  69. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +0 -146
  70. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +0 -1085
  71. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +0 -11
  72. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +0 -3081
  73. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +0 -23
  74. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +0 -185
  75. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +0 -287
  76. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +0 -1676
  77. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +0 -28
  78. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +0 -144
  79. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +0 -174
  80. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +0 -25
  81. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +0 -18
  82. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +0 -59
  83. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +0 -56
  84. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +0 -195
  85. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +0 -582
  86. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +0 -25
  87. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +0 -4439
  88. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +0 -570
  89. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +0 -509
  90. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +0 -12
  91. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +0 -108
  92. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +0 -96
  93. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +0 -3646
  94. package/skills/engineering/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +0 -116
  95. package/skills/engineering/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +0 -42
  96. package/skills/engineering/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +0 -50
  97. package/skills/engineering/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +0 -49
  98. package/skills/engineering/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +0 -33
  99. package/skills/engineering/xlsx/scripts/office/schemas/mce/mc.xsd +0 -75
  100. package/skills/engineering/xlsx/scripts/office/schemas/microsoft/wml-2010.xsd +0 -560
  101. package/skills/engineering/xlsx/scripts/office/schemas/microsoft/wml-2012.xsd +0 -67
  102. package/skills/engineering/xlsx/scripts/office/schemas/microsoft/wml-2018.xsd +0 -14
  103. package/skills/engineering/xlsx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +0 -20
  104. package/skills/engineering/xlsx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +0 -13
  105. package/skills/engineering/xlsx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +0 -4
  106. package/skills/engineering/xlsx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +0 -8
  107. package/skills/engineering/xlsx/scripts/office/soffice.py +0 -183
  108. package/skills/engineering/xlsx/scripts/office/unpack.py +0 -132
  109. package/skills/engineering/xlsx/scripts/office/validate.py +0 -111
  110. package/skills/engineering/xlsx/scripts/office/validators/__init__.py +0 -15
  111. package/skills/engineering/xlsx/scripts/office/validators/base.py +0 -847
  112. package/skills/engineering/xlsx/scripts/office/validators/docx.py +0 -446
  113. package/skills/engineering/xlsx/scripts/office/validators/pptx.py +0 -275
  114. package/skills/engineering/xlsx/scripts/office/validators/redlining.py +0 -247
  115. /package/skills/engineering/{pptx → officedocs}/editing.md +0 -0
  116. /package/skills/engineering/{pptx → officedocs}/pptxgenjs.md +0 -0
  117. /package/skills/engineering/{docx → officedocs}/scripts/__init__.py +0 -0
  118. /package/skills/engineering/{docx → officedocs}/scripts/accept_changes.py +0 -0
  119. /package/skills/engineering/{pptx → officedocs}/scripts/add_slide.py +0 -0
  120. /package/skills/engineering/{pptx → officedocs}/scripts/clean.py +0 -0
  121. /package/skills/engineering/{docx → officedocs}/scripts/comment.py +0 -0
  122. /package/skills/engineering/{docx → officedocs}/scripts/office/helpers/__init__.py +0 -0
  123. /package/skills/engineering/{docx → officedocs}/scripts/office/helpers/merge_runs.py +0 -0
  124. /package/skills/engineering/{docx → officedocs}/scripts/office/helpers/simplify_redlines.py +0 -0
  125. /package/skills/engineering/{docx → officedocs}/scripts/office/pack.py +0 -0
  126. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +0 -0
  127. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +0 -0
  128. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +0 -0
  129. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +0 -0
  130. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +0 -0
  131. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +0 -0
  132. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +0 -0
  133. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +0 -0
  134. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +0 -0
  135. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +0 -0
  136. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +0 -0
  137. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +0 -0
  138. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +0 -0
  139. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +0 -0
  140. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +0 -0
  141. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +0 -0
  142. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +0 -0
  143. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +0 -0
  144. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +0 -0
  145. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +0 -0
  146. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +0 -0
  147. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +0 -0
  148. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +0 -0
  149. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +0 -0
  150. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +0 -0
  151. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +0 -0
  152. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +0 -0
  153. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +0 -0
  154. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +0 -0
  155. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +0 -0
  156. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +0 -0
  157. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/mce/mc.xsd +0 -0
  158. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/microsoft/wml-2010.xsd +0 -0
  159. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/microsoft/wml-2012.xsd +0 -0
  160. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/microsoft/wml-2018.xsd +0 -0
  161. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/microsoft/wml-cex-2018.xsd +0 -0
  162. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/microsoft/wml-cid-2016.xsd +0 -0
  163. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +0 -0
  164. /package/skills/engineering/{docx → officedocs}/scripts/office/schemas/microsoft/wml-symex-2015.xsd +0 -0
  165. /package/skills/engineering/{docx → officedocs}/scripts/office/soffice.py +0 -0
  166. /package/skills/engineering/{docx → officedocs}/scripts/office/unpack.py +0 -0
  167. /package/skills/engineering/{docx → officedocs}/scripts/office/validate.py +0 -0
  168. /package/skills/engineering/{docx → officedocs}/scripts/office/validators/__init__.py +0 -0
  169. /package/skills/engineering/{docx → officedocs}/scripts/office/validators/base.py +0 -0
  170. /package/skills/engineering/{docx → officedocs}/scripts/office/validators/docx.py +0 -0
  171. /package/skills/engineering/{docx → officedocs}/scripts/office/validators/pptx.py +0 -0
  172. /package/skills/engineering/{docx → officedocs}/scripts/office/validators/redlining.py +0 -0
  173. /package/skills/engineering/{xlsx → officedocs}/scripts/recalc.py +0 -0
  174. /package/skills/engineering/{docx → officedocs}/scripts/templates/comments.xml +0 -0
  175. /package/skills/engineering/{docx → officedocs}/scripts/templates/commentsExtended.xml +0 -0
  176. /package/skills/engineering/{docx → officedocs}/scripts/templates/commentsExtensible.xml +0 -0
  177. /package/skills/engineering/{docx → officedocs}/scripts/templates/commentsIds.xml +0 -0
  178. /package/skills/engineering/{docx → officedocs}/scripts/templates/people.xml +0 -0
  179. /package/skills/engineering/{pptx → officedocs}/scripts/thumbnail.py +0 -0
@@ -1,116 +0,0 @@
1
- <?xml version='1.0'?>
2
- <xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en">
3
-
4
- <xs:annotation>
5
- <xs:documentation>
6
- See http://www.w3.org/XML/1998/namespace.html and
7
- http://www.w3.org/TR/REC-xml for information about this namespace.
8
-
9
- This schema document describes the XML namespace, in a form
10
- suitable for import by other schema documents.
11
-
12
- Note that local names in this namespace are intended to be defined
13
- only by the World Wide Web Consortium or its subgroups. The
14
- following names are currently defined in this namespace and should
15
- not be used with conflicting semantics by any Working Group,
16
- specification, or document instance:
17
-
18
- base (as an attribute name): denotes an attribute whose value
19
- provides a URI to be used as the base for interpreting any
20
- relative URIs in the scope of the element on which it
21
- appears; its value is inherited. This name is reserved
22
- by virtue of its definition in the XML Base specification.
23
-
24
- lang (as an attribute name): denotes an attribute whose value
25
- is a language code for the natural language of the content of
26
- any element; its value is inherited. This name is reserved
27
- by virtue of its definition in the XML specification.
28
-
29
- space (as an attribute name): denotes an attribute whose
30
- value is a keyword indicating what whitespace processing
31
- discipline is intended for the content of the element; its
32
- value is inherited. This name is reserved by virtue of its
33
- definition in the XML specification.
34
-
35
- Father (in any context at all): denotes Jon Bosak, the chair of
36
- the original XML Working Group. This name is reserved by
37
- the following decision of the W3C XML Plenary and
38
- XML Coordination groups:
39
-
40
- In appreciation for his vision, leadership and dedication
41
- the W3C XML Plenary on this 10th day of February, 2000
42
- reserves for Jon Bosak in perpetuity the XML name
43
- xml:Father
44
- </xs:documentation>
45
- </xs:annotation>
46
-
47
- <xs:annotation>
48
- <xs:documentation>This schema defines attributes and an attribute group
49
- suitable for use by
50
- schemas wishing to allow xml:base, xml:lang or xml:space attributes
51
- on elements they define.
52
-
53
- To enable this, such a schema must import this schema
54
- for the XML namespace, e.g. as follows:
55
- &lt;schema . . .>
56
- . . .
57
- &lt;import namespace="http://www.w3.org/XML/1998/namespace"
58
- schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
59
-
60
- Subsequently, qualified reference to any of the attributes
61
- or the group defined below will have the desired effect, e.g.
62
-
63
- &lt;type . . .>
64
- . . .
65
- &lt;attributeGroup ref="xml:specialAttrs"/>
66
-
67
- will define a type which will schema-validate an instance
68
- element with any of those attributes</xs:documentation>
69
- </xs:annotation>
70
-
71
- <xs:annotation>
72
- <xs:documentation>In keeping with the XML Schema WG's standard versioning
73
- policy, this schema document will persist at
74
- http://www.w3.org/2001/03/xml.xsd.
75
- At the date of issue it can also be found at
76
- http://www.w3.org/2001/xml.xsd.
77
- The schema document at that URI may however change in the future,
78
- in order to remain compatible with the latest version of XML Schema
79
- itself. In other words, if the XML Schema namespace changes, the version
80
- of this document at
81
- http://www.w3.org/2001/xml.xsd will change
82
- accordingly; the version at
83
- http://www.w3.org/2001/03/xml.xsd will not change.
84
- </xs:documentation>
85
- </xs:annotation>
86
-
87
- <xs:attribute name="lang" type="xs:language">
88
- <xs:annotation>
89
- <xs:documentation>In due course, we should install the relevant ISO 2- and 3-letter
90
- codes as the enumerated possible values . . .</xs:documentation>
91
- </xs:annotation>
92
- </xs:attribute>
93
-
94
- <xs:attribute name="space" default="preserve">
95
- <xs:simpleType>
96
- <xs:restriction base="xs:NCName">
97
- <xs:enumeration value="default"/>
98
- <xs:enumeration value="preserve"/>
99
- </xs:restriction>
100
- </xs:simpleType>
101
- </xs:attribute>
102
-
103
- <xs:attribute name="base" type="xs:anyURI">
104
- <xs:annotation>
105
- <xs:documentation>See http://www.w3.org/TR/xmlbase/ for
106
- information about this attribute.</xs:documentation>
107
- </xs:annotation>
108
- </xs:attribute>
109
-
110
- <xs:attributeGroup name="specialAttrs">
111
- <xs:attribute ref="xml:base"/>
112
- <xs:attribute ref="xml:lang"/>
113
- <xs:attribute ref="xml:space"/>
114
- </xs:attributeGroup>
115
-
116
- </xs:schema>
@@ -1,42 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <xs:schema xmlns="http://schemas.openxmlformats.org/package/2006/content-types"
3
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
4
- targetNamespace="http://schemas.openxmlformats.org/package/2006/content-types"
5
- elementFormDefault="qualified" attributeFormDefault="unqualified" blockDefault="#all">
6
-
7
- <xs:element name="Types" type="CT_Types"/>
8
- <xs:element name="Default" type="CT_Default"/>
9
- <xs:element name="Override" type="CT_Override"/>
10
-
11
- <xs:complexType name="CT_Types">
12
- <xs:choice minOccurs="0" maxOccurs="unbounded">
13
- <xs:element ref="Default"/>
14
- <xs:element ref="Override"/>
15
- </xs:choice>
16
- </xs:complexType>
17
-
18
- <xs:complexType name="CT_Default">
19
- <xs:attribute name="Extension" type="ST_Extension" use="required"/>
20
- <xs:attribute name="ContentType" type="ST_ContentType" use="required"/>
21
- </xs:complexType>
22
-
23
- <xs:complexType name="CT_Override">
24
- <xs:attribute name="ContentType" type="ST_ContentType" use="required"/>
25
- <xs:attribute name="PartName" type="xs:anyURI" use="required"/>
26
- </xs:complexType>
27
-
28
- <xs:simpleType name="ST_ContentType">
29
- <xs:restriction base="xs:string">
30
- <xs:pattern
31
- value="(((([\p{IsBasicLatin}-[\p{Cc}&#127;\(\)&lt;&gt;@,;:\\&quot;/\[\]\?=\{\}\s\t]])+))/((([\p{IsBasicLatin}-[\p{Cc}&#127;\(\)&lt;&gt;@,;:\\&quot;/\[\]\?=\{\}\s\t]])+))((\s+)*;(\s+)*(((([\p{IsBasicLatin}-[\p{Cc}&#127;\(\)&lt;&gt;@,;:\\&quot;/\[\]\?=\{\}\s\t]])+))=((([\p{IsBasicLatin}-[\p{Cc}&#127;\(\)&lt;&gt;@,;:\\&quot;/\[\]\?=\{\}\s\t]])+)|(&quot;(([\p{IsLatin-1Supplement}\p{IsBasicLatin}-[\p{Cc}&#127;&quot;\n\r]]|(\s+))|(\\[\p{IsBasicLatin}]))*&quot;))))*)"
32
- />
33
- </xs:restriction>
34
- </xs:simpleType>
35
-
36
- <xs:simpleType name="ST_Extension">
37
- <xs:restriction base="xs:string">
38
- <xs:pattern
39
- value="([!$&amp;'\(\)\*\+,:=]|(%[0-9a-fA-F][0-9a-fA-F])|[:@]|[a-zA-Z0-9\-_~])+"/>
40
- </xs:restriction>
41
- </xs:simpleType>
42
- </xs:schema>
@@ -1,50 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <xs:schema targetNamespace="http://schemas.openxmlformats.org/package/2006/metadata/core-properties"
3
- xmlns="http://schemas.openxmlformats.org/package/2006/metadata/core-properties"
4
- xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dc="http://purl.org/dc/elements/1.1/"
5
- xmlns:dcterms="http://purl.org/dc/terms/" elementFormDefault="qualified" blockDefault="#all">
6
-
7
- <xs:import namespace="http://purl.org/dc/elements/1.1/"
8
- schemaLocation="http://dublincore.org/schemas/xmls/qdc/2003/04/02/dc.xsd"/>
9
- <xs:import namespace="http://purl.org/dc/terms/"
10
- schemaLocation="http://dublincore.org/schemas/xmls/qdc/2003/04/02/dcterms.xsd"/>
11
- <xs:import id="xml" namespace="http://www.w3.org/XML/1998/namespace"/>
12
-
13
- <xs:element name="coreProperties" type="CT_CoreProperties"/>
14
-
15
- <xs:complexType name="CT_CoreProperties">
16
- <xs:all>
17
- <xs:element name="category" minOccurs="0" maxOccurs="1" type="xs:string"/>
18
- <xs:element name="contentStatus" minOccurs="0" maxOccurs="1" type="xs:string"/>
19
- <xs:element ref="dcterms:created" minOccurs="0" maxOccurs="1"/>
20
- <xs:element ref="dc:creator" minOccurs="0" maxOccurs="1"/>
21
- <xs:element ref="dc:description" minOccurs="0" maxOccurs="1"/>
22
- <xs:element ref="dc:identifier" minOccurs="0" maxOccurs="1"/>
23
- <xs:element name="keywords" minOccurs="0" maxOccurs="1" type="CT_Keywords"/>
24
- <xs:element ref="dc:language" minOccurs="0" maxOccurs="1"/>
25
- <xs:element name="lastModifiedBy" minOccurs="0" maxOccurs="1" type="xs:string"/>
26
- <xs:element name="lastPrinted" minOccurs="0" maxOccurs="1" type="xs:dateTime"/>
27
- <xs:element ref="dcterms:modified" minOccurs="0" maxOccurs="1"/>
28
- <xs:element name="revision" minOccurs="0" maxOccurs="1" type="xs:string"/>
29
- <xs:element ref="dc:subject" minOccurs="0" maxOccurs="1"/>
30
- <xs:element ref="dc:title" minOccurs="0" maxOccurs="1"/>
31
- <xs:element name="version" minOccurs="0" maxOccurs="1" type="xs:string"/>
32
- </xs:all>
33
- </xs:complexType>
34
-
35
- <xs:complexType name="CT_Keywords" mixed="true">
36
- <xs:sequence>
37
- <xs:element name="value" minOccurs="0" maxOccurs="unbounded" type="CT_Keyword"/>
38
- </xs:sequence>
39
- <xs:attribute ref="xml:lang" use="optional"/>
40
- </xs:complexType>
41
-
42
- <xs:complexType name="CT_Keyword">
43
- <xs:simpleContent>
44
- <xs:extension base="xs:string">
45
- <xs:attribute ref="xml:lang" use="optional"/>
46
- </xs:extension>
47
- </xs:simpleContent>
48
- </xs:complexType>
49
-
50
- </xs:schema>
@@ -1,49 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <xsd:schema xmlns="http://schemas.openxmlformats.org/package/2006/digital-signature"
3
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4
- targetNamespace="http://schemas.openxmlformats.org/package/2006/digital-signature"
5
- elementFormDefault="qualified" attributeFormDefault="unqualified" blockDefault="#all">
6
-
7
- <xsd:element name="SignatureTime" type="CT_SignatureTime"/>
8
- <xsd:element name="RelationshipReference" type="CT_RelationshipReference"/>
9
- <xsd:element name="RelationshipsGroupReference" type="CT_RelationshipsGroupReference"/>
10
-
11
- <xsd:complexType name="CT_SignatureTime">
12
- <xsd:sequence>
13
- <xsd:element name="Format" type="ST_Format"/>
14
- <xsd:element name="Value" type="ST_Value"/>
15
- </xsd:sequence>
16
- </xsd:complexType>
17
-
18
- <xsd:complexType name="CT_RelationshipReference">
19
- <xsd:simpleContent>
20
- <xsd:extension base="xsd:string">
21
- <xsd:attribute name="SourceId" type="xsd:string" use="required"/>
22
- </xsd:extension>
23
- </xsd:simpleContent>
24
- </xsd:complexType>
25
-
26
- <xsd:complexType name="CT_RelationshipsGroupReference">
27
- <xsd:simpleContent>
28
- <xsd:extension base="xsd:string">
29
- <xsd:attribute name="SourceType" type="xsd:anyURI" use="required"/>
30
- </xsd:extension>
31
- </xsd:simpleContent>
32
- </xsd:complexType>
33
-
34
- <xsd:simpleType name="ST_Format">
35
- <xsd:restriction base="xsd:string">
36
- <xsd:pattern
37
- value="(YYYY)|(YYYY-MM)|(YYYY-MM-DD)|(YYYY-MM-DDThh:mmTZD)|(YYYY-MM-DDThh:mm:ssTZD)|(YYYY-MM-DDThh:mm:ss.sTZD)"
38
- />
39
- </xsd:restriction>
40
- </xsd:simpleType>
41
-
42
- <xsd:simpleType name="ST_Value">
43
- <xsd:restriction base="xsd:string">
44
- <xsd:pattern
45
- value="(([0-9][0-9][0-9][0-9]))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2))))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2)))-((0[1-9])|(1[0-9])|(2[0-9])|(3(0|1))))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2)))-((0[1-9])|(1[0-9])|(2[0-9])|(3(0|1)))T((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9]))(((\+|-)((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])))|Z))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2)))-((0[1-9])|(1[0-9])|(2[0-9])|(3(0|1)))T((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9]))(((\+|-)((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])))|Z))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2)))-((0[1-9])|(1[0-9])|(2[0-9])|(3(0|1)))T((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])):(((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9]))\.[0-9])(((\+|-)((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])))|Z))"
46
- />
47
- </xsd:restriction>
48
- </xsd:simpleType>
49
- </xsd:schema>
@@ -1,33 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <xsd:schema xmlns="http://schemas.openxmlformats.org/package/2006/relationships"
3
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4
- targetNamespace="http://schemas.openxmlformats.org/package/2006/relationships"
5
- elementFormDefault="qualified" attributeFormDefault="unqualified" blockDefault="#all">
6
-
7
- <xsd:element name="Relationships" type="CT_Relationships"/>
8
- <xsd:element name="Relationship" type="CT_Relationship"/>
9
-
10
- <xsd:complexType name="CT_Relationships">
11
- <xsd:sequence>
12
- <xsd:element ref="Relationship" minOccurs="0" maxOccurs="unbounded"/>
13
- </xsd:sequence>
14
- </xsd:complexType>
15
-
16
- <xsd:complexType name="CT_Relationship">
17
- <xsd:simpleContent>
18
- <xsd:extension base="xsd:string">
19
- <xsd:attribute name="TargetMode" type="ST_TargetMode" use="optional"/>
20
- <xsd:attribute name="Target" type="xsd:anyURI" use="required"/>
21
- <xsd:attribute name="Type" type="xsd:anyURI" use="required"/>
22
- <xsd:attribute name="Id" type="xsd:ID" use="required"/>
23
- </xsd:extension>
24
- </xsd:simpleContent>
25
- </xsd:complexType>
26
-
27
- <xsd:simpleType name="ST_TargetMode">
28
- <xsd:restriction base="xsd:string">
29
- <xsd:enumeration value="External"/>
30
- <xsd:enumeration value="Internal"/>
31
- </xsd:restriction>
32
- </xsd:simpleType>
33
- </xsd:schema>
@@ -1,75 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <xsd:schema xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
3
- attributeFormDefault="unqualified" elementFormDefault="qualified"
4
- targetNamespace="http://schemas.openxmlformats.org/markup-compatibility/2006"
5
- xmlns:xsd="http://www.w3.org/2001/XMLSchema">
6
-
7
- <!--
8
- This XSD is a modified version of the one found at:
9
- https://github.com/plutext/docx4j/blob/master/xsd/mce/markup-compatibility-2006-MINIMAL.xsd
10
-
11
- This XSD has 2 objectives:
12
-
13
- 1. round tripping @mc:Ignorable
14
-
15
- <w:document
16
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
17
- xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
18
- mc:Ignorable="w14 w15 wp14">
19
-
20
- 2. enabling AlternateContent to be manipulated in certain elements
21
- (in the unusual case where the content model is xsd:any, it doesn't have to be explicitly added)
22
-
23
- See further ECMA-376, 4th Edition, Office Open XML File Formats
24
- Part 3 : Markup Compatibility and Extensibility
25
- -->
26
-
27
- <!-- Objective 1 -->
28
- <xsd:attribute name="Ignorable" type="xsd:string" />
29
-
30
- <!-- Objective 2 -->
31
- <xsd:attribute name="MustUnderstand" type="xsd:string" />
32
- <xsd:attribute name="ProcessContent" type="xsd:string" />
33
-
34
- <!-- An AlternateContent element shall contain one or more Choice child elements, optionally followed by a
35
- Fallback child element. If present, there shall be only one Fallback element, and it shall follow all Choice
36
- elements. -->
37
- <xsd:element name="AlternateContent">
38
- <xsd:complexType>
39
- <xsd:sequence>
40
- <xsd:element name="Choice" minOccurs="0" maxOccurs="unbounded">
41
- <xsd:complexType>
42
- <xsd:sequence>
43
- <xsd:any minOccurs="0" maxOccurs="unbounded"
44
- processContents="strict">
45
- </xsd:any>
46
- </xsd:sequence>
47
- <xsd:attribute name="Requires" type="xsd:string" use="required" />
48
- <xsd:attribute ref="mc:Ignorable" use="optional" />
49
- <xsd:attribute ref="mc:MustUnderstand" use="optional" />
50
- <xsd:attribute ref="mc:ProcessContent" use="optional" />
51
- </xsd:complexType>
52
- </xsd:element>
53
- <xsd:element name="Fallback" minOccurs="0" maxOccurs="1">
54
- <xsd:complexType>
55
- <xsd:sequence>
56
- <xsd:any minOccurs="0" maxOccurs="unbounded"
57
- processContents="strict">
58
- </xsd:any>
59
- </xsd:sequence>
60
- <xsd:attribute ref="mc:Ignorable" use="optional" />
61
- <xsd:attribute ref="mc:MustUnderstand" use="optional" />
62
- <xsd:attribute ref="mc:ProcessContent" use="optional" />
63
- </xsd:complexType>
64
- </xsd:element>
65
- </xsd:sequence>
66
- <!-- AlternateContent elements might include the attributes Ignorable,
67
- MustUnderstand and ProcessContent described in this Part of ECMA-376. These
68
- attributes’ qualified names shall be prefixed when associated with an AlternateContent
69
- element. -->
70
- <xsd:attribute ref="mc:Ignorable" use="optional" />
71
- <xsd:attribute ref="mc:MustUnderstand" use="optional" />
72
- <xsd:attribute ref="mc:ProcessContent" use="optional" />
73
- </xsd:complexType>
74
- </xsd:element>
75
- </xsd:schema>