For the complete documentation index, see llms.txt. This page is also available as Markdown.

Validate

Validates XML using XSD schemas.

Task version: 1.2.0

Required Frends version: 5.5+

Required .NET version: 6.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

Xml : String

XML to validate.

Default: - Example: content

XsdSchemas : String[]

List of XML Schema Definitions

Default: - Example: [ "xs:schema...</xs:schema>", "<xs:schema>...</xs:schema>" ]

Name
Description

ThrowOnValidationErrors : Boolean

Whether to throw and exception on validation error or return as result.

Default: - Example: true

Task Result

Name
Description

IsValid : Boolean

Result of XML validation. Example: true

Error : String

Validation error message, if any. Example: The element 'book' has invalid child element 'review'.

Task Changelog

Changelog for Task Frends.XML.Validate.

[1.2.0] - 2026-07-14

Changed

  • Updated outdated repository URLs

[1.1.0] - 2025-03-25

Changed

  • Update packages: System.Text.Encoding.CodePages 6.0.0 -> 9.0.3 coverlet.collector 3.1.0 -> 6.0.4 Microsoft.NET.Test.Sdk 16.11.0 -> 17.13.0 NUnit 3.13.2 -> 4.3.2 NUnit3TestAdapter 4.0.0 -> 5.0.0

[1.0.0] - 2023-10-11

Added

  • Initial implementation

Last updated

Was this helpful?