Hi,
I think there is a little Bug in the RssReader Plugin when having a language.xml file in use.
Here is the stack trace:
I think it happens when trying to translate a text body from a rss news with invalid (non ANSI?) characters in it.
Maybe such strings could be excluded from translation?
-alibert
I think there is a little Bug in the RssReader Plugin when having a language.xml file in use.
Here is the stack trace:
Code:
************** Ausnametext **************
System.Xml.XPath.XPathException: '/language/translate[@originalText="Error: '/language/translate[@originalText="Na, und worum geht's?" Christian Rahn gestaltet den Gesprchseinstieg herausfordernd. Weil er wei, dass seine Geschichte den Stoff liefert fr Klischeebehaftetes. "Absturz eines Jungstars" zum Beispiel. Oder: "Ein Nationalspieler als Zweitliga-Ersatz.""]' ist ein ungltiger Token."]' ist ein ungltiger 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 cg.a(Boolean& A_0)
at q.r()
at cg.b(String A_0)
at q.a(Message& A_0)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
I think it happens when trying to translate a text body from a rss news with invalid (non ANSI?) characters in it.
Maybe such strings could be excluded from translation?
-alibert