最近在修整基于SwiXml的程序。出错了,呵呵,有些生疏了。
也就是说元素 panel结束形式不正确,必须匹配</panel>!
呵呵,看看相关代码:
明白了,在修整时去了相应的<panel>元素,但是结束标志没有清理完,多个一个</panel>
org.jdom.input.JDOMParseException: Error on line 195: The element type "panel" must be terminated by the matching end-tag "</panel>".
也就是说元素 panel结束形式不正确,必须匹配</panel>!
呵呵,看看相关代码:
<panel name="issuingPanel" id="issuingPanel" layout="GridBagLayout" background="3399CC" Visible="false">
<label name="l6" text="发证环节" Foreground="white">
<gridbagconstraints id="cons_issuing" insets="2,2,2,2" gridx="0" gridy="0" ipadx="10" ipady="10" weightx="1" weighty="1"/>
</label>
<label name="lissuingTime" text="发证时限" >
<gridbagconstraints refid="cons_issuing" gridx="4" gridy="0" />
</label>
<textfield id="issuingTime" Text="0.0" columns="20" >
<gridbagconstraints gridx="5" gridy="0" />
</textfield>
</panel>
</panel>
明白了,在修整时去了相应的<panel>元素,但是结束标志没有清理完,多个一个</panel>