Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356375 - Overloading attributes failing validation
Summary: Overloading attributes failing validation
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: wst.wsdl (show other bugs)
Version: 3.3   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: wst.wsdl CLA
QA Contact: Keith Chong CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-31 13:48 EDT by cu2sr CLA
Modified: 2011-08-31 18:03 EDT (History)
0 users

See Also:


Attachments
Copy/Paste of WSDL from service provider. URLs have been scrubbed. (11.89 KB, application/octet-stream)
2011-08-31 13:48 EDT, cu2sr CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description cu2sr CLA 2011-08-31 13:48:26 EDT
Created attachment 202550 [details]
Copy/Paste of WSDL from service provider. URLs have been scrubbed.

My service provider attempts to overload the attribute Id in the policy element by providing a different namespace. The error returned by Eclipse upon validation is "cvc-complex-type.5.2: In element 'wsp:Policy', attribute 'Id' is a Wild ID. But there is already an attribute 'Id' derived from ID among the {attribute uses}." I've attached the WSDL I used to replicate this error.
Comment 1 Keith Chong CLA 2011-08-31 18:03:44 EDT
The validator is based on WSDL4J so this bug is against them.  See http://sourceforge.net/projects/wsdl4j/