Error schema not satisfied: no declaration found for element
Hi all,
When I run FlightCrew, I receive the following error:
Error schema not satisfied: no declaration found for element 'section'
I am trying to do an ordered list that has a break in the middle, which has proved more complicated than I would like. After a lot of searching, I found this apparent solution:
CSS
section {
counter-increment: section;
}
section p:before {
content: counter(section) '. ';
}
HTML
<section>
<ul style="list-style-type: none;">
<li><p class="normal">First point blah blah blah</p></li>
</ul>
</section>
<section>
<ul style="list-style-type: none;">
<li><p class="normal">Second point blah blah blah</p></li>
</ul>
</section>
<section>
<ul style="list-style-type: none;">
<li><p class="normal">Third point blah blah blah</p></li>
</ul>
</section>
<section>
<ul style="list-style-type: none;">
<li><p class="normal">Fourth point blah blah blah</p></li>
</ul>
</section>
<p class="normal">This is the text between the fourth and fifth points</p>
<ul style="list-style-type: none;">
<li><section>
<p class="normal">Fifth point blah blah blah</p>
</section></li>
</ul>
Sigil gets what I'm trying to do, but FlightCrew doesn't like it.
It also gave me this error:
Error schema not satisfied: element 'section' is not allowed for content model
Not sure if this is <p> or <ul>.
Okay, so what is a solution that will work?
|