Codeunit 6240 Xml Validation

System Application, System.Xml

Source AL, 130 lines

src/System Application/App/XML Validation/src/XmlValidation.Codeunit.allines 11 to 26 of 130, Copyright (c) Microsoft Corporation. MIT

codeunit 6240 "Xml Validation"{    Access = Public;    InherentEntitlements = X;    InherentPermissions = X;    var        XmlValidationImpl: Codeunit "Xml Validation Impl.";    /// <summary>    /// Performs validation of an XML from a string against a schema from a string.    /// </summary>    /// <param name="Xml">Xml string to validate.</param>    /// <param name="XmlSchema">Xml schema string to validate against.</param>    /// <param name="Namespace">Namespace of the xml schema.</param>    /// <error>If xml definition is not well-formed</error>

All 130 lines

Public procedures 10 in 29

TryValidateAgainstSchema(Xml: Text; XmlSchema: Text; Namespace: Text): Boolean17-29
TryValidateAgainstSchema(XmlDoc: XmlDocument; XmlSchemaDoc: XmlDocument; Namespace: Text): Boolean17-29
TryValidateAgainstSchema(XmlDocInStream: InStream; XmlSchemaInStream: InStream; Namespace: Text): Boolean17-29changed in 21
TrySetValidatedDocument(Xml: Text): Booleannew in 21
TrySetValidatedDocument(XmlDoc: XmlDocument): Booleannew in 21
TrySetValidatedDocument(XmlDocInStream: InStream): Booleannew in 21

All 10 procedures

Changes 8 in 21

List17181920212223242526272829
Procedures8
TryValidateAgainstSchema(XmlDocInStream: InStream; XmlSchemaInStream: InStream; Namespace: Text): Boolean17-29changed in 21
changed, was TryValidateAgainstSchema(XmlDocStream: InStream; XmlSchemaStream: InStream; Namespace: Text): Boolean
TrySetValidatedDocument(Xml: Text): Booleannew in 21
added
TrySetValidatedDocument(XmlDoc: XmlDocument): Booleannew in 21
added
TrySetValidatedDocument(XmlDocInStream: InStream): Booleannew in 21
added
TryAddValidationSchema(Xml: Text; Namespace: Text): Booleannew in 21
added
TryAddValidationSchema(XmlSchemaDoc: XmlDocument; Namespace: Text): Booleannew in 21
added

All 8 changes in 17-29