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 113370 - XML Validation failed after moving schema from one project to another.
Summary: XML Validation failed after moving schema from one project to another.
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Sonali Kochar
URL:
Keywords:
Depends on: 113850
Blocks:
  Show dependency tree
 
Reported: 2007-08-21 15:55 UTC by Michael Nazarov
Modified: 2007-09-03 15:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
warnings (51.02 KB, image/png)
2007-08-21 15:56 UTC, Michael Nazarov
Details
errors (53.65 KB, image/png)
2007-08-21 15:57 UTC, Michael Nazarov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Nazarov 2007-08-21 15:55:30 UTC
Product Version: NetBeans IDE Dev (Build 200708210000)

After XML schema with reference moved from one project to another XML validation failed and shows warnings. Check first 
screenshot: reference looks good but validation output has warning.

After using type from referenced schhema XML Validation shows errors. Check second screenshot.

BTW project still compileable so P2 I think...

Steps to reproduce:

1. Create BluePrint1 Sample and BPEL Module.
2. Add to Module Sample Loan Application Schema.
3. Add to Sample reference to Module.
4. Import to purchaseOrder reference to newLoanApplication.
5. Drag purchaseOrder from Sample to Module.

Validation will show warining.

6. Add to purchaseOrder Attribute, Complex Type, Element or Simple Type using referenced type from newLoanApplication.

Validation will show errors.
Comment 1 Michael Nazarov 2007-08-21 15:56:49 UTC
Created attachment 46980 [details]
warnings
Comment 2 Michael Nazarov 2007-08-21 15:57:17 UTC
Created attachment 46981 [details]
errors
Comment 3 Sonali Kochar 2007-08-22 19:13:20 UTC
Fixed. When you DnD a file from a project to another, it should open the MoveRefactoring GUI. This is the same as DnD in
java. The move refactoring then takes care any schema references inside the file
Comment 4 Michael Nazarov 2007-09-03 15:42:08 UTC
Product Version: NetBeans IDE Dev (Build 200708310258)