Skip to content

Commit

Permalink
Remove schematron warning about UL
Browse files Browse the repository at this point in the history
  • Loading branch information
robander committed Oct 4, 2021
1 parent d2ce25c commit 4e28275
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions doctypes/rng/base/commonElementsMod.rng
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?xml-model href="urn:oasis:names:tc:dita:rng:vocabularyModuleDesc.rng"
schematypens="http://relaxng.org/ns/structure/1.0"?>
<grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:dita="http://dita.oasis-open.org/architecture/2005/" xmlns="http://relaxng.org/ns/structure/1.0"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<moduleDesc xmlns="http://dita.oasis-open.org/architecture/2005/">
<moduleTitle>DITA Common Elements</moduleTitle>
<headerComment><![CDATA[
Expand Down Expand Up @@ -1444,11 +1444,6 @@ PUBLIC "-//OASIS//ELEMENTS DITA 2.0 Common Elements//EN"
<define name="ul.element">
<element name="ul" dita:longName="Unordered List">
<a:documentation></a:documentation>
<sch:pattern name="atLeastTwoChildren">
<sch:rule context="ul">
<sch:assert test="count(*) > 1" role="warning"> Please make sure you have at least 2 items for this list! </sch:assert>
</sch:rule>
</sch:pattern>
<ref name="ul.attlist"/>
<ref name="ul.content"/>
</element>
Expand Down

0 comments on commit 4e28275

Please sign in to comment.