M
Michelle Weber
Using the 1.1 Framework, when I have some odd, but not illegal characters in
a filename and use the DataSet.ReadXml() method I get the error "Illegal
characters in path."
For example if I do this:
string filename = @"d:\pathtowebsite\testfilename%3f.xml";
DataSet ds = new DataSet();
if (File.Exists(filename))
{
ds.ReadXml(filename);
}
It will throw the error "Illegal characters in path." on the ds.ReadXml()
line.
However if I do this:
string filename = @"d:\pathtowebsite\testfilename%3f.xml";
DataSet ds = new DataSet();
if (File.Exists(filename))
{
StreamReader sr = new StreamReader(filename);
ds.ReadXml(sr);
sr.Close();
}
It works just fine.
I think this is a bug. What is the appropriate way to report it?
Thanks,
--
Michelle Weber
(e-mail address removed)
Pliner Solutions, Inc
http://www.pliner.com
Tel: 215-658-1601
Fax: 215-658-1602
a filename and use the DataSet.ReadXml() method I get the error "Illegal
characters in path."
For example if I do this:
string filename = @"d:\pathtowebsite\testfilename%3f.xml";
DataSet ds = new DataSet();
if (File.Exists(filename))
{
ds.ReadXml(filename);
}
It will throw the error "Illegal characters in path." on the ds.ReadXml()
line.
However if I do this:
string filename = @"d:\pathtowebsite\testfilename%3f.xml";
DataSet ds = new DataSet();
if (File.Exists(filename))
{
StreamReader sr = new StreamReader(filename);
ds.ReadXml(sr);
sr.Close();
}
It works just fine.
I think this is a bug. What is the appropriate way to report it?
Thanks,
--
Michelle Weber
(e-mail address removed)
Pliner Solutions, Inc
http://www.pliner.com
Tel: 215-658-1601
Fax: 215-658-1602