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: | MIME-resolver DTD is confusing and hard to read | ||
---|---|---|---|
Product: | platform | Reporter: | Jesse Glick <jglick> |
Component: | Filesystems | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | Keywords: | API |
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 31977, 199927 |
Description
Jesse Glick
2001-12-21 18:18:01 UTC
A good proposal, I appreciate mainly explicit <and> and <or> that are not obvious from current doc. 1) <exit/> exits a <file>. 3) <file> rules represents out of band information accessible without reading a file content (except <magic>). 4) <resolver> rules represents a second stage - a file content test for files that passed the first stage. 5) original idea was: element content is disjunctive element attributes are conjunctive. 6) ns attribute is a shortcut for one namespace child. Every element that allows children can contain an attribute if only one choice is required instead of a single child element. 4. - makes sense for performance but with an explicit boolean logic flow, writers of resolvers can do this manually (list out-of-band tests first in the hope that they will short-circuit the in-band tests); and since the resolver is purely declarative, the impl is free to rearrange clauses too (and merge clauses from different resolvers...). 6. - OK but I think it is better to have a simpler DTD that can be understood a little more quickly than to save a little bit of typing, if the semantics are the same. Set target milestone to TBD Set target milestone to TBD See issue #31977 for justification of increased priority. Reassigning to new module owner jskrivanek. I know we have two DTDs. One is simpler, second is complex. The wizard generates the simpler one. If you want something even simpler, feel free to design 3rd DTD and read it. |