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 142534 - Patch for XML catalog support and validation
Summary: Patch for XML catalog support and validation
Status: RESOLVED INVALID
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-01 08:32 UTC by Vladimir Yaroslavskiy
Modified: 2008-09-13 03:44 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
xml catalogsupport (50.54 KB, application/x-compressed)
2008-08-01 08:53 UTC, Vladimir Yaroslavskiy
Details
Validation (6.30 KB, text/plain)
2008-08-01 08:57 UTC, Vladimir Yaroslavskiy
Details
xml.catalogsupport - new version (50.55 KB, application/x-compressed)
2008-08-01 09:53 UTC, Vladimir Yaroslavskiy
Details
Validator (7.46 KB, text/plain)
2008-08-01 14:58 UTC, Vladimir Yaroslavskiy
Details
XsdBasedValidator (15.61 KB, text/plain)
2008-08-01 15:05 UTC, Vladimir Yaroslavskiy
Details
diff (21.85 KB, text/plain)
2008-08-01 15:30 UTC, Vladimir Yaroslavskiy
Details
updated diff (17.96 KB, text/plain)
2008-08-05 09:50 UTC, Vladimir Yaroslavskiy
Details
updated xml diff 1 (18.63 KB, text/plain)
2008-08-05 14:06 UTC, Vladimir Yaroslavskiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Yaroslavskiy 2008-08-01 08:32:38 UTC
XML catalog support should provide new functionality. See attached classes.
Comment 1 Vladimir Yaroslavskiy 2008-08-01 08:53:23 UTC
Created attachment 66263 [details]
xml catalogsupport
Comment 2 Vladimir Yaroslavskiy 2008-08-01 08:56:17 UTC
+ xml validation. module xml.xam, see attached class
Comment 3 Vladimir Yaroslavskiy 2008-08-01 08:57:00 UTC
Created attachment 66265 [details]
Validation
Comment 4 Vladimir Yaroslavskiy 2008-08-01 09:52:34 UTC
Please use the latest version of xml.catalogsupport.zip!
Comment 5 Vladimir Yaroslavskiy 2008-08-01 09:53:05 UTC
Created attachment 66280 [details]
xml.catalogsupport - new version
Comment 6 Vladimir Yaroslavskiy 2008-08-01 14:57:29 UTC
+ another class from module xml.xam, see attached class Validator.java
Comment 7 Vladimir Yaroslavskiy 2008-08-01 14:58:12 UTC
Created attachment 66316 [details]
Validator
Comment 8 Vladimir Yaroslavskiy 2008-08-01 15:05:10 UTC
+ one more class from module xml.xam, see attached class XsdBasedValidator.java 
Comment 9 Vladimir Yaroslavskiy 2008-08-01 15:05:54 UTC
Created attachment 66317 [details]
XsdBasedValidator
Comment 10 Samaresh Panda 2008-08-01 15:07:07 UTC
Why does a functionality need be explained by implementation classes? Normally the way it works is:
- Give a meaningful summary. It can't be so abstract.
- you explain/discuss the use-case in detail in the IZ
- then when people come to agreement, you attach a diff patch (not a zip file)

I'm not sure what am I going to do with a zip file.
Comment 11 Vladimir Yaroslavskiy 2008-08-01 15:30:55 UTC
Created attachment 66323 [details]
diff
Comment 12 Vladimir Yaroslavskiy 2008-08-04 09:55:59 UTC
+ one new friend for module org.netbeans.modules.xml.catalogsupport
friend: org.netbeans.modules.wlm.editor
Comment 13 Samaresh Panda 2008-08-04 19:29:16 UTC
It is still not clear what new functionality are you trying to add? Explain so that people understand by going through
this IZ. Patch is only good for reviewers.
Comment 14 Vladimir Yaroslavskiy 2008-08-05 08:32:19 UTC
There is no new functionality, just several fixes in classes
ProjectUtilities - adding new methods and fix in getting wsdl/xsd files in a project
Validation - stop current validation session if new is started + sorting results
XsdBasedValidator - return null instead of empty collection if a model is not acceptable
DefaultProjectCatalogSupport - fix NPE
Comment 15 Vladimir Yaroslavskiy 2008-08-05 09:49:26 UTC
See updated diff.
Comment 16 Vladimir Yaroslavskiy 2008-08-05 09:50:11 UTC
Created attachment 66567 [details]
updated diff
Comment 17 Vladimir Yaroslavskiy 2008-08-05 14:05:41 UTC
new diff 1
Comment 18 Vladimir Yaroslavskiy 2008-08-05 14:06:47 UTC
Created attachment 66596 [details]
updated xml diff 1
Comment 19 Vladimir Yaroslavskiy 2008-08-06 12:21:12 UTC
Catalog project utilities classes have been moved to soa.ui module.
Comment 20 rbalada 2008-08-06 15:58:46 UTC
This issue did not meet the criteria for inclusion in NetBeans 6.1 Patch 3.
Comment 21 Vladimir Yaroslavskiy 2008-08-18 10:44:24 UTC
related issue 144110