I hard code the "xforms" namespace as follows,
BrowserBot.prototype._namespaceResolver = function(prefix) {
if (prefix == 'html' || prefix == 'xhtml' || prefix == 'x') {
return 'http://www.w3.org/1999/xhtml';
} else if (prefix == 'mathml') {
return 'http://www.w3.org/1998/Math/MathML';
}else if(prefix == 'xforms'){
return 'http://www.w3.org/2002/xforms';
} else {
//modified to support custom namespaces
var nsFromMap = globalNamespaceMap.get(prefix);
if(nsFromMap == null){
throw new Error("Unknown namespace: " + prefix + ".");
}
return nsFromMap;
}
}
Please update your selenium-server.jar from our Maven repo,
http://kungfuters.org/nexus/content/repositories/thirdparty/org/seleniumhq/selenium/server/selenium-server/1.0-te-2/selenium-server-1.0-te-2.jar
Thanks,
Jian
On Wed, May 20, 2009 at 12:19 PM, Jian Fang <[email protected]>wrote:
> Strange. Alright, I will hard code xforms namespace there unless we could
> figure out what
> is the cause of the problem.
>
> Thanks,
>
> Jian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---