GNOME Bugzilla – Bug 165153
gstreamer-properties.xml file causes xml lint error
Last modified: 2005-01-25 10:56:13 UTC
Yelp can not show the section 'Understanding the menu options'. This section is named 'Section 1' and it's duplicated with 'Introduction' Section. When I open gstreamer-properties.xml in yelp, I am able to go to the following sections Intorduction, Getting started, Usage but not Understanding the menu options Output of xmllint --valid --noout gstreamer-properties.xml gstreamer-properties.xml:180: element article: validity error : Element article content does not follow the DTD, expecting ((title , subtitle? , titleabbrev?)? , articleinfo? , tocchap? , lot* , (((calloutlist | glosslist | itemizedlist | orderedlist | segmentedlist | simplelist | variablelist | caution | important | note | tip | warning | literallayout | programlisting | programlistingco | screen | screenco | screenshot | synopsis | cmdsynopsis | funcsynopsis | classsynopsis | fieldsynopsis | constructorsynopsis | destructorsynopsis | methodsynopsis | formalpara | para | simpara | address | blockquote | graphic | graphicco | mediaobject | mediaobjectco | informalequation | informalexample | informalfigure | informaltable | equation | example | figure | table | msgset | procedure | sidebar | qandaset | anchor | bridgehead | remark | highlights | abstract | authorblurb | epigraph | indexterm | beginpage)+ , (sect1* | refentry* | simplesect* | section*)) | sect1+ | refentry+ | simplesect+ | section+) , ((toc | lot | index | glossary | bibliography) | appendix | ackno)*), got (articleinfo indexterm sect1 sect1 sect1 sect2 ) </article> ^
1. Changing <sect2 id="gstreamer-properties-concepts"> to <sect1 id="gstreamer-properties-concepts">, solves this problem and when the xml file is opened in yelp it has Four sections and all the four work. Please refer screenshot 1 2. Bringing the <sect2 id="gstreamer-properties-concepts"> ..... </sect2> inside <sect1 id="gstreamer-properties-usage"> ..... </sect1> also solves this problem. With this change Understanding menu options becomes a subsection of usage. Please refer screenshot 2. Not sure which is correct. Thanks
Created attachment 36493 [details] Screenshot 1
Created attachment 36494 [details] Screenshot 2
The second looks more like something intended. Please apply the second. If you're quick, it'll be in 2.9.5. ;).
Thanks Ronald. Applied. Marking the bug as fixed.