Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Back to XMLValidatorMBS class.
XMLValidatorMBS.Constructor(File as FolderItem)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | XML | MBS Util Plugin | 20.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
May raise an XMLException if the XML can't be parsed or the validator can't be initialized.
XML should have unix line endings (char 10), be saved as UTF-8 and itself a valid XML, so we can parse it corectly.
See also:
XMLValidatorMBS.Constructor(XMLSchema as String)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | XML | MBS Util Plugin | 19.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
May raise an XMLException if the XML can't be parsed or the validator can't be initialized.
For MBS Plugin 20.2 this function accepts also a file name/path to initialize.
XML should have unix line endings (char 10), be saved as UTF-8 and itself a valid XML, so we can parse it corectly.
See also:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | XML | MBS Util Plugin | 19.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
XMLValidatorMBS.Message(index as Integer) as XMLValidatorMessageMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | XML | MBS Util Plugin | 19.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Index from 0 to MessageCount-1.
XMLValidatorMBS.Messages as XMLValidatorMessageMBS()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | XML | MBS Util Plugin | 19.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
XMLValidatorMBS.ValidateFile(file as FolderItem) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | XML | MBS Util Plugin | 19.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Validate a document tree in memory.
Returns 0 if the document is schemas valid, a positive error code number otherwise and -1 in case of internal or API error.
See messages array for the logged error and warning messages.
Please pass in XML file path and a valid XSD schema.
Use SetCurrentWorkingDirectory with file.parent to set working directory if needed.
XML should have unix line endings (char 10), be saved as UTF-8 and itself a valid XML, so we can parse it corectly.
See also:
XMLValidatorMBS.ValidateFile(path as string) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | XML | MBS Util Plugin | 19.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Validate a document tree in memory.
Returns 0 if the document is schemas valid, a positive error code number otherwise and -1 in case of internal or API error.
See messages array for the logged error and warning messages.
Please pass in XML file path and a valid XSD schema.
Use SetCurrentWorkingDirectory with file.parent to set working directory if needed.
XML should have unix line endings (char 10), be saved as UTF-8 and itself a valid XML, so we can parse it corectly.
See also:
XMLValidatorMBS.ValidateString(text as string) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | XML | MBS Util Plugin | 19.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Validate a document tree in memory.
Returns 0 if the document is schemas valid, a positive error code number otherwise and -1 in case of internal or API error.
See messages array for the logged error and warning messages.
XML should have unix line endings (char 10), be saved as UTF-8 and itself a valid XML, so we can parse it corectly.
The items on this page are in the following plugins: MBS Util Plugin.