Skip to main content

validate_xml_against_xsd

Function validate_xml_against_xsd 

Source
pub fn validate_xml_against_xsd(
    xml_content: &str,
    xsd_path: &str,
) -> Result<(), Error>
Expand description

Validate XML content against an XSD schema file.

§Arguments

  • xml_content - The XML content to validate
  • xsd_path - Path to the XSD schema file (relative to schemas/ directory)

§Returns

A Result indicating whether validation succeeded.

§Note

This is a placeholder implementation. Full XSD validation requires a proper XSD validation library or external tool integration.