Skip to content

Commit 3057d15

Browse files
author
Sanders Kleinfeld
committed
Updating READMEs and comments for MathML and SVG Schemas.
1 parent d7a999c commit 3057d15

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

schema/mathml3/README

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
W3C MathML XML Schema, via http://www.w3.org/Math/XMLSchema/
22

3-
ORM Note: Some tiny tweaks made to annotation-xml content model (in mathml3-common.xsd) to ensure it was determinist;
3+
Note: Some tiny tweaks made to annotation-xml content model (in mathml3-common.xsd) to ensure it was determinist;
44
see https://github.com/oreillymedia/HTMLBook for file history

schema/mathml3/mathml3-common.xsd

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@
4141
</xs:element>
4242
<xs:complexType name="annotation-xml.model">
4343
<xs:choice minOccurs="0" maxOccurs="unbounded">
44-
<!-- ORM: removing ref="m:MathExpression", as it's redundant given the reference to m:anyElement, and violates determinist content model -->
44+
<!-- HTMLBook Note: removing ref="m:MathExpression", as it's redundant given the reference to m:anyElement, and violates determinist content model -->
4545
<xs:group ref="m:anyElement"/>
4646
</xs:choice>
4747
</xs:complexType>
4848
<xs:group name="anyElement">
4949
<xs:choice>
50-
<!-- ORM: switching namespace to "##any" to cover everything -->
50+
<!-- HTMLBook Note: switching namespace to "##any" to cover everything -->
5151
<xs:any namespace="##any" processContents="skip"/>
5252
</xs:choice>
5353
</xs:group>
@@ -98,4 +98,4 @@
9898
<xs:pattern value="\s*((-?[0-9]*([0-9]\.?|\.[0-9])[0-9]*(e[mx]|in|cm|mm|p[xtc]|%)?)|(negative)?((very){0,2}thi(n|ck)|medium)mathspace)\s*"/>
9999
</xs:restriction>
100100
</xs:simpleType>
101-
</xs:schema>
101+
</xs:schema>

schema/svg/README

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
W3C SVG XML Schema, via http://www.w3.org/TR/2002/WD-SVG11-20020108/SVG.xsd
2-
(with local mods for validity by Sanders; see https://github.com/oreillymedia/HTMLBook for file history)
2+
(with some local mods for validity; see https://github.com/oreillymedia/HTMLBook for file history)
33

44
Dependencies also included:
55

schema/svg/SVG.xsd

+4-4
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@
254254
<documentation>'preserveAspectRatio' attribute specification</documentation>
255255
</annotation>
256256
<restriction base="string">
257-
<!-- ORM: Revised pattern to be more accurate and match default values -->
257+
<!-- HTMLBook Note: Revised pattern to be more accurate and match default values -->
258258
<pattern value="\s*x(Min|Mid|Max)Y(Min|Mid|Max)(\s+(meet|slice)\s*)?"/>
259259
</restriction>
260260
</simpleType>
@@ -333,7 +333,7 @@
333333
<documentation>All elements have an ID</documentation>
334334
</annotation>
335335
<attribute name="id" type="ID" use="optional"/>
336-
<!-- ORM: dropped invalid type attr on below element -->
336+
<!-- HTMLBook Note: dropped invalid type attr on below element -->
337337
<attribute ref="xml:base" use="optional"/>
338338
</attributeGroup>
339339
<attributeGroup name="langSpaceAttrs">
@@ -835,7 +835,7 @@
835835
</attributeGroup>
836836
<attributeGroup name="animElementAttrs">
837837
<attributeGroup ref="svg:xlinkRefAttrs"/>
838-
<!-- ORM: Dropped invalid type attr on below element -->
838+
<!-- HTMLBook Note: Dropped invalid type attr on below element -->
839839
<attribute ref="xlink:href" use="optional"/>
840840
</attributeGroup>
841841
<attributeGroup name="animAttributeAttrs">
@@ -911,7 +911,7 @@
911911
</attributeGroup>
912912
<group name="descTitleMetadata">
913913
<annotation>
914-
<!-- ORM Note: switched here from invalid xs:all based content model (which can't be used for particles as was being done)
914+
<!-- HTMLBook Note: switched here from invalid xs:all based content model (which can't be used for particles as was being done)
915915
to xs:choice-based content model, which allows for one or more desc/title/metadata elements at the beginning of all content models in which
916916
descTitleMetadata is referenced -->
917917
<documentation>A bit simpler than the DTD, but see commented-out alternative</documentation>

0 commit comments

Comments
 (0)