This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
<other permanent="true|false"/> in <mode> is strange. Why "other"? Consider e.g. <permanent>true</> or <empty-behavior permanent="true"/> etc. <properties> (in <group>, <tc-group>, <tc-ref>) is also odd; seems to collect several unrelated attributes together. Consider e.g. <group version="2.0"> <name>foo</> <state opened="true"/> </> or otherwise breaking things up into conceptual pieces. <active-tc id=""/> in <mode> is a strange way of marking the absence of an active TC. Prefer no element at all, or an explicit <no-active-tc/>.
Please what is format <permanent>true</>? I did not see such element format so far.
I checked and found it is possible with declaration <!ELEMENT permanent (#PCDATA)> such element can contain only text like <permanent>true</permanent> but I think second variant with attribute is better because it is possible to specify valid values in DTD (true | false).
When I write </> I just mean an abbreviation for </permanent> (did not want to bother writing out the full element name again), sorry for any confusion.
FYI - yes, DTDs cannot express that <permanent>maybe</permanent> is syntactically illegal. XML Schema can. We should IMHO be moving all formats to XML Schema since it is much more powerful, but that is another matter, don't worry about it now. (When embedding winsys data in Registry you could make such a switch.)
Fixed in winsys branch.
closed