The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

tomten (19) [Avatar] Offline
#1
In the p16 (meapch13) listing called "loading data from an XML file, querying it and displaying the results", the type XDocument is referenced for the first time, but without any mention as to what it is. For someone who's new to LINQ, perhaps it will be thunk that this is an "XmlDocument" typo or a mock type, or just wondered to what it's referring. Since the next reference to XDocument is hundreds of pages ahead, perhaps it should be mentioned in passing that it's a type that's real and new to the LINQ to XML stuff in the BCL?
jon.skeet (483) [Avatar] Offline
#2
Re: "XDocument" (p16, meapch13)
I'll have a look. The point of chapter 1 is very much that everything is skimmed rather than detailed - I'd have to find some way of bringing it in without it intruding on that.

In some ways, it doesn't really matter if readers think it's a typo: it won't really *matter* in the book until it's later mentioned hundreds of pages later, and the overall impression of LINQ itself remains the same.

As I say, I will have a look at it though and see if there's anything I can do easily.

Jon