Hide Forgot
Created attachment 529935 [details] XML after injection points are processed Description of problem: I attempted a publican build of my topics today and many that used to compile fine, now compile with errors. It appears that topics with automatically generated related topics are building invalid XML for the injection points. For example, if I look at the compile error for Topic4590, I see: ERROR: Topic failed docbook validation after the injection points were processed. The error was The content of element type "itemizedlist" is incomplete, it must match "(blockinfo?,(title,titleabbrev?)?,(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|anchor|bridgehead|remark|highlights|abstract|authorblurb|epigraph|indexterm|beginpage)*,listitem+)". This topic does not have any itemizedlist elements other than the ones generated for related topics. This is the comment that was generated at the end of this topic: <!-- The topic below were related to this topic when the template was generated. --> <!-- 4493: Overview of Logging in JBoss Enterprise Application Platform 6 --> <!-- 4494: What is JBoss LogManager --> <!-- 4496: JBoss LogManager Supported Client Logging APIs --> <!-- 4499: Create a Log Handler --> <!-- 4500: Overview of JBoss Logging --> <!-- 4501: Add logging to an application with JBoss Logging --> This is the XML that was generated for the injection list: <itemizedlist><title>Related References</title></itemizedlist><itemizedlist><title>Related Tasks</title><listitem><para><xref linkend="TopicID4620"/></para></listitem><listitem><para><xref linkend="TopicID4591"/></para></listitem></itemizedlist><itemizedlist><title>Related Concepts</title></itemizedlist><itemizedlist><title>Related Overviews</title></itemizedlist><simplesect><title/><para role="RoleCreateBugPara"><ulink url="https://bugzilla.redhat.com/enter_bug.cgi?product=Topic+Tool&component=topics-EAP6&keywords=Documentation&status_whiteboard=Topic+ID%3A4590+Skynet+Build%3A+20111024-1722+Topic+Title%3A+Modify+logging+dependencies+Topic+Revision%3A+8841+Topic+Revision+Date%3A+20+Oct+2011+17%3A59+Topic+Tags%3A+Assigned+Writer%3A+sgilda++Topic+Lifecycle%3A+IA+Proposed%2C+IA+Triage%2C+Written++Topic+Types%3A+Task++Common+Names%3A+Logging%2C+Migration%2C+Migration+from+Enterprise+Application+Platform+5++Technologies%3A+JBoss+Logging++Concerns%3A+Application+Development%2C+Application+or+Service+Deployment++Release%3A+EAP+6+Beta+">Report a bug</ulink></para><para role="RoleCreateBugPara">Thank you for evaluating the new documentation format for JBoss Enterprise Application Platform. Let us know what you think by taking a short <ulink url="https://www.keysurvey.com/survey/380730/106f/">survey</ulink>.</para><remark role="RoleViewInSkyNetPara"><ulink url="http://jboss-eap.bne.redhat.com:8080/TopicIndex/CustomSearchTopicList.seam?topicIds=4590">View in Skynet</ulink></remark><remark role="RoleBuildVersionPara"><ulink url="http://jboss-eap.bne.redhat.com:8080/TopicIndex/CustomSearchTopics.seam?tag78=1&tag110=1">Built with Skynet version 20111024-1722</ulink></remark></simplesect></section> I've also attached the entire XML that is generated after the injection points are processed. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
fixed in 20111025-1023 The generic injection points were trying to add empty lists
No longer getting compile errors.