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.
Product Version = NetBeans IDE 6.9.1 (Build 201007282301) Operating System = Linux version 2.6.32-25-generic running on amd64 Java; VM; Vendor = 1.6.0_20 Runtime = Java HotSpot(TM) 64-Bit Server VM 16.3-b01
Using the auto fix features of NetBeans in a JSP XML document, inserts non jsp XML syntax solutions. An example is the import. Here is an example: <%@page import="java.util.ResourceBundle"%> <?xml version="1.0" encoding="UTF-8"?> The XML is now not valid. It should, instead, insert an attribute into <jsp:directive.page/> element like this: <jsp:directive.page contentType="text/html" pageEncoding="UTF-8" import="java.util.ResourceBundle"/>
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.