Bug 759981

Summary: <subtitle> issues with skynet
Product: [Community] PressGang CCMS Reporter: Emma Le Strange <elestran>
Component: Web-UIAssignee: Matthew Casperson <mcaspers>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.xCC: cbredesen, lnewson, misty, topic-tool-list
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-02 00:40:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Emma Le Strange 2011-12-05 04:45:11 UTC
/CustomSearchTopics.xhtml

Actions:
1. Click Topic Search
2. Click Fields
3. Put 5574 into the Topic ID field
4. Click Docbook button
5. Unzip resulting Book.zip
6. cd to Book directory
7. publican build --format=html --langs=en-US
8. google-chrome tmp/en-US/html/index.html

When an xml containing the tag <subtitle></subtitle> is used the following error occurs.

ERROR: Topic failed docbook validation after the injection points were processed. The error was The content of element type "section" must match "(sectioninfo?,(title,subtitle?,titleabbrev?),(toc|lot|index|glossary|bibliography)*,(((calloutlist|glosslist|bibliolist|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|task|anchor|bridgehead|remark|highlights|abstract|authorblurb|epigraph|indexterm|beginpage)+,(refentry*|simplesect*))|refentry+|simplesect+),(toc|lot|index|glossary|bibliography)*)". The XML after the injections points were processed is:

<!-- Topic ID: 5574 -->
<section id="TopicID5574" role="IATriage">
    <title>ECS Writing Lab Exercise 1: Direct and Indirect Quotes</title>
    <para>
        <xref linkend="TopicID-1"/> : <xref
            linkend="TopicID-2"/> : <xref linkend="TopicID-3"/>
    </para>
    <subtitle>Is this going to break?</subtitle>
    <formalpara>
        <title>Task</title>
        <para>
In your most professional voice, write 1 page about the differences in usage and strategy between Summarizing, Paraphrasing and Quoting with examples. 
		</para>
etc.....

It seems that when skynet replaces <title> with topic title it does not know what to do with the <subtitle> tag so it puts a <para> before it.

Can this be fixed?

Thanks

Comment 1 Matthew Casperson 2011-12-06 21:35:24 UTC
Fixed in 20111207-0734

The breadcrumbs are now placed after the title and subtitle.