Dycode SimpleUBL UBL 2.0 Class Library

ForwardingInstructions.GetValidationErrors Method

Validate document by schema and then by value. If document is not valid, return validation error. If document is valid, return null.

// Check document from stream (Only C++, .NET)

public string GetValidationErrors(Stream str, string schemaFile, string xslFile);

// Check document from file

public string GetValidationErrors(string file, string schemaFile, string xslFile);

// Check document from XML string

public string GetValidationErrorsFromXML(string xml, string schemaFile, string xslFile);

Parameters

str
XML document stream
file
Full filename, or relative to the current path.
xml
XML document string
schemaFile
XSD file location
xslFile
XSL file location

See Also

ForwardingInstructions Class | Dycode.SimpleUBL | Two-phase validation