I created a XS Project
with the following code :
>>> Test.xsjs
try {
var parser =new $.util.SAXParser();
//No other lines of code
} catch(e) {
$.response.contentType ="text/plain";
$.response.setBody(e.message);
}
.xsapp
{
"auth_required" : true
}
.xsaccess
{
"exposed" : true
}
And when I try to execute the xsjs file from Browser I am getting this error :
reference to undefined property $.util.SAXParser
Please help.
Thanks,
Vijay