alibert
2005-04-27, 04:11 PM
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:
************** 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.ParseRelativeLocation Path(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParseRelativeLocation Path(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParseLocationPath(Ast Node qyInput)
at System.Xml.XPath.XPathParser.ParsePathExpr(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParseUnionExpr(AstNod e qyInput)
at System.Xml.XPath.XPathParser.ParseUnaryExpr(AstNod e qyInput)
at System.Xml.XPath.XPathParser.ParseMultiplicativeEx pr(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParseAdditiveExpr(Ast Node qyInput)
at System.Xml.XPath.XPathParser.ParseRelationalExpr(A stNode qyInput)
at System.Xml.XPath.XPathParser.ParseEqualityExpr(Ast Node qyInput)
at System.Xml.XPath.XPathParser.ParseAndExpr(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParseOrExpr(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParseXPathExpresion(S tring 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(M essage& 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
I think there is a little Bug in the RssReader Plugin when having a language.xml file in use.
Here is the stack trace:
************** 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.ParseRelativeLocation Path(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParseRelativeLocation Path(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParseLocationPath(Ast Node qyInput)
at System.Xml.XPath.XPathParser.ParsePathExpr(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParseUnionExpr(AstNod e qyInput)
at System.Xml.XPath.XPathParser.ParseUnaryExpr(AstNod e qyInput)
at System.Xml.XPath.XPathParser.ParseMultiplicativeEx pr(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParseAdditiveExpr(Ast Node qyInput)
at System.Xml.XPath.XPathParser.ParseRelationalExpr(A stNode qyInput)
at System.Xml.XPath.XPathParser.ParseEqualityExpr(Ast Node qyInput)
at System.Xml.XPath.XPathParser.ParseAndExpr(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParseOrExpr(AstNode qyInput)
at System.Xml.XPath.XPathParser.ParseXPathExpresion(S tring 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(M essage& 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