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 85054 - wsdl validation is showing wrong error on validating inline schema
Summary: wsdl validation is showing wrong error on validating inline schema
Status: VERIFIED DUPLICATE of bug 85049
Alias: None
Product: xml
Classification: Unclassified
Component: Validation (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Shivanand Kini
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-15 22:29 UTC by Ritesh Adval
Modified: 2007-09-24 16:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
wsdl having problem (9.32 KB, application/octet-stream)
2006-09-15 22:29 UTC, Ritesh Adval
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ritesh Adval 2006-09-15 22:29:02 UTC
Attached is the wsdl when validation it shows this error:

XML validation started.

C:/Documents and 
Settings/radval/ActionTests/SynchronousSample/SynchronousSample/src/SeeBeyondSer
vice.wsdl:11,2
Target namespace is not present in the inline schema : Specify a Target 
namespace in the inline schema

C:/Documents and 
Settings/radval/ActionTests/SynchronousSample/SynchronousSample/src/SeeBeyondSer
vice.wsdl:86,2
In part "AffiliateRequest", attribute element's 
value "rsvztype:AffiliateRequest" is not a valid xml schema element available 
in this wsdl file. : Specify a valid schema element value for element attribute.

2 Error(s),  0 Warning(s).
XML validation finished.


For first error although there is a targetNamespace specified in inline schema 
it is giving this error:

The bug is in WSDLSemanticValidator line 839

if (targetNamespace == null || targetNamespace.length() > 0) {


targetNamespace.length() > 0 this should not be there above. This needs to go 
in netbeans xml wsdlmodel model.
Comment 1 Ritesh Adval 2006-09-15 22:29:52 UTC
Created attachment 34042 [details]
wsdl having problem
Comment 2 Shivanand Kini 2006-09-15 22:37:27 UTC
The first issue is duplicate of http://www.netbeans.org/issues/show_bug.cgi?id=85049

The imported xsd is not present. It looks like valid error.

*** This issue has been marked as a duplicate of 85049 ***
Comment 3 Mikhail Matveev 2007-09-24 16:44:10 UTC
Verified duplicate