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 172125

Summary: every line in edit schema with error underline
Product: xml Reporter: err <err>
Component: Text-EditAssignee: Svata Dedic <sdedic>
Status: RESOLVED WONTFIX    
Severity: blocker CC: sj-nb
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: screen shot

Description err 2009-09-14 05:18:55 UTC
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>
  .......
Comment 1 Sergey Lunegov 2009-09-14 09:57:53 UTC
Alex, please take a look.
Comment 2 Sergey Petrov 2009-09-14 10:11:03 UTC
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).
Comment 3 _ alexpetrov 2009-10-14 18:12:47 UTC
Created attachment 89465 [details]
screen shot
Comment 4 Svata Dedic 2011-11-15 13:46:32 UTC
Still valid, scheduling to next rel.
Comment 5 Martin Balin 2015-09-17 13:17:09 UTC
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.