<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_external_libxml2/result/HTML/entities2.html, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_libxml2/'/>
<entry>
<title>Keep non-significant blanks node in HTML parser</title>
<updated>2012-09-07T11:32:12+00:00</updated>
<author>
<name>Daniel Veillard</name>
<email>veillard@redhat.com</email>
</author>
<published>2012-09-07T11:32:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_libxml2/commit/?id=f933c898132f20a50ba39ac6116378b71a01c700'/>
<id>f933c898132f20a50ba39ac6116378b71a01c700</id>
<content type='text'>
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:

&lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;This is a test.&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;p&gt;This is a test.&lt;/p&gt;
  &lt;/body&gt;
&lt;/html&gt;

is read as:

&lt;html&gt;&lt;head&gt;&lt;title&gt;This is a test.&lt;/title&gt;&lt;/head&gt;&lt;body&gt;
    &lt;p&gt;This is a test.&lt;/p&gt;
  &lt;/body&gt;&lt;/html&gt;

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 &lt;igor_ignatiouk@hotmail.com&gt;

* 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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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:

&lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;This is a test.&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;p&gt;This is a test.&lt;/p&gt;
  &lt;/body&gt;
&lt;/html&gt;

is read as:

&lt;html&gt;&lt;head&gt;&lt;title&gt;This is a test.&lt;/title&gt;&lt;/head&gt;&lt;body&gt;
    &lt;p&gt;This is a test.&lt;/p&gt;
  &lt;/body&gt;&lt;/html&gt;

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 &lt;igor_ignatiouk@hotmail.com&gt;

* 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
</pre>
</div>
</content>
</entry>
<entry>
<title>fixing HTML entities in attributes parsing bug #362552 added to the</title>
<updated>2006-10-17T15:56:35+00:00</updated>
<author>
<name>Daniel Veillard</name>
<email>veillard@src.gnome.org</email>
</author>
<published>2006-10-17T15:56:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_libxml2/commit/?id=48519092e5576516cfadc36c789bfeea2c492ee3'/>
<id>48519092e5576516cfadc36c789bfeea2c492ee3</id>
<content type='text'>
* HTMLparser.c: fixing HTML entities in attributes parsing bug #362552
* result/HTML/entities2.html* test/HTML/entities2.html: added to
  the regression suite
Daniel
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* HTMLparser.c: fixing HTML entities in attributes parsing bug #362552
* result/HTML/entities2.html* test/HTML/entities2.html: added to
  the regression suite
Daniel
</pre>
</div>
</content>
</entry>
</feed>
