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 81097 - Cannot extend complex type defined in imported UBL schema
Summary: Cannot extend complex type defined in imported UBL schema
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: bhate
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-25 17:10 UTC by Andrei Chistiakov
Modified: 2006-07-26 13:06 UTC (History)
4 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-07-25 17:10:16 UTC
Reproduced in build 060724.

To reproduce:
- open a propect that contains UBL schema files;
- create a new schema;
- import common/UBL-CoreComponentTypes-1.0.xsd;
- create a new complex type. 
While in complex type customizer:
- select 'Use Existing Definition';
- select 'Extension';
- select Referenced Schemas|import...|Complex Types|CodeType.
Notice that OK is greyed out because 'Valid type must be selected'.
At the same time, an imported simple type may be extended successfully.
Comment 1 bhate 2006-07-25 22:22:19 UTC
we must allow simplecontent complextype extensions.
Comment 2 Andrei Chistiakov 2006-07-26 13:06:40 UTC
Verified in build 060725.