Re: problems with encoding for different locales
- From: "Aek" <aek.muldoon@xxxxxxxxx>
- Date: 4 Jul 2006 21:51:45 -0700
Martin Honnen wrote:
What kind of XML API do you use exactly? Which error do you get exactly?
We are using C# reflection to create objects from the XML. We are using
C# XML features.
Here is the exception being raised .
I am keen to understand what the differences are between these two
locales (and other Spanish locales).
I only get the exception below on certain Spanish locales.. some work,
some dont.
=============================================================
Nested Exception
Exception: System.Exception
Message: The class Rope could not be constructed from the XML.
Details:
* System.Reflection.TargetInvocationException: Index was out of
range. Must be non-negative and less than the size of the collection.
Parameter name: index
* System.Reflection.TargetInvocationException: Exception has been
thrown by the target of an invocation.
Source: Simulation
at Simulation.Session.CreateSimulation(SimulationFactory
simulationFactory)
Nested Exception
Exception: System.Reflection.TargetInvocationException
Message: Exception has been thrown by the target of an invocation.
Source: mscorlib
at
System.Reflection.RuntimeConstructorInfo.InternalInvoke(BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture,
Boolean isBinderDefault)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr,
Binder binder, Object[] args, CultureInfo culture, Object[]
activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags
bindingAttr, Binder binder, Object[] args, CultureInfo culture,
Object[] activationAttributes)
at System.Reflection.Assembly.CreateInstance(String typeName,
Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[]
args, CultureInfo culture, Object[] activationAttributes)
at Dynamics.BasicParts.BasicPartsManager.ConstructChild(String
nameSpace, XmlNode node)
Nested Exception
Exception: System.ArgumentOutOfRangeException
Message: Index was out of range. Must be non-negative and less than
the size of the collection.
Parameter name: index
Source: mscorlib
at System.Collections.ArrayList.get_Item(Int32 index)
at Dynamics.BasicParts.Rope.Reset()
at Dynamics.BasicParts.Rope..ctor(XmlNode xmlNode, TickableGroup
parent)
======================================================
Thanks for your reply,
Josh
.
- References:
- problems with encoding for different locales
- From: Joshua Stewart
- Re: problems with encoding for different locales
- From: Martin Honnen
- problems with encoding for different locales
- Prev by Date: Re: problems with encoding for different locales
- Next by Date: help! Error: The XML element is already in the current scope...
- Previous by thread: Re: problems with encoding for different locales
- Next by thread: Re: XmlResolver.Credentials
- Index(es):
Relevant Pages
|