Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=81460 --- shadow/81460 2007-04-26 08:42:44.000000000 -0400 +++ shadow/81460.tmp.9063 2007-04-26 09:24:45.000000000 -0400 @@ -1,12 +1,12 @@ Bug#: 81460 Product: Mono: Class Libraries Version: 1.2 OS: All OS Details: -Status: NEEDINFO +Status: REOPENED Resolution: Severity: Unknown Priority: Normal Component: Sys.XML AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] @@ -135,6 +135,111 @@ well, without complete sources you will receive few feedback. At least trying to run application with mono --debug will give meaningful results, but I already suspect that Spring.NET's XmlReader is buggy enough to return null Prefix (which is not compliant with any of the standard XmlReaders). + +------- Additional Comments From [EMAIL PROTECTED] 2007-04-26 09:24 ------- +Atsushi - my sources (they are in the first attachment) or Spring.Net +(springframework.net , http://fisheye1.cenqua.com/viewrep/springnet)? + +D'oh, seems that bugzilla ingores mimetype setting. The attachment is +a zipped source + App.config of test application. + +I can find no Spring.NET's XmlReader in Spring sources, only multiple +usages of System.Xml.XmlReader.Create() + +mono --debug SpringCalculator.exe + +Unhandled Exception: +System.Configuration.ConfigurationErrorsException: Error instantiating +context 'spring.root'. () () + ---> Spring.Objects.FatalObjectException: Cannot instantiate Type +[Spring.Context.Support.XmlApplicationContext] using +ctor [Void .ctor(String, Boolean, String[])] : 'Exception has been +thrown by the target of an invocation.' ---> System.R +eflection.TargetInvocationException: Exception has been thrown by the +target of an invocation. ---> System.NullReference +Exception: Object reference not set to an instance of an object + at Mono.Xml.Schema.XmlSchemaValidatingReader.get_Prefix () [0x0003c] +in C:\cygwin\tmp\scratch\mono-1.2.4\mcs\class\Sys +tem.XML\Mono.Xml.Schema\XmlSchemaValidatingReader.cs:373 + at System.Xml.XmlDocument.ReadAttributeNode (System.Xml.XmlReader +reader) [0x00036] in C:\cygwin\tmp\scratch\mono-1.2. +4\mcs\class\System.XML\System.Xml\XmlDocument.cs:786 + at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) +[0x00140] in C:\cygwin\tmp\scratch\mono-1.2.4\mcs +\class\System.XML\System.Xml\XmlDocument.cs:878 + at System.Xml.XmlDocument.ReadNode (System.Xml.XmlReader reader) +[0x0004d] in C:\cygwin\tmp\scratch\mono-1.2.4\mcs\cla +ss\System.XML\System.Xml\XmlDocument.cs:829 + at System.Xml.XmlDocument.Load (System.Xml.XmlReader xmlReader) +[0x00019] in C:\cygwin\tmp\scratch\mono-1.2.4\mcs\clas +s\System.XML\System.Xml\XmlDocument.cs:693 + at +Spring.Objects.Factory.Xml.XmlObjectDefinitionReader.LoadObjectDefinitions +(IResource resource) [0x00000] + at +Spring.Context.Support.AbstractXmlApplicationContext.LoadObjectDefinitions +(Spring.Objects.Factory.Xml.XmlObjectDef +initionReader objectDefinitionReader) [0x00000] + at +Spring.Context.Support.AbstractXmlApplicationContext.RefreshObjectFactory +() [0x00000] + at Spring.Context.Support.AbstractApplicationContext.Refresh () +[0x00000] + at Spring.Context.Support.XmlApplicationContext..ctor (System.String +name, Boolean caseSensitive, IApplicationContext +parentContext, System.String[] configurationLocations) [0x00000] + at Spring.Context.Support.XmlApplicationContext..ctor (System.String +name, Boolean caseSensitive, System.String[] conf +igurationLocations) [0x00000] + at <0x00000> <unknown method> + at (wrapper managed-to-native) +System.Reflection.MonoCMethod:InternalInvoke (object,object[]) + at System.Reflection.MonoCMethod.Invoke (System.Object obj, +BindingFlags invokeAttr, System.Reflection.Binder binder, +System.Object[] parameters, System.Globalization.CultureInfo culture) +[0x00040] in C:\cygwin\tmp\scratch\mono-1.2.4\mcs\ +class\corlib\System.Reflection\MonoMethod.cs:381 --- End of inner +exception stack trace --- + + at System.Reflection.MonoCMethod.Invoke (System.Object obj, +BindingFlags invokeAttr, System.Reflection.Binder binder, +System.Object[] parameters, System.Globalization.CultureInfo culture) +[0x00065] in C:\cygwin\tmp\scratch\mono-1.2.4\mcs\ +class\corlib\System.Reflection\MonoMethod.cs:387 + at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, +System.Reflection.Binder binder, System.Object[] par +ameters, System.Globalization.CultureInfo culture) [0x00000] in +C:\cygwin\tmp\scratch\mono-1.2.4\mcs\class\corlib\System +.Reflection\MonoMethod.cs:392 + at System.Reflection.ConstructorInfo.Invoke (System.Object[] +parameters) [0x0000f] in C:\cygwin\tmp\scratch\mono-1.2.4 +\mcs\class\corlib\System.Reflection\ConstructorInfo.cs:77 + at Spring.Objects.ObjectUtils.InstantiateType +(System.Reflection.ConstructorInfo constructor, System.Object[] argument +s) [0x00000] --- End of inner exception stack trace --- + + at Spring.Objects.ObjectUtils.InstantiateType +(System.Reflection.ConstructorInfo constructor, System.Object[] argument +s) [0x00000] + at +Spring.Context.Support.ContextHandler+RootContextInstantiator.InvokeContextConstructor +(System.Reflection.Construct +orInfo ctor) [0x00000] + at +Spring.Context.Support.ContextHandler+ContextInstantiator.InstantiateContext +() [0x00000] --- End of inner exceptio +n stack trace --- + + at +Spring.Context.Support.ContextHandler+ContextInstantiator.InstantiateContext +() [0x00000] + at Spring.Context.Support.ContextHandler.InstantiateContext +(IApplicationContext parentContext, System.Object configCo +ntext, System.String contextName, System.Type contextType, Boolean +caseSensitive, System.String[] resources) [0x00000] + at Spring.Context.Support.ContextHandler.Create (System.Object +parent, System.Object configContext, System.Xml.XmlNode + section) [0x00000] _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
