Minor modification to XML schema and unit test.

This commit is contained in:
stevespringett
2017-09-08 10:06:32 -05:00
parent 1b1debdb30
commit bbd59be1d6
2 changed files with 3 additions and 3 deletions

View File

@@ -2,8 +2,8 @@
<xs:schema id="analysis"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
targetNamespace="https://jeremylong.github.io/DependencyCheck/dependency-check.1.5.xsd"
xmlns:dc="https://jeremylong.github.io/DependencyCheck/dependency-check.1.5.xsd">
targetNamespace="https://jeremylong.github.io/DependencyCheck/dependency-check.1.6.xsd"
xmlns:dc="https://jeremylong.github.io/DependencyCheck/dependency-check.1.6.xsd">
<xs:complexType name="scanInfo">
<xs:sequence minOccurs="1" maxOccurs="1">

View File

@@ -78,7 +78,7 @@ public class ReportGeneratorIT extends BaseDBTestCase {
engine.cleanup();
InputStream xsdStream = ReportGenerator.class.getClassLoader().getResourceAsStream("schema/dependency-check.1.5.xsd");
InputStream xsdStream = ReportGenerator.class.getClassLoader().getResourceAsStream("schema/dependency-check.1.6.xsd");
StreamSource xsdSource = new StreamSource(xsdStream);
StreamSource xmlSource = new StreamSource(writeTo);
SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);