Binding file cannot refer to schema file with space in file name. · Issue #815 · javaee/jaxb-v2 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

This repository was archived by the owner on Feb 5, 2019. It is now read-only.

This repository was archived by the owner on Feb 5, 2019. It is now read-only.

@glassfishrobot

Description

@glassfishrobot

If the schema file has a space in its filename, using a binding file that refers to it fails. The reason can be found in line 248 of Internalizer.java, where URL.getFile() returns a URL encoded String (with %20 for spaces), which is not expected by the File constructor.

Test case will follow shortly.

Environment

Tested on Linux.

Affected Versions

[2.2.3]