WARNING! Gitlab maintenance operation scheduled for Monday, 20 April between 12:00 and 14:00 (CET). During this time window, short service interruptions (less than 5 minutes) may occur. Thank you in advance for your understanding.
// external function matchFile(Raw p_textToMatch, universal charstring p_referenceXmlFile, XsdFileList p_xsdFileList, out universal charstring p_matchError) return boolean;
/**
* Lexical compare the charstring p_textToMatch with the contents of the reference XML file and returns true if they represent the same XML structure
* @param p_textToMatch text to be compared with the UTF-8 contents of the XML file
* @param p_referenceXmlFile the XML file
* @param p_xsdFileList the list of XSD files
* @param p_matchError the error result in case it did not match
* @param p_referenceTTCN3File the file of the TTCN-3 test module. This path is used to find the reference XML file relative to this path, by keeping the TTCN-3 code file system independent.
* @return true if p_textToMatch and the contents of p_referenceXmlFile represent the same XML structure
*/
// external function matchFile(Raw p_textToMatch, File p_referenceXmlFile, FileList p_xsdFileList, out universal charstring p_matchError, File p_referenceTTCN3File := __FILE__) return boolean;
@@ -51,12 +63,20 @@ public class XmlDiffExtFctPlugin extends AnnotationsExternalFunctionPlugin {
returnnewBooleanValue(res);
}
//external function readFile(universal charstring p_referenceXmlFile) return universal charstring;
/**
* Read a UTF-8 formated XML file from disc.
* @param p_referenceXmlFile the XML file
* @param p_referenceTTCN3File the file of the TTCN-3 test module. This path is used to find the reference XML file relative to this path, by keeping the TTCN-3 code file system independent.
* @return the UTF-8 contents of p_referenceXmlFile