Package org.rumbledb.xml.schema
Class XmlSchemaValidator
java.lang.Object
org.rumbledb.xml.schema.XmlSchemaValidator
Validates local Rumble XML nodes against an imported Xerces schema catalog.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvalidateLax(Item input, ExceptionMetadata metadata) Performs lax validation, using xs:anyType when the root has no global declaration.validateStrict(Item input, ExceptionMetadata metadata) Validates the root using its global element declaration.validateType(Item input, Name typeName, ExceptionMetadata metadata) Validates the root against a statically resolved imported schema type.
-
Constructor Details
-
XmlSchemaValidator
-
-
Method Details
-
validateStrict
Validates the root using its global element declaration. -
validateLax
Performs lax validation, using xs:anyType when the root has no global declaration. -
validateType
Validates the root against a statically resolved imported schema type.
-