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.
create a default new web project from scratch using netbeans 7 wizard. do not choose any frameworks. choose javaee6 style/type of project. after project created examine the configuration xml files in editor. if sun-web.xml created it will check and validate properly; if glassfish-web.xml created --it will fail to check or validate.
I have tried to reproduce this on Windows 7 and haven't been able to do it. Can you attach the glassfish-web.xml file and and the content of the 'XML Check' output window to provide a bit more details?
the messages.log file would be a good attachment, too.
Created attachment 107920 [details] two projects with bad validation of xml
Created attachment 107921 [details] screen shot of netbeans with validation error
the ide log file does not generate any error messages -- view ide log, then cntl-L to clear screen of log, then validate xml --nothing added. Product Version: NetBeans IDE 7.0 (Build 201104080000) Java: 1.6.0_23; Java HotSpot(TM) 64-Bit Server VM 19.0-b09 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) Userdir: C:\Users\emiddio\.netbeans\7.0
Thanks. I think I know what the problem is now. The error that you ran into would be very difficult for me to replicate without the additional info. The IDE is looking for a 3.1 file in a 3.0.1 install...
this is a variation of anotherissue *** This bug has been marked as a duplicate of bug 197971 ***