is there any bug in handling <form> node?

Topics: Developer Forum
Jan 27, 2010 at 7:11 AM

I wanna traverse the  whole DOM tree to get a preorder tags string, but when meet the <form> tag, it's OuterHtml is "<form>", not "<form>...</form>"

could anyone help me?  Thanks!

Jan 28, 2010 at 9:23 PM

Can you post the html sample of what you were trying to parse?

 

 

Jan 29, 2010 at 2:07 AM
I have fixed it by removing "ElementsFlags.Add("form", HtmlElementFlag.CanOverlap | HtmlElementFlag.Empty);" from HtmlNode.cs
Thanks a lot.

2010/1/29 kurtnelle <notifications@codeplex.com>

From: kurtnelle

Can you post the html sample of what you were trying to parse?

 

 

Read the full discussion online.

To add a post to this discussion, reply to this email (htmlagilitypack@discussions.codeplex.com)

To start a new discussion for this project, email htmlagilitypack@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on CodePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at CodePlex.com