Click here to Skip to main content
11,494,943 members (61,189 online)

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy except programming questions.

Technical discussions are encouraged, but click here to ask your programming question.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.
 
GeneralRe: Killer One Liner.. Pin
OriginalGriff2-May-13 10:13
mvpOriginalGriff2-May-13 10:13 
GeneralRe: Killer One Liner.. Pin
jeron12-May-13 10:32
memberjeron12-May-13 10:32 
GeneralRe: Killer One Liner.. Pin
Forogar2-May-13 14:12
memberForogar2-May-13 14:12 
GeneralRe: Killer One Liner.. Pin
Abhijeet Mohan2-May-13 10:21
memberAbhijeet Mohan2-May-13 10:21 
GeneralRe: Killer One Liner.. Pin
kmg3652-May-13 10:49
memberkmg3652-May-13 10:49 
GeneralRe: Killer One Liner.. Pin
_Maxxx_2-May-13 16:24
member_Maxxx_2-May-13 16:24 
GeneralRe: Killer One Liner.. Pin
BillWoodruff3-May-13 2:37
memberBillWoodruff3-May-13 2:37 
GeneralYahoos newest HR policies Pin
Dan Neely2-May-13 9:25
memberDan Neely2-May-13 9:25 
GeneralRe: Yahoos newest HR policies Pin
Albert Holguin2-May-13 9:58
memberAlbert Holguin2-May-13 9:58 
JokeDo you know Akpors? Pin
Oso Oluwafemi Ebenezer2-May-13 9:05
memberOso Oluwafemi Ebenezer2-May-13 9:05 
GeneralRe: Do you know Akpors? Pin
jeron12-May-13 9:07
memberjeron12-May-13 9:07 
GeneralRe: Do you know Akpors? Pin
Keith Barrow2-May-13 12:41
mentorKeith Barrow2-May-13 12:41 
GeneralRe: Do you know Akpors? Pin
BobJanova3-May-13 0:30
memberBobJanova3-May-13 0:30 
RantAnother open source rant Pin
Marc Clifton2-May-13 8:22
protectorMarc Clifton2-May-13 8:22 
This time, my sights are on HtmlAgilityPack[^].

Besides the fact that there is no documentation and the one example provided has an absurd quote-placement error, so obviously the code was never tested, there's this:

/// <summary>
/// Selects a list of nodes matching the <see cref="XPath"/> expression.
/// </summary>
/// <param name="xpath">The XPath expression.</param>
/// <returns>An <see cref="HtmlNodeCollection"/> containing a collection of nodes matching the <see cref="XPath"/> query, or <c>null</c> if no node matched the XPath expression.</returns>
public HtmlNodeCollection SelectNodes(string xpath)

What? You return a null if no matches are found???

Which of course would blow up their "example" if no "href" tags exist:

HtmlDocument doc = new HtmlDocument();
 doc.Load("file.htm");
 foreach(HtmlNode link in doc.DocumentElement.SelectNodes("//a[@href"])
 {

Why is it that the quality of what "we" as supposed professionals produce is so obviously bad?

On a positive note, someone did put together a HAPExplorer (albeit in WPF, why???) that at least provides some working examples, and lo-and-behold, it does compile (after I nuked the test project with an NUnit dependency), but on a bad note, the latest source download complained about a missing .cs file, so the test stuff doesn't build anyways. Sigh | :sigh:

Marc

GeneralRe: Another open source rant Pin
CDP18022-May-13 8:30
memberCDP18022-May-13 8:30 
GeneralRe: Another open source rant Pin
AspDotNetDev2-May-13 8:33
protectorAspDotNetDev2-May-13 8:33 
GeneralRe: Another open source rant Pin
Joe Simes2-May-13 8:52
memberJoe Simes2-May-13 8:52 
GeneralRe: Another open source rant Pin
SoMad2-May-13 9:04
professionalSoMad2-May-13 9:04 
GeneralRe: Another open source rant Pin
Albert Holguin2-May-13 9:38
memberAlbert Holguin2-May-13 9:38 
GeneralRe: Another open source rant Pin
Eddy Vluggen2-May-13 12:27
mvpEddy Vluggen2-May-13 12:27 
GeneralRe: Another open source rant Pin
JimBob SquarePants3-May-13 0:27
memberJimBob SquarePants3-May-13 0:27 
GeneralRe: Another open source rant Pin
Herbie Mountjoy3-May-13 2:36
memberHerbie Mountjoy3-May-13 2:36 
GeneralRe: Another open source rant Pin
KP Lee3-May-13 12:13
memberKP Lee3-May-13 12:13 
GeneralRe: Another open source rant Pin
wizardzz2-May-13 9:15
memberwizardzz2-May-13 9:15 
GeneralRe: Another open source rant Pin
Marc Clifton2-May-13 9:38
protectorMarc Clifton2-May-13 9:38 
GeneralRe: Another open source rant Pin
wizardzz3-May-13 5:52
memberwizardzz3-May-13 5:52 
GeneralRe: Another open source rant Pin
Marc Clifton3-May-13 7:16
protectorMarc Clifton3-May-13 7:16 
GeneralRe: Another open source rant Pin
wizardzz3-May-13 7:25
memberwizardzz3-May-13 7:25 
GeneralRe: Another open source rant Pin
wizardzz31-May-13 11:00
memberwizardzz31-May-13 11:00 
GeneralRe: Another open source rant Pin
Marc Clifton3-Jun-13 3:02
protectorMarc Clifton3-Jun-13 3:02 
GeneralRe: Another open source rant Pin
Lloyd Atkinson2-May-13 9:16
memberLloyd Atkinson2-May-13 9:16 
GeneralRe: Another open source rant Pin
Chris Losinger2-May-13 9:19
memberChris Losinger2-May-13 9:19 
GeneralRe: Another open source rant Pin
Lloyd Atkinson2-May-13 9:19
memberLloyd Atkinson2-May-13 9:19 
GeneralRe: Another open source rant Pin
Albert Holguin2-May-13 9:41
memberAlbert Holguin2-May-13 9:41 
GeneralRe: Another open source rant Pin
Lloyd Atkinson2-May-13 9:48
memberLloyd Atkinson2-May-13 9:48 
GeneralRe: Another open source rant Pin
Albert Holguin2-May-13 9:56
memberAlbert Holguin2-May-13 9:56 
GeneralRe: Another open source rant Pin
jibalt3-May-13 10:22
memberjibalt3-May-13 10:22 
GeneralRe: Another open source rant Pin
Lloyd Atkinson3-May-13 10:57
memberLloyd Atkinson3-May-13 10:57 
GeneralRe: Another open source rant Pin
Marc Clifton2-May-13 9:47
protectorMarc Clifton2-May-13 9:47 
GeneralRe: Another open source rant Pin
Stuart Dootson3-May-13 4:22
memberStuart Dootson3-May-13 4:22 
GeneralRe: Another open source rant Pin
Ennis Ray Lynch, Jr.2-May-13 9:38
memberEnnis Ray Lynch, Jr.2-May-13 9:38 
GeneralRe: Another open source rant Pin
Marc Clifton2-May-13 9:43
protectorMarc Clifton2-May-13 9:43 
GeneralRe: Another open source rant Pin
descenterace3-May-13 1:23
memberdescenterace3-May-13 1:23 
GeneralRe: Another open source rant Pin
Albert Holguin2-May-13 9:44
memberAlbert Holguin2-May-13 9:44 
GeneralRe: Another open source rant Pin
Maximilien2-May-13 9:42
memberMaximilien2-May-13 9:42 
GeneralRe: Another open source rant Pin
Albert Holguin2-May-13 9:46
memberAlbert Holguin2-May-13 9:46 
GeneralRe: Another open source rant Pin
Maximilien2-May-13 10:02
memberMaximilien2-May-13 10:02 
GeneralRe: Another open source rant Pin
Albert Holguin2-May-13 10:05
memberAlbert Holguin2-May-13 10:05 
GeneralRe: Another open source rant Pin
Pete O'Hanlon2-May-13 10:15
protectorPete O'Hanlon2-May-13 10:15 
GeneralRe: Another open source rant Pin
Ranjan.D2-May-13 11:43
professionalRanjan.D2-May-13 11:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.150520.1 | Last Updated 29 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid