* Eckhard Schwabe wrote in microsoft.public.dotnet.xml:[color=blue]
>I only found one post on Google where someone mentions the same problem
>with a DataSet:
>
>XmlDataReader in .Net 1.1 can not read XML files from a path which
>contains "%10" or "%3f".[/color]
To clarify, does the path include the string "%3f" or does it include
the string "?"? In case of the former you have to URL-escpae the path
before passing it here, System.Uri has methods for that. "%253f" would
be the right string in this case.
[color=blue]
>What really interests me is:
>- Why can't I find any info about this behaviour on MSDN? This would
>have saved us from shipping a product which falls over "%" in the filename.
>As our product is for chemists, the probability of choosing this
>character in a file or directory name is not so low as one might expect
>from "normal" usage: "EtOH60%10ml_method" beeing one example.[/color]
The documentation is rather clear that the arguments are URLs, not file
names. There is some overlap, but in cases like this the difference is
important.
[color=blue]
>- What is so special about "%10" or "%3f" ? Are there other
>"problematic" charater combinations?[/color]
These map to U+0010 and U+003F, a control character and the question
mark. RFC 3986 has the details.
--
Björn Höhrmann · mailto:bjoern@hoehrmann.de ·
http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 ·
http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 ·
http://www.websitedev.de/