Bug 145972 - Attribute documentation not generated for 'Export to XHTML'
Summary: Attribute documentation not generated for 'Export to XHTML'
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-26 00:19 UTC by Ben Hearsum
Modified: 2007-05-26 20:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Hearsum 2007-05-26 00:19:41 UTC
Version:           svn (using KDE KDE 3.5.6)
Installed from:    Ubuntu Packages
OS:                Linux

No attribute documentation is generated when using the Export to XHTML feature. I meant to report this at the same time as bug#145916, I guess I forgot ;-).
Comment 1 Oliver Kellogg 2007-05-26 07:49:37 UTC
Ah, you're right, I forgot the XHTML part.
Anyway, IMHO it's better to have a separate PR for this.
Comment 2 Oliver Kellogg 2007-05-26 20:30:16 UTC
SVN commit 668552 by okellogg:

Add selector for comment in template matching <UML:Attribute>.
BUG:145972


 M  +1 -0      ChangeLog  
 M  +1 -1      umbrello/docgenerators/xhtmlgenerator.cpp  
 M  +6 -0      umbrello/docgenerators/xmi2docbook.xsl  


--- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #668551:668552
@@ -5,6 +5,7 @@
 * Crash on deleting class in list view (145762)
 * Class attribute documentation not generated for python (145916)
 * Python code generator does not wrap lines properly (145918)
+* Attribute documentation not generated for 'Export to XHTML' (145972)
 
 Version 1.5.7
 
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/docgenerators/xhtmlgenerator.cpp #668551:668552
@@ -1,5 +1,5 @@
 /***************************************************************************
- *                        xhtmlgenerator.cpp  -  description             *
+ *                        xhtmlgenerator.cpp  -  description               *
  *                           -------------------                           *
  *  copyright            : (C) 2006 by Gael de Chalendar (aka Kleag)       *
  *    (C) 2006 Umbrello UML Modeller Authors <uml-devel@uml.sf.net>        *
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/docgenerators/xmi2docbook.xsl #668551:668552
@@ -666,6 +666,12 @@
       <xsl:value-of select="@name"/>
       </entry>
   </row>
+
+  <row>
+      <entry role="comment"/>
+      <entry namest="c2" nameend="c3" role="comment"><xsl:value-of select="@comment"/></entry>
+  </row>
+
 </xsl:template>