From: Andrew S. <and...@ya...> - 2005-08-05 14:42:27
|
Hi everyone, I am using Saxondotnet in a test VB.NET project. In the action of a button-click I have: Dim inputFile As New java.io.File(<any-xml-file>) Dim inputSource As New StreamSource(inputFile) Dim evaluator As New XPathEvaluator Dim expr As XPathExpression = evaluator.createExpression("/*") Dim ret As Object = expr.evaluateSingle(inputSource) The last line throws the following exception: System.TypeLoadException was unhandled Message="Method 'java.lang.Comparable/compareTo(Ljava.lang.Object;)I' on type 'net.sf.saxon.value.CalendarValue' from assembly 'Saxon.NET, Version=0.2.8.3, Culture=neutral, PublicKeyToken=039082bc3d203ffd' is overriding a method that has been overridden." Source="Saxon.NET" TypeName="net.sf.saxon.value.CalendarValue" StackTrace: at net.sf.saxon.value.Value.convert(Item item) at net.sf.saxon.sxpath.XPathExpression.evaluateSingle(Source source) at WindowsApplication1.Form1.Button1_Click(Object sender, EventArgs e) in WindowsApplication1\Form1.vb:line 17 Should this be? Is this a bug? Any suggested workaround? Thanks for any replies as well as all your hard work on SaxonDotnet. It is really appreciated, Andrew __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |