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 83217 - Cannot import/include/redefine schemas residing at spectifc location within project
Summary: Cannot import/include/redefine schemas residing at spectifc location within p...
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Nathan Fiedler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-22 17:10 UTC by Andrei Chistiakov
Modified: 2006-08-25 15:41 UTC (History)
3 users (show)

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 Andrei Chistiakov 2006-08-22 17:10:46 UTC
Reproduced in build 060820.

To reproduce the bug:
- create directory $BASEDIR;
- create directory $BASEDIR/a1;
- create directory $BASEDIR/a2;
- create a new Java App project in $BASEDIR;
- right-click the project's node and invoke 'Properties';
- in 'Project Properties' dialog remove default source package folder from the
list of source package folders;
- add $BASEDIR/a1 into the list;
- add $BASEDIR/a2 into the list;
- save project properties;
- create new schema newXmlSchema1 in $BASEDIR/a1/<default package>;
- create new schema newXmlSchema2 in $BASEDIR/a2/<default package>;
- add a new global compex type into newXmlSchema2. Save the schema;
- try to 'include' newXmlSchema2 into newXmlSchema1 with the purpose of further
referencing to the newly added type in newXmlSchema1. 
Notice that newXmlSchema2 is not in the tree of available schemas to include.
Comment 1 Nathan Fiedler 2006-08-23 00:24:13 UTC
Fixed on release55 branch.

xamui/src/org/netbeans/modules/xml/xam/ui/customizer/Bundle.properties;
new revision: 1.1.2.5; previous revision: 1.1.2.4
xamui/src/org/netbeans/modules/xml/xam/ui/customizer/ExternalReferenceCustomizer.java;
new revision: 1.1.2.13; previous revision: 1.1.2.12
xamui/src/org/netbeans/modules/xml/xam/ui/customizer/FolderNode.java;
new revision: 1.1.2.1; previous revision: 1.1
xamui/src/org/netbeans/modules/xml/xam/ui/customizer/NamespaceChildren.java;
new revision: 1.1.2.10; previous revision: 1.1.2.9
Comment 2 Andrei Chistiakov 2006-08-25 15:41:32 UTC
Verified in build 060824.