Search
Anyone can upload a patch. Patches are evaluated by project team members and either Applied or Declined.
ID Uploaded Status Description Work Items Action
11398
by muchio7
Feb 2 at
6:42 PM
Being evaluated Added Save overload which allows the saving of a HtmlDocument as a string to use if you want the output of the HtmlDocument as a string instead of writing to a string.

Would be great if this was added to HAP so I don't have to add it again to my code every time the project is updated.
10716
Oct 31 2011 at
7:36 PM
Being evaluated Solution files for .net 4.5 ctp.
I already use .net 4.5 for prototyping some aps and .net version is necessary for me.

Just add files in their folders from the archive
10672
Oct 24 2011 at
6:45 PM
Being evaluated Hi,

I'd like contribute to Html Agility Pack by providing an option for the end user to select HtmlNodes based on jQuery method syntax.

As a part of it I've created an extension method called Select for HtmlDocument, so that the end user can easily select the nodes using the jQuery syntax like htmlDocument.Select("#id, .class, div");

Attached patch consist of a solution called HtmlAgilityContrib in the branches. This new feature has been created using TDD.

Currently it supports basic selectors like id, tagName, className and multiple selectors. I've been currently working on Attribute based on selection and will update that also once i've done.

Also, I've found that there is less support for HTML 5 in Html Agility Pack (Correct me if i am wrong), If I get a chance, hope i would give my best efforts towards it.

Looking forward to add some more attractive features to Html Agility Pack. You can find more about me in my blog "http://sweettam.blogspot.com"

Regards,
Tamizhvendan
10559
Oct 10 2011 at
10:40 PM
Being evaluated The HtmlDocument does not correctly flush the StreamWriter when writing to a stream. This patch fixes that.

public void Save(TextWriter writer)
{
if (writer == null)
{
throw new ArgumentNullException("writer");
}
DocumentNode.WriteTo(writer);
writer.Flush();
}
10362
by coza99
Sep 7 2011 at
4:26 PM
Being evaluated This fixes issue 28232, I have included a passing test. Option tags where assumed to be empty however they should really have the flags Empy | Closed as <option value=12>10.00</option> is entirely possible. 28232
9976
Jul 21 2011 at
7:22 AM
Being evaluated FIX: The Navigator.Name returned the element name even if it was positioned on one of its attributes. It is suppposed to return the attribute name (complete with namespace prefix, if any). Unit test included.
9940
by emn13
Jul 15 2011 at
10:04 AM
Being evaluated Fixes optional end tag support and the XPathNavigator Implementation.

In more detail, auto-closes elements with an optional end tag as per the spec, so e.g. "<dd>text<dt>more text" is parsed as "<dd>text</dd><dt>more text</dt>" instead of <dd></dd>text<dt></dt>more text"

Additionally, the HtmlNavigator implementation no longer crashes on documents with xml namespaces; instead these are stripped (not ideal, but HAP doesn't support namespaces, and adding support would be more complex - for HTML this generally works).

Finally HtmlNavigator avoids double-encoding entitites, by decoding entities before including them in XPathNavigator's tree representation.
9846
Jun 30 2011 at
11:59 AM
Being evaluated I have changed the Framework 2.0 to Framework 4.0 and compiled using Vs2010.
9238
by Idsa
Apr 23 2011 at
11:48 PM
Being evaluated I have added some improvements(?) to HtmlAgilityPack V2 (experimental branch):
1. Assembly culture info fix
2. SelectSingleNode semantics fix
3. Added SelectSingleNodeOfDefault, SelectFirstNode, SelectFirstNodeOrDefault methods
4. Implemented workaround for a bug that xpath queries are always run from document root (I guess a better solution should be applied here...)
9213
by Xennan
Apr 20 2011 at
9:28 AM
Being evaluated This repairs a bug that the TextStream not is flushed when writing a HtmlNodeType.Document as OptionOutputXML. The resulting XML file is incomplete, it is missing the end tags.
The solution is an extra outText.Flus() (actually two, for each break statement).
The uploaded fix corrects this.

The changed code is in the method
public void WriteTo(TextWriter outText)

Show 10  25  50 Patches
1-10 of 34 Patches < Previous 1 2 3 4 Next >
View All
Updating...
© 2006-2012 Microsoft | Get Help | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2012.2.7.18398