|
229 | 229 | <xs:group ref="headings" minOccurs="0" maxOccurs="unbounded"/>
|
230 | 230 | <xs:group ref="blockelements" minOccurs="0" maxOccurs="unbounded"/>
|
231 | 231 | </xs:sequence>
|
232 |
| - <!-- Option 2: hgroup followed by block elements --> |
233 |
| - <xs:sequence> |
234 |
| - <xs:element ref="hgroup"/> |
235 |
| - <xs:group ref="blockelements" minOccurs="0" maxOccurs="unbounded"/> |
236 |
| - </xs:sequence> |
237 |
| - <!-- Option 3: inlines and text only --> |
| 232 | + <!-- Option 2: inlines and text only --> |
238 | 233 | <xs:group ref="inlineelements" minOccurs="0" maxOccurs="unbounded"/>
|
239 | 234 | </xs:choice>
|
240 | 235 | <xs:attributeGroup ref="globals"/>
|
|
474 | 469 | <xs:element name="ol">
|
475 | 470 | <xs:complexType>
|
476 | 471 | <xs:sequence>
|
477 |
| - <xs:element ref="li" minOccurs="0" maxOccurs="unbounded"/> |
| 472 | + <!-- "li"s in an "ol" can have a value attribute --> |
| 473 | + <xs:element name="li" minOccurs="0" maxOccurs="unbounded"> |
| 474 | + <xs:complexType> |
| 475 | + <xs:complexContent> |
| 476 | + <xs:extension base="block_xor_inline_children"> |
| 477 | + <xs:attribute name="value" type="positive_int"/> |
| 478 | + </xs:extension> |
| 479 | + </xs:complexContent> |
| 480 | + </xs:complexType> |
| 481 | + </xs:element> |
478 | 482 | </xs:sequence>
|
479 | 483 | <xs:attributeGroup ref="ol_attrs"/>
|
480 | 484 | <xs:attributeGroup ref="globals"/>
|
|
1318 | 1322 |
|
1319 | 1323 | <xs:element name="figcaption" type="caption"/>
|
1320 | 1324 |
|
1321 |
| -<xs:element name="hgroup"> |
1322 |
| - <xs:complexType> |
1323 |
| - <xs:sequence> |
1324 |
| - <xs:group ref="headings" minOccurs="1" maxOccurs="unbounded"/> |
1325 |
| - </xs:sequence> |
1326 |
| - <xs:attributeGroup ref="globals"/> |
1327 |
| - </xs:complexType> |
1328 |
| -</xs:element> |
1329 |
| - |
1330 | 1325 | <xs:element name="legend" type="inline_children_only"/>
|
1331 | 1326 |
|
1332 | 1327 | <xs:element name="li" type="block_xor_inline_children"/>
|
|
1468 | 1463 | </xs:element>
|
1469 | 1464 |
|
1470 | 1465 | <!-- Heading elements -->
|
1471 |
| -<!-- ToDo: Support hgroup in <section> to facilitate subheadings? Already allowed in <div> --> |
1472 | 1466 | <!-- ToDo: Should we require class="title" on all section heading titles? -->
|
1473 | 1467 | <xs:element name="h1" type="inline_children_only"/>
|
1474 | 1468 |
|
|
0 commit comments