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

Summary: wsdl validation is showing wrong error on validating inline schema
Product: xml Reporter: Ritesh Adval <radval>
Component: ValidationAssignee: Shivanand Kini <skini>
Status: VERIFIED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: wsdl having problem

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