<html>
<body>
Hi Atsushi.<br>
I have found that someone already has reported this as a bug<br><br>
<a href="http://bugzilla.ximian.com/show_bug.cgi?id=69652" eudora="autourl">
http://bugzilla.ximian.com/show_bug.cgi?id=69652</a><br><br>
<br>
Speaking of the workouround you suggest: I cant' do that beacuse I
receive the dataset from a web service and the exception raise during the
deserialization process.<br><br>
Here is the stack trace:<br><br>
Parameter name: name <br>
2006-04-01 21:21:40,245 [1200]
DocProviderWS.Sources.ImplementazioneDocProviderWS.getVerbatims(:0)
DocProviderWS.Sources.ImplementazioneDocProviderWS.getVerbatims(:0)
[DEBUG{NDC}] - in &lt;0x000fb&gt; System.Globalization.CultureInfo:.ctor
(System.String name, Boolean use_user_override)<br>
in &lt;0x0000f&gt; System.Globalization.CultureInfo:.ctor (System.String
name)<br>
in &lt;0x00119&gt;
System.Data.XmlSchemaDataImporter:ProcessDataSetElement
(System.Xml.Schema.XmlSchemaElement el)<br>
in &lt;0x000be&gt; System.Data.XmlSchemaDataImporter:ProcessGlobalElement
(System.Xml.Schema.XmlSchemaElement el)<br>
in &lt;0x00462&gt; System.Data.XmlSchemaDataImporter:Process ()<br>
in &lt;0x00027&gt; System.Data.DataSet:ReadXmlSchema
(System.Xml.XmlReader reader)<br>
in &lt;0x00576&gt; System.Data.DataSet:ReadXml (System.Xml.XmlReader
reader, XmlReadMode mode)<br>
in &lt;0x0000f&gt; System.Data.DataSet:ReadXmlSerializable
(System.Xml.XmlReader reader)<br>
in &lt;0x00011&gt;
System.Data.DataSet:System.Xml.Serialization.IXmlSerializable.ReadXml
(System.Xml.XmlReader reader)<br>
in &lt;0x00046&gt;
System.Xml.Serialization.XmlSerializationReader:ReadSerializable
(IXmlSerializable serializable)<br>
in &lt;0x00193&gt;
System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadObjectElement
(System.Xml.Serialization.XmlTypeMapElementInfo elem)<br>
in &lt;0x01e04&gt;
System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadMembers
(System.Xml.Serialization.ClassMap map, System.Object ob, Boolean
isValueList, Boolean readByOrder)<br>
in &lt;0x0003c&gt;
System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadClassInstanceMembers
(System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob)<br>
in &lt;0x00194&gt;
System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadClassInstance
(System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable,
Boolean checkType)<br>
in &lt;0x0005f&gt;
System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadObject
(System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable,
Boolean checkType)<br>
in &lt;0x000e1&gt;
System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadObjectElement
(System.Xml.Serialization.XmlTypeMapElementInfo elem)<br>
in &lt;0x01e04&gt;
System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadMembers
(System.Xml.Serialization.ClassMap map, System.Object ob, Boolean
isValueList, Boolean readByOrder)<br>
in &lt;0x001d4&gt;
System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadMessage
(System.Xml.Serialization.XmlMembersMapping typeMap)<br>
in &lt;0x000c6&gt;
System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadRoot
()<br>
in &lt;0x0005d&gt; System.Xml.Serialization.XmlSerializer:Deserialize
(System.Xml.Serialization.XmlSerializationReader reader)<br>
in &lt;0x00040&gt; System.Xml.Serialization.XmlSerializer:Deserialize
(System.Xml.XmlReader xmlReader)<br>
in &lt;0x000d9&gt;
System.Web.Services.Protocols.WebServiceHelper:ReadSoapMessage
(System.Xml.XmlTextReader xmlReader,
System.Xml.Serialization.XmlSerializer bodySerializer,
System.Xml.Serialization.XmlSerializer headerSerializer, System.Object
body, System.Web.Services.Protocols.SoapHeaderCollection headers)<br>
in &lt;0x0003e&gt;
System.Web.Services.Protocols.WebServiceHelper:ReadSoapMessage
(System.Xml.XmlTextReader xmlReader,
System.Web.Services.Protocols.SoapMethodStubInfo method,
SoapHeaderDirection dir, System.Object body,
System.Web.Services.Protocols.SoapHeaderCollection headers)<br>
in &lt;0x002bd&gt;
System.Web.Services.Protocols.SoapHttpClientProtocol:ReceiveResponse
(System.Net.WebResponse response,
System.Web.Services.Protocols.SoapClientMessage message,
System.Web.Services.Protocols.SoapExtension[] extensions)<br>
in &lt;0x0024f&gt;
System.Web.Services.Protocols.SoapHttpClientProtocol:Invoke
(System.String method_name, System.Object[] parameters)<br>
in &lt;0x0005e&gt; DocProviderWS.wssurveydata.SurveyData:GetData
(System.String key, DocProviderWS.wssurveydata.TransferDefBase
transferDef, DocProviderWS.wssurveydata.ResponseToken token)<br>
in (wrapper remoting-invoke-with-check)
DocProviderWS.wssurveydata.SurveyData:GetData
(string,DocProviderWS.wssurveydata.TransferDefBase,DocProviderWS.wssurveydata.ResponseToken)<br>
in &lt;0x001f1&gt;
DocProviderWS.Sources.ImplementazioneDocProviderWS:getVerbatims
(DocProviderWS.Sources.Identificatorequestionario idquestionario,
DocProviderWS.Sources.DomandaTestoLibero domanda,
DocProviderWS.Sources.ParametriQuery parametri) <br><br>
<br>
At 14.40 28/03/2006, Atsushi Eno wrote:<br><br>
<blockquote type=cite class=cite cite="">Hi,<br><br>
But I'll add support for nb-NO culture to the runtime.<br><br>
For your question, the answer would be &quot;yes&quot; - to workaround
this<br>
problem with current mono, try<br><br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>
yourDataSet.Locale = CultureInfo.InvariantCulture;<br><br>
Atsushi Eno<br><br>
Ivano Luberti wrote:<br>
<blockquote type=cite class=cite cite="">I'm developing a web service
client that connect to a server that returns a DataSet in which the
CulureInfo name is nb-NO.<br>
Mono raises an excpetion because this name is not supported.<br>
There is a way, without modifying and re-compiling to make mono runtime
ignore CulturInfo name or to use a default ?</blockquote><br><br>
<br><br>
-- <br>
No virus found in this incoming message.<br>
Checked by AVG Anti-Virus.<br>
Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date:
27/03/2006<br>
</blockquote>
<x-sigsep><p></x-sigsep>
================================================== <br>
Archimede Informatica NEWS! <br>
==================================================<br><br>
Realizzato il Sistema Integrato per la biglietteria della Torre di Pisa:
<br>
prenotazione, vendita, pre-vendita ed emissione dei biglietti di ingresso
<br>
alla Torre sia online che presso le biglietterie dislocate sulla
piazza:<br><br>
<font color="#0000FF"><u>
<a href="http://www.opapisa.it/boxoffice" eudora="autourl">
http://www.opapisa.it/boxoffice<br><br>
</a></u></font><font size=4>Partner del Progetto Ci-Tel &quot;Front
office Telematico per il cittadino&quot; <br>
Ente Coordinatore Comune di Pisa<br><br>
</font><font color="#0000FF"><u>
<a href="http://www.comune.pisa.it/doc/e-government.htm" eudora="autourl">
http://www.comune.pisa.it/doc/e-government.htm<br><br>
<br>
</a></u></font>==================================================<br>
dott. Ivano Mario Luberti<br>
Archimede Informatica societa' cooperativa a r. l.<br>
Sede Operativa<br>
Via Gereschi 36 - 56126- Pisa<br>
tel.: +39-050- 580959<br>
tel/fax: +39-050-9711344 <br>
e-mail: archimede@archicoop.it <br>
web:
<a href="http://www.archicoop.it/" eudora="autourl"><font color="#0000FF">
<u>http://www.archicoop.it<br><br>
<br>
</a></font></u></body>
</html>