Skip to content
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 @@ -225,7 +225,7 @@ private static URI parseURI(String s) {
//workaround for Sun bug # 4723726
public static URI resolve(URI base, String child)
throws URISyntaxException {
URI childUri = new URI(child);
URI childUri = new URI(child.replace('\\', '/'));
URI ruri = base.resolve(childUri);

// if the child fragment is relative (which we'll assume is the case
Expand Down Expand Up @@ -502,6 +502,9 @@ static XmlObject downloadDocument(SchemaTypeLoader loader, String namespace, Str
XmlOptions options = new XmlOptions();
options.setLoadLineNumbers();
options.setDocumentSourceName(absoluteURL);
options.setCompileNoAnnotations(state.noAnn());
options.setCompileNoPvrRule(state.noPvr());
options.setCompileNoPvrRule(state.noUpa());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why these unrelated changes?

return loader.parse(reader, null, options);
}

Expand Down