This validator uses lxml to validate XML files against schemas defined
by XSD files.
|
|
|
load_xsd(self,
xsd_path)
Load the XSD schema at `xsd_path`. |
source code
|
|
|
validate_path(self,
path)
Determine whether the file at `path` is valid using the configured
xml schema. |
source code
|
|
|
validate_file(self,
f)
Determine whether a file is valid using the configured xml schema. |
source code
|
|
|
check_path(self,
path)
This method will throw exceptions when trying to validate a path. |
source code
|
|
|
check_file(self,
xml_file)
This method will throw exceptions when trying to validate a file. |
source code
|
|