Bug 716

Summary: [Chameleon - doc builder] empty parent element should be removed from xml document.
Product: Chameleon Reporter: Chris Thorne <cthorne@dmsolutions.ca>
Component: AutoDocAssignee: William Bronsema <wbronsema@dmsolutions.ca>
Status: RESOLVED FIXED    
Severity: normal CC: chameleon-dev@lists.maptools.org
Priority: P2    
Version: 1.99   
Target Milestone: 2.0 RC 1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description From 2004-10-15 16:26:47
In some cases when the doc_process takes the default template on reviews names
of the attributes, jsfunctions, jsvariables, formelements the process will
comment out this subsection. in some cases the widget will not have any
attributes jsfunctions, jsvariables, formelements which means for the xml
document there is not child elements found below:

<cham:formelements>
</cham:formelements>

<cham:jsfunctions>
</cham:jsfunctions>

<cham:jsvariables>
</cham:jsvariables>

<cham:widgettags>
</cham:widgettags>

This causes the xml document to be invalid. to solve this the doc_builder must
check if all of the children of these parent are gone and remove these elements.
------- Comment #1 From 2004-10-21 14:52:11 -------
Changed target to 1.99 RC 1.
------- Comment #2 From 2004-12-17 11:36:50 -------
Fixed in CVS.