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 82435 - Import node incorrectly show "broken reference" for absolute schemaLocation
Summary: Import node incorrectly show "broken reference" for absolute schemaLocation
Status: VERIFIED DUPLICATE of bug 82782
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Girish Balachandran
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-11 00:44 UTC by Nam Nguyen
Modified: 2006-10-02 23:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
schema with import having absotute schemaLocation value (44.82 KB, text/xml)
2006-08-11 00:46 UTC, Nam Nguyen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nam Nguyen 2006-08-11 00:44:29 UTC
- Make sure the IDE proxy server values are set correctly (test by trying to
connect to Tools > Update Center).
- Open the attached schema in schema view.
- select the import node.
See that it show broken reference in child column.

This does not seems to be problem with resolver as Validate XML work correctly.
Comment 1 Nam Nguyen 2006-08-11 00:46:12 UTC
Created attachment 32796 [details]
schema with import having absotute schemaLocation value
Comment 2 bhate 2006-08-16 00:32:04 UTC
The issue is that import can not be resolved into valid schema model.
seems like catalog/retriever issue -> girish.
Comment 3 Girish Balachandran 2006-08-16 02:01:13 UTC
All the external schemas should be downloaded using retrieve wizard in to the
local project. The wizard will generate catalog entry for this external URI and
the models will then be able to use the local copy instead of going to internet
and pulling it down each time the user tries to explore the external schema's
components.
Validator works because, JDK validator has the capability to pull down the
schema file dynamically from the internet cache it in temp (just while
validation) and validate the schema against it. This step might be ok for
validation but, it will not be suited for the models because, not all the time
user will have internet connection.
As this is the default behavior and it is by design, I am closing this bug as
will not fix.

I am going to open a new bug for the import customizer to let the user invoke
Retriever wizard from the customizer itself.
Comment 4 Girish Balachandran 2006-08-16 02:45:17 UTC
Reopening to close it as a duplicate of
http://xml.netbeans.org/issues/show_bug.cgi?id=82782
Comment 5 Girish Balachandran 2006-08-16 02:45:37 UTC

*** This issue has been marked as a duplicate of 82782 ***
Comment 6 Nam Nguyen 2006-10-02 23:10:32 UTC
Verified that the remote schemas are retrieved properly in the backgroud and
shown with full detailed.