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.
I registered glassfish-v3-b62/glassfish/lib/schemas/orm_2_0.xsd, from NB daily distribution, through Tools>DTDandXML in user. Hit the edit button in the dialog, brings up the file in the editor with tab that says SYSTEM:http://java.sun.com/xml/ns/persistence/orm/orm_2_0.xsd(read-only). Every line starting with the line <xsd:schema targetNamespace="http://java.sun.com/xml/ns/persistence/orm" until the end of file is marked as an error, see below. It may be that I registered it incorrectly, but then I would argue that there is an issue with the registration since I got no error. BTW, I am using this file while editing orm.xml and completion is ok. <?xml version="1.0" encoding="UTF-8"?> <!-- ..... bunch of comments ..... --> <xsd:schema targetNamespace="http://java.sun.com/xml/ns/persistence/orm" xmlns:orm="http://java.sun.com/xml/ns/persistence/orm" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.0"> <xsd:annotation> .......
Alex, please take a look.
orm_2.0 will be already registered in Persistence Catalog in a few day. I have no error badges with preregistred orm_2.0, so may be it's registration issue (haven't tried to register myself).
Created attachment 89465 [details] screen shot
Still valid, scheduling to next rel.
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.