negora opened a new issue, #4908:
URL: https://github.com/apache/netbeans/issues/4908

   ### Apache NetBeans version
   
   Apache NetBeans 15
   
   ### What happened
   
   The XML editor stops highlighting syntax errors when you move the cursor to 
a line that is correct (well-formed).
   
   This may cause that important syntax errors go unnoticed until you run the 
application. It may seem improbable to overlook errors like that, but when 
you're quickly editing files with a medium to large size it's not.
   
   
   ### How to reproduce
   
   It's very easy to reproduce. Simply write this code:
   
   ```xml
   <?xml version="1.0" encoding="UTF-8"?>
   <root>
        <foo>
        <bar/>
   </root>
   ```
   
   Here, the tag `<foo>` is unclosed. If you put the cursor in that line, the 
error is highlighted:
   
   
![error-highlighted](https://user-images.githubusercontent.com/2098654/199734631-9b918e2b-a8f3-46f6-83c5-d875a3793cef.png)
   
   However, if you move the cursor to a well-formed line, the editor stops 
highlighting it:
   
   
![error-not-highlighted](https://user-images.githubusercontent.com/2098654/199734671-997c44bb-98ef-4f67-9ad9-ed3f20e3e4cd.png)
   
   
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Debian GNU/Linux 11.5 (Bullseye)
   
   ### JDK
   
   OpenJDK Runtime Environment (build 17.0.4+8-Debian-1deb11u1)
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   I've tested this in versions 13, 14 and 15 and all them are affected.
   
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to