Created attachment 524278 [details]
Incomplete note bubble displays. Topic number also appears in URL to check the code.
Description of problem:
In several EDG6 topics, incomplete bubbles (the kind that display in entirety when the <note> tags are used) display despite the fact that the topics in question contain no note tags whatsoever.
It is theorized by misty that the note tags are imported.
A screenshot of such a topic is included. At the current time, ~60% of EDG 6 release tag topics display such bubbles, including the index page for EDG6 Beta documentation on the docs stage.
An incomplete bubble inexplicably displays in the result.
Not incomplete note bubbles.
The below is the error output of another topic, but I think it displays how note tags are appearing in the code. The below topic also does not have any actual note tags included in the XML by the author.
<!-- Topic ID: 5146 -->
<section id="TopicID5146" role="IATriage">
<!-- Topic type: Concept -->
<!-- The 4 Characteristics of a Concept: -->
<!-- 1. It has single information role: "illuminate". -->
<!-- 2. It treats one, and only one subject. -->
<!-- 3. It builds a bridge from the known to the unknown. -->
<!-- 4. It reduces uncertainty. -->
<!-- INJECT TITLE HERE -->
<title>JBoss Enterprise Data Grid Cache's DIST Usage</title><itemizedlist><title>Related Overviews</title><listitem><para><xref linkend="TopicID5142"/></para></listitem></itemizedlist>
<note><title/><para/></note><formalpara> // Note: Stray note tags in this line //
<title>Why does the cache perform a remote get command before a write command when using DIST?</title>
Certain methods, for example <classname>Cache.put()</classname>, return the previous value associated with the specified key according to the ... (rest of text is not relevant, assume para and section tags close as required).
Update: The specified bubbles continue to appear when the Jboss_EAP6 brand is applied:
Fixed in 20111007-1305
The DocbookBuilder.processTopicDraftWarning() function was using setNodeValue instead of setTextContent to set the content of the added note elemeny, which was producing empty tags.
The note element is added to any topic that has not got the Written tag assigned to it to indicate that the topic is still in the draft stage.