2005-04-12, 02:34 AM
sub im getting this error
its obvious why, but theres not much i can do about it from my side (without effecting the text) could you add a try{}catch around the translations when you call them for composite images? this would remove the problem.
cheers
reven.
Code:
12/04/2005 2:31:00 p.m..812 ERROR [2] Error: msg=0x100 (WM_KEYDOWN) hwnd=0xa026c wparam=0x47 lparam=0x1 result=0x0 : '/language/translate[@originalText="The action begins where it left off at the end of series 2 - Steve and Susan have had an argument about their future, and Susan storms out of Steve's flat in tears. The screen splits into two and we follow what happens to both Steve and Susan simultaneously. While Steve tries repeatedly to ring Susan, his courage failing ever time, the girls are locked in a debate over the merits of 1471, and what it means if the phone "chirps". Eventually the tension at both ends of the phone gets too much. The boys and the girls set out for "the Temple of Woman': the girls' case, a beauty salon; in the boys' case, a lap dancing club. Steve gets hideously drunk, and phones Susan as soon as he gets home, pleading that she come back to him. She does just that."]' has an invalid token. : at System.Xml.XPath.XPathParser.ParseStep(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParseLocationPath(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParsePathExpr(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParseUnionExpr(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParseUnaryExpr(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParseMultiplicativeExpr(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParseAdditiveExpr(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParseRelationalExpr(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParseEqualityExpr(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParseAndExpr(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParseOrExpr(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParseXPathExpresion(String xpathExpresion)
at System.Xml.XPath.XPathNavigator.Compile(String xpath)
at System.Xml.XPath.XPathNavigator.Select(String xpath)
at System.Xml.XmlNode.SelectSingleNode(String xpath)
at GBPVR.Public.SkinHelper.getTranslation(String text)
at GBPVR.Public.SkinHelper.getNamedImageNonCached(String name, Hashtable parameters)
its obvious why, but theres not much i can do about it from my side (without effecting the text) could you add a try{}catch around the translations when you call them for composite images? this would remove the problem.
cheers
reven.