Re: XmlReader and first char
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
- From: Jon Skeet [C# MVP] <skeet@xxxxxxxxx>
- Date: Wed, 13 Sep 2006 20:15:35 +0100
Steve B. <steve_beauge@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
<snip>
So my question is : why does the first \r\n make the XmlReader throw an
Exception ? I thought spaces are ignored (W3C specs).
Spaces are ignored (to some extent) in most of XML, but looking at the
specs I can't see anything in the definition of the prolog part of the
XML which allows whitespace before the XMLDecl part.
--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog:
http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
.
Relevant Pages
- Re: Resizing the Formatting Palette
... XML is a bit of a mess, but its heart is in the right ... <snip a bunch of stuff where we either agree or or long-term disagree> ... control that combined those two. ... > If they want floating layered graphics, use a publishing program that does ... (microsoft.public.mac.office.word) - Re: problem with XML DOM load command
... with invalid XML and I'm getting suspicious that something in a QFE ... has busted MSXML and its exception processing. ... © 2003 Microsoft Corporation. ... >> So this exception is on your main thread where you're doing the load. ... (microsoft.public.windowsce.embedded.vc) - XML Verarbeitung
... Ich möchte eine XML Datei in ein DataSet einlesen und in einem DataGrid ... An unhandled exception occurred during the execution of the ... Please review the stack trace for more information about ... (microsoft.public.de.german.entwickler.dotnet.csharp) - Re: writeXML(fullFilePath) DOESNT Write
... I also wonder if you get an exception on attempt to load saved file... ... > The following hardware and drivers are not supported in the Emulator: ... > File system drivers, which include file allocation table, compact ... XML into the dataset from the path noted in the code I've provided (using ... (microsoft.public.dotnet.framework.compactframework) - Client Error When Consuming Web Method
... write directly to the XMLDocument. ... (Originally the XML was passed as a string. ... Server was unable to read ... First, is this actually a server side exception, or will the proxy code ... (microsoft.public.dotnet.framework.webservices) |
|