Skip to content

Commit 67aceee

Browse files
authored
Merge pull request #48 from onelogin/v1.1.2
Fix #44.Utils.validateXML fails with NullPointerException on Windows
2 parents 0a4328b + 9c9d173 commit 67aceee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/onelogin/saml/Utils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public static Document validateXML(String xmlString, String schemaName, Boolean.
236236
throws Exception {
237237

238238
try {
239-
String schemaFullPath = "schemas" + File.separatorChar + schemaName;
239+
String schemaFullPath = "schemas" + "/" + schemaName;
240240
log.debug("schemaFullPath: " +schemaFullPath);
241241
ClassLoader classLoader = Utils.class.getClassLoader();
242242
URL schemaFile = classLoader.getResource(schemaFullPath);

0 commit comments

Comments
 (0)