public class XMLSchemaValidationTests extends DataFixture
Sources
dataFile, model| Constructor and Description |
|---|
XMLSchemaValidationTests() |
| Modifier and Type | Method and Description |
|---|---|
void |
getXMLSchema(org.testng.ITestContext testContext)
Obtains the GML application schema from the ISuite context.
|
void |
isXMLSchemaValid()
[
Test] Verifies that a GML instance is valid with respect to its
application schema. |
generateXPathExpression, initDataFixture, setDataFile, setSchemaModelpublic void getXMLSchema(org.testng.ITestContext testContext)
SuiteAttribute.SCHEMA attribute is
expected to be a Schema object.testContext - The test (group) context.public void isXMLSchemaValid()
throws SAXException
Test] Verifies that a GML instance is valid with respect to its
application schema.
Sources
SAXException - If a fatal error occurs (e.g. instance is not well-formed).Copyright © 2023 Open Geospatial Consortium. All rights reserved.