View Source Smee.Lint (Smee v0.5.0)

Lint runs basic XML quality checks against XML strings

Summary

Functions

Validates XML - checks that it is well-formed and complies with SAML metadata schema. It does *not check signatures or expiry.

Functions

Link to this function

validate(xml, options \\ [])

View Source
@spec validate(xml :: binary(), options :: keyword()) ::
  {:ok, binary()} | {:error, binary()}

Validates XML - checks that it is well-formed and complies with SAML metadata schema. It does *not check signatures or expiry.