#Compilng You need g++ 4.9 to compile this code. Follow these steps to install g++-4.9
After installing run the following command to compile
/usr/bin/g++-4.9 -std=c++11 lambda.cpp
#Running
./a.out
#Compilng You need g++ 4.9 to compile this code. Follow these steps to install g++-4.9
After installing run the following command to compile
/usr/bin/g++-4.9 -std=c++11 lambda.cpp
#Running
./a.out
import javax.xml.transform.stream.StreamSource | |
import javax.xml.validation.Schema | |
import javax.xml.validation.SchemaFactory | |
import javax.xml.validation.{Validator=>JValidator} | |
import org.xml.sax.SAXException | |
object Validator { | |
def main(args: Array[String]) { | |
require(args.size >= 2, "Params: xmlFile, xsdFile") | |
val result = |