Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

Fix for bug 26497272 #1214

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,8 @@ private Source createMasterPseudoSchema(Map<String, String> docs) {
final StringBuilder sb = new StringBuilder("<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' targetNamespace='urn:x-jax-ws-master'>\n");
for(Map.Entry<String, String> e : docs.entrySet()) {
String systemId = e.getValue();
if(systemId.indexOf('&') != -1)
systemId = systemId.replace("&","&amp;");
String ns = e.getKey();
sb.append("<xsd:import schemaLocation='").append(systemId).append("'");
if (ns != null && !("".equals(ns))) {
Expand Down