Platforms to show: All Mac Windows Linux Cross-Platform
Back to XMLValidatorMBS class.
XMLValidatorMBS.CanonicalXML(XML as String, Mode as Integer = 0) as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | XML | MBS Util Plugin | 24.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Raises UnsupportedOperationException in case of a parse or serialization error.
The output mode:
Can be 0 for Original C14N 1.0 spec, 1 for Exclusive C14N 1.0 spec or 2 for C14N 1.1 spec.
XMLValidatorMBS.LoadIconvLibrary(path as String, byref Error as String) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | XML | MBS Util Plugin | 20.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The XML classes may use libiconv for text encoding conversion.
If you explicitly need, you can load the library on start of solution.
MBS Plugin may try to load iconv.dll/dylib/so automatically when first iconv function is called.
XMLValidatorMBS.SetCurrentWorkingDirectory(path as folderitem) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | XML | MBS Util Plugin | 19.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The library looks in current directory to find related files.
So if your schema or the XML file to check references other files, please set the diretory.
Returns true on success or false on failure.
See also:
XMLValidatorMBS.SetCurrentWorkingDirectory(path as String) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | XML | MBS Util Plugin | 19.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The library looks in current directory to find related files.
So if your schema or the XML file to check references other files, please set the diretory.
Returns true on success or false on failure.
See also:
The items on this page are in the following plugins: MBS Util Plugin.
