Hello guys,
My xpath statement is this one (I added an xml namespace ,ns1):
var Objects = select("//ns1:References/ns1:Reference[@ReferenceType="+typeofref+"]/text()="+id.toString(), ns);
But the id that I am passing is this one: ns=2;i=16601
The error that i get is this one (I suppose it is because I am passing a string with a ; inside):
throw new Error("Unexpected character " + c); Error: Unexpected character ;
Hello guys, My xpath statement is this one (I added an xml namespace ,ns1):
var Objects = select("//ns1:References/ns1:Reference[@ReferenceType="+typeofref+"]/text()="+id.toString(), ns);
But the id that I am passing is this one:ns=2;i=16601
The error that i get is this one (I suppose it is because I am passing a string with a ; inside):
throw new Error("Unexpected character " + c); Error: Unexpected character ;
Is it a bug? How can I solve the issue? Thanks