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 86890 - xsi:schemaLocation not being read properly by auto-completer
Summary: xsi:schemaLocation not being read properly by auto-completer
Status: VERIFIED INVALID
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: PC All
: P3 blocker (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-10 21:31 UTC by nivek98
Modified: 2007-04-16 14:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nivek98 2006-10-10 21:31:55 UTC
Note: This is probably not the right component/subcomponent, but it was the
closest I could find.

I am doing some work with XML that involves Schemas.  At first, everything was
going fine when I had just this:
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation='http://www.springframework.org/schema/beans
file:/C:/Java/projects/UberWebsite/web/WEB-INF/schema/spring-beans-2.0.xsd'>

(The entire xsi:schemaLocation was on one line)

When I was getting ready to add a second schema, as per the Spring
documentation, I had moved the first one down like this:
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation='
http://www.springframework.org/schema/beans
file:/path-to-project/web/WEB-INF/schema/spring-beans-2.0.xsd'>

(http:// ... beans-2.0.xsd is all on one line)

And now suddenly the auto-completion is not working.  I don't get any exceptions
or anything, it just steps working.  The same thing happens when I actually add
the second schema like this:
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:jee="http://www.springframework.org/schema/jee"
       xsi:schemaLocation='
http://www.springframework.org/schema/beans
file:/path-to-project/web/WEB-INF/schema/spring-beans-2.0.xsd
http://www.springframework.org/schema/jee
file:/path-to-project/web/WEB-INF/schema/spring-beans-2.0.xsd'>

All of these are valid as far as I, and are the examples given in the Spring
Framework documentation, except mine use local copies of the schemas.
Comment 1 nivek98 2006-10-10 21:45:29 UTC
Sorry... my ISP is having troubles and the request timed out the first time, but
apparently the request still went through.
Comment 2 Mikhail Matveev 2007-04-16 14:55:18 UTC
Closed as duplicate of 89891