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.
Summary: | Odd formatting choices in winsys2 configuration DTDs | ||
---|---|---|---|
Product: | platform | Reporter: | Jesse Glick <jglick> |
Component: | Window System | Assignee: | mslama <mslama> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | pzavadsky |
Priority: | P4 | Keywords: | API |
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 36122 |
Description
Jesse Glick
2003-10-29 20:36:15 UTC
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 |