Menu

#2 Correct inconsistency with Lists and Items in w3c schema

open
nobody
5
2006-01-16
2006-01-16
No

The w3c schema has an error that causes it to differ
from the DTD. Basically, <itm> is incorrectly coded. As
to whether it’s invalidating or not, it could be
invalidating if someone validated against the schema
and made the code follow the schema’s error.

<xs:group name="FORM">
<xs:choice>
<xs:element name="div" type="divType"/>
<xs:element name="emph" type="emphType"/>
<xs:element name="head" type="headType"/>
<xs:element name="hi" type="hiType"/>
<xs:element name="itm" type="itmType"/>
<xs:element name="list" type="listType"/>
<xs:element name="p" type="pType"/>
</xs:choice>
</xs:group>

Should have the itm line removed entirely. And change
the choice in listType to

<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="label" type="labelType"/>
<xs:element name="itm" type="itmType"/>
</xs:choice>

Discussion

  • Mark Diggory

    Mark Diggory - 2006-01-16
    • summary: Correct inconsistency with List’s and Item’s in w3c schema --> Correct inconsistency with Lists and Items in w3c schema
     
  • Mark Diggory

    Mark Diggory - 2006-01-16
    • labels: --> Validating Bug Fix
    • milestone: --> [SRG] Structural Reform Group
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.