#include <base/Application.h>
#include <base/string/FormatOutputStream.h>
#include <base/xml/DOMImplementation.h>
using namespace com::azure::dev::base;
private:
static const unsigned int MAJOR_VERSION = 1;
static const unsigned int MINOR_VERSION = 0;
public:
ValidateApplication()
{
}
void main()
{
fout << getFormalName() << " version "
<< MAJOR_VERSION << '.' << MINOR_VERSION << EOL
<< "The Base Framework (Test Suite)" << EOL
<< ENDL;
fout << getFormalName() << " uri" << ENDL;
return;
}
const String sourceURI = arguments[0];
try {
fout << "Error: " << e << ENDL;
setExitCode(EXIT_CODE_ERROR);
return;
}
if (true) {
fout << "Document is valid" << ENDL;
} else {
fout << "Document is well-formed" << ENDL;
}
}
};
APPLICATION_STUB(ValidateApplication);