Skip to content

Commit 2e8d9cd

Browse files
Un-Comment test utility for validation
1 parent 0a53802 commit 2e8d9cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/sds-aspect-model-aas-generator/src/test/java/io/openmanufacturing/sds/aspectmodel/aas/AspectModelAASGeneratorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,11 +362,11 @@ private ByteArrayOutputStream getByteArrayOutputStreamFromAspect( final TestAspe
362362
}
363363

364364
private void validate( final ByteArrayInputStream xmlStream ) throws IOException, SAXException {
365-
/*final SchemaFactory factory =
365+
final SchemaFactory factory =
366366
SchemaFactory.newInstance( XMLConstants.W3C_XML_SCHEMA_NS_URI );
367367
final Schema schema = factory.newSchema( new URL( "https://raw.githubusercontent.com/admin-shell-io/aas-specs/V3.0.5RC02/schemas/xml/AAS.xsd" ) );
368368
final Validator validator = schema.newValidator();
369-
validator.validate( new StreamSource( xmlStream ), null );*/
369+
validator.validate( new StreamSource( xmlStream ), null );
370370

371371
}
372372

0 commit comments

Comments
 (0)