File tree Expand file tree Collapse file tree 2 files changed +3
-22
lines changed
java/org/springframework/oxm/jaxb
resources/org/springframework/oxm Expand file tree Collapse file tree 2 files changed +3
-22
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2019 the original author or authors.
2
+ * Copyright 2002-2021 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
31
31
import org .junit .jupiter .api .Test ;
32
32
33
33
import org .springframework .core .io .ClassPathResource ;
34
+ import org .springframework .core .io .FileSystemResource ;
34
35
import org .springframework .core .io .Resource ;
35
36
import org .springframework .oxm .AbstractUnmarshallerTests ;
36
37
import org .springframework .oxm .jaxb .test .FlightType ;
@@ -56,7 +57,7 @@ public class Jaxb2UnmarshallerTests extends AbstractUnmarshallerTests<Jaxb2Marsh
56
57
protected Jaxb2Marshaller createUnmarshaller () throws Exception {
57
58
Jaxb2Marshaller unmarshaller = new Jaxb2Marshaller ();
58
59
unmarshaller .setContextPath ("org.springframework.oxm.jaxb.test" );
59
- unmarshaller .setSchema (new ClassPathResource ( "org/springframework/oxm /flight.xsd" ));
60
+ unmarshaller .setSchema (new FileSystemResource ( "src/test/schema /flight.xsd" ));
60
61
unmarshaller .afterPropertiesSet ();
61
62
return unmarshaller ;
62
63
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments