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.

Bug 28602 - Improve Reporting of Missing Required Content Model
Summary: Improve Reporting of Missing Required Content Model
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: Tools (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on: 14296
Blocks:
  Show dependency tree
 
Reported: 2002-11-08 16:24 UTC by _ pkuzel
Modified: 2007-09-25 01:33 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ pkuzel 2002-11-08 16:24:36 UTC
<!ELEMENT body ((a | p | h3 | h) | (meta, (h | f))>

<body>
  Text
</body>

In above example user ommited required element but
validate action reports required content model
instead of simply requiring missing element. Very
hard to understand for complex and unknown content
models.

Source: Martin (he can give exact example)
Comment 1 _ pkuzel 2003-03-14 21:13:45 UTC
e.g. <head> requires only title.

It's tigthly related to grammars.