Edit

kc3-lang/libxml2/result/HTML/doc2.htm

Branch :

  • Show log

    Commit

  • Author : Daniel Veillard
    Date : 2012-09-07 19:32:12
    Hash : f933c898
    Message : Keep non-significant blanks node in HTML parser For https://bugzilla.gnome.org/show_bug.cgi?id=681822 Regardless if the option HTML_PARSE_NOBLANKS is set or not, blank nodes are removed from a HTML document, for example: <html> <head> <title>This is a test.</title> </head> <body> <p>This is a test.</p> </body> </html> is read as: <html><head><title>This is a test.</title></head><body> <p>This is a test.</p> </body></html> This changes the default behaviour but the old behaviour is available as expected when using the parser flag HTML_PARSE_NOBLANKS Based on original patch from Igor Ignatyuk <igor_ignatiouk@hotmail.com> * HTMLparser.c: change various places in the parser where ignorable_space SAX callback was called without checking for the parser flag preference * xmllint.c: make sure we use the new flag even for HTML parsing * result/HTML/*: this modifies the output of a number of tests

  • result/HTML/doc2.htm
  • <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <!-- saved from url=(0016)http://intranet/ --><!-- BEGIN Naviscope Javascript --><html>
    <head>
    <title>Welcome to Copernic.com</title>
    <script language="javascript">
              NS_ActualOpen=window.open;
              function NS_NullWindow(){this.window;}
              function NS_NewOpen(url,nam,atr){return(new NS_NullWindow());}
              window.open=NS_NewOpen;
    </script>
    <!-- END Naviscope Javascript --><!-- saved from url=(0027)http://www.agents-tech.com/ -->
    <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
    <meta content="Copernic.com Inc. develops innovative agent technology solutions to efficiently access and manage the overwhelming quantity of information available on the Internet and intranets." name="DESCRIPTION">
    <meta content="agent,technology,intranet,extranet,management,filtering,ranking,solution,service,intelligent,intelligence,client,server,architecture,developer,development,information,telecommunication,announcement,press,product,profile,contact,multi-agent,meta-search,metasearch,multi-thread,mobile,wireless,shopping,robot,PCS,Copernic,engine,toolkit,CDK,EDK" name="KEYWORDS">
    <meta content="MSHTML 5.00.3103.1000" name="GENERATOR">
    </head>
    <frameset border="false" cols="172,*" frameborder="0" framespacing="0">
    <frame marginheight="0" marginwidth="0" name="left" noresize scrolling="no" src="doc2_files/side.htm" target="rtop">
    <frameset rows="43,*">
    <frame marginheight="0" marginwidth="0" name="rtop" noresize scrolling="no" src="doc2_files/top.htm" target="rbottom">
    <frame name="rbottom" noresize src="doc2_files/contents.htm" target="_top">
    </frameset>
    <noframes>
    
      <body bgcolor="#FFFFFF" text="#000000" link="#000080" vlink="#000080" alink="#000080" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
      <p>This page uses frames, but your browser doesn't support them.</p>
      </body>
      </noframes>
    </frameset>
    </html>