Re: invalid xml doesn't throw error

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Turns out it's my debugging skills that was the problem! This is also
the first time I'm doing a console application, and as I'm writing out
the below it stops there and doesn't go into the catch block:

while (validator.Read())
{
Console.WriteLine("test");
Console.ReadLine();
}

If I remove this it throws an error when expected (I broke it by
removing > from one of the tags as well as making one of the elements
into an int rather than a string, will provide examples next time I
ask something).

Thanks for taking the time to look at this, sorry it was only me being
silly!

AK
.



Relevant Pages

  • Re: How did you learn your debugging skills?
    ... > I'm writing my quarterly column for Software Test & Performance ... mistakes are generally far between. ... how did you learn the debugging skills you ...
    (comp.programming)
  • Re: Mosley doesnt believe Dennis in spy case
    ... the doubtful date on the page, and then fetched up with a bump against the ... For the first time the magnitude of what he had ... The actual writing would ...
    (uk.media.radio.archers)
  • Re: Changing methods of writing
    ... of this novel wants to be written *this* way while that novel insists on ... myseIf on the necessity of self discipline, re read it and reduced my ... first time again.That only happens these days when the story writes ... I would perhaps go back to writing long hand if I found I'd lost my ...
    (rec.arts.sf.composition)
  • Re: i matter genetic tonnes, do you translate them
    ... the beautiful creamy paper deserved to be written on with a real nib ... For whom, it suddenly occurred to him to wonder, was he writing this ... His mind hovered for a moment round ... For the first time the magnitude of what he had ...
    (sci.crypt)
  • Re: Technical Question
    ... first time authors to get advice on writing. ... She lists several, MWA, ...
    (rec.arts.mystery)