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 117998 - No error highlighting in broken (web.)xml files
Summary: No error highlighting in broken (web.)xml files
Status: RESOLVED DUPLICATE of bug 117709
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-06 15:47 UTC by giorgio42
Modified: 2008-08-18 23:45 UTC (History)
1 user (show)

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 giorgio42 2007-10-06 15:47:45 UTC
With NB6 200710060000 the following invalid web.xml snippet is not highlighted (xml validation spots the error as expected):

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" ... omitted for clarity's sake... ">
  <display-name>Web Application</display-name>
  <description>Web Application</description>  
  <context-param>
    <param-name>appName</param-name>
    <param-value>probeReporting</param-value>
    <description>application name</description> <-- Needs to be the first element inside context-param.
  </context-param>

...

The issue has been discussed in http://www.netbeans.org/issues/show_bug.cgi?id=114572

Georg
Comment 1 Samaresh Panda 2008-01-10 02:37:15 UTC
This seems like a new and a reasonable requirement. We should try to address this in 6.1.
Comment 2 Samaresh Panda 2008-03-25 19:03:00 UTC
I don't understand how this is related to issue 114572. Sorry, there is no time to work on this for 6.1.
Comment 3 giorgio42 2008-03-25 20:53:04 UTC
The issue is a different one, but the discussion in 114572 is, at least in part, related to this issue.
(114572 is about all lines in a web.xml being highlighted as errors. After that had been fixed, error
highlighting was gone completely).

Georg
Comment 4 Samaresh Panda 2008-08-18 23:45:13 UTC

*** This issue has been marked as a duplicate of 117709 ***