eclipse-ee4j / metro-jax-ws

metro-jax-ws
https://eclipse-ee4j.github.io/metro-jax-ws/
BSD 3-Clause "New" or "Revised" License
72 stars 40 forks source link

jax-ws-catalog leads to broken URL in "schemaLocation" #565

Open Tomas-Kraus opened 2 years ago

Tomas-Kraus commented 2 years ago

When using a catalog file

<?xml version="1.0" encoding="UTF-8"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> prefer="system">
    <system systemId="http://www.w3.org/2005/05/xmlmime" uri="xmlmime.xml"/>
</catalog>

it leads to a broken URL in XML where "xmlmime" is referenced (when WSDL is requested). The "schemaLocation" is referenced with "?null" instead of "?xsd=2".

<xs:import namespace="http://www.w3.org/2005/05/xmlmime" schemaLocation="http://localhost:8080/server/converter?null"/>

It has worked in 2.2.8 but seems to be broken in 2.2.10 and 2.2.11 (nightly build).

Environment

Netbeans 8, Java 7, Tomcat 7.0.63

Affected Versions

[current, 2.2.10]

Source: https://github.com/javaee/metro-jax-ws/issues/1177 Author: glassfishrobot