XMLDocument and NetworkStream (VB.NET 2005)

  • Thread starter Thread starter Sid Price
  • Start date Start date
Jon Skeet said:
2) You're not not rewinding your MemoryStream on the reading side. Use
theData.Position = 0
before passing it to theDoc.Load
Thank you for spotting that, when I correct that error the code works as
required.
BTW: the three strange bytes (EF BB EF) are indeed the BOM for UTF-8
encoding and they appear not be a problem.
Again Jon thank you for all your help,
Sid.
 
Back
Top