Bug 716 - [Chameleon - doc builder] empty parent element should be removed from xml document.
: [Chameleon - doc builder] empty parent element should be removed from xml doc...
Status: RESOLVED FIXED
: Chameleon
AutoDoc
: 1.99
: PC Windows 2000
: P2 normal
: 2.0 RC 1
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-10-15 16:26 by
Modified: 2004-12-17 11:36 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


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.