Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jakartaee_web_services_metadata_handler_3_0.xsd has invalid reference to "jakartaee::handler-chainsType" #1607

Open
JWT007 opened this issue Dec 20, 2022 · 3 comments

Comments

@JWT007
Copy link

JWT007 commented Dec 20, 2022

In "jakartaee_web_services_metadata_handler_3_0.xsd" (lines 54-55) there is a type reference to the "handler-chainsType", but the type says "service-ref_handler-chainsType" which is unresolvable.
(https://jakarta.ee/xml/ns/jakartaee/jakartaee_web_services_metadata_handler_3_0.xsd)

  <xsd:element name="handler-chains"
               type="jakartaee:service-ref_handler-chainsType">

The 'handler-chainsType' is defined in "jakartaee_web_services_client_2_0.xsd" on line 325.
(https://jakarta.ee/xml/ns/jakartaee/jakartaee_web_services_client_2_0.xsd)

@pzygielo
Copy link
Contributor

Would you expect this to be like

--- a/static/xml/ns/jakartaee/jakartaee_web_services_metadata_handler_3_0.xsd
+++ b/static/xml/ns/jakartaee/jakartaee_web_services_metadata_handler_3_0.xsd
@@ -52,7 +52,7 @@
   <xsd:include schemaLocation="jakartaee_9.xsd"/>
 
   <xsd:element name="handler-chains"
-               type="jakartaee:service-ref_handler-chainsType">
+               type="jakartaee:handler-chainsType">
     <xsd:annotation>
       <xsd:documentation>

then?

The example (https://eclipse-ee4j.github.io/metro-wsit/4.0.0/guide/ch02.html#using-sun-jaxws.xml) validates fine with the above (and doesn't without).

@JWT007
Copy link
Author

JWT007 commented Dec 20, 2022

looking at the XSDs I think yes, :) but thought I would raise the issue and let someone double-check it.

@pzygielo
Copy link
Contributor

looking at the XSDs I think yes, :) but thought I would raise the issue and let someone double-check it.

I agree.
This should be confirmed by someone from ee4j.jaxws, as I'm only guessing here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants