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 117709 - XML error highlighting is needed
Summary: XML error highlighting is needed
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
: 117998 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-03 22:50 UTC by tonybeckham
Modified: 2008-10-23 21:55 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 tonybeckham 2007-10-03 22:50:14 UTC
This goes back to when there was underlining under everything (issue 114572 I think).  Since that was fixed, now any
error in xml validation etc. has no underlining at all.  This is a regression and needs to be addressed for beta 2

Steps:

1. Create a new Java application
2. Create a new empty xml file
3. Paste the following to the created file:

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" 
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/
spring-beans-2.0.xsd">

       <thisisinvalid/>

</beans>

4. Validate the file => there is a validation error, but no error stripes indicating where the error is.
Comment 1 Samaresh Panda 2007-10-03 23:02:02 UTC
Tony, AFAIK, there has never been underlining feature in XML. You should try 5.5. Marek, please correct me if I'm wrong.
Comment 2 tonybeckham 2007-10-03 23:26:28 UTC
I remember that if XML validation does not pass, then the offending line becomes underlined.
Comment 3 Mikhail Matveev 2007-10-18 12:01:58 UTC
Underline feature doesn't exist in 5.5.
Comment 4 Samaresh Panda 2008-08-18 23:45:12 UTC
*** Issue 117998 has been marked as a duplicate of this issue. ***
Comment 5 giorgio42 2008-10-23 21:55:09 UTC
This bug report is one year old (before 6.0 beta). Are there any plans to fix this?
A web.xml with XML errors has an error badge in the Projects window, but no error annotations when opened in the editor,
which is inconsistent and confusing.