<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_external_libxml2/result/HTML/script2.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>Applied the last patch from Gary Coady for #304637 changing the behaviour</title>
<updated>2005-09-01T09:52:30+00:00</updated>
<author>
<name>Daniel Veillard</name>
<email>veillard@src.gnome.org</email>
</author>
<published>2005-09-01T09:52:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_libxml2/commit/?id=36d73403ff4b50c19971c48f920cc8648051cc8c'/>
<id>36d73403ff4b50c19971c48f920cc8648051cc8c</id>
<content type='text'>
* HTMLparser.c: Applied the last patch from Gary Coady for #304637
  changing the behaviour when text nodes are found in body
* result/HTML/*: this changes the output of some tests
Daniel
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* HTMLparser.c: Applied the last patch from Gary Coady for #304637
  changing the behaviour when text nodes are found in body
* result/HTML/*: this changes the output of some tests
Daniel
</pre>
</div>
</content>
</entry>
<entry>
<title>fixed bug #310333 with a patch close to the provided patch for HTML UTF-8</title>
<updated>2005-08-08T13:46:45+00:00</updated>
<author>
<name>Daniel Veillard</name>
<email>veillard@src.gnome.org</email>
</author>
<published>2005-08-08T13:46:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_libxml2/commit/?id=b8c801604427441004dd77eaed275b2b952f1fe4'/>
<id>b8c801604427441004dd77eaed275b2b952f1fe4</id>
<content type='text'>
* HTMLtree.c: fixed bug #310333 with a patch close to the provided
  patch for HTML UTF-8 serialization
* result/HTML/script2.html: this changed the output of that test
Daniel
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* HTMLtree.c: fixed bug #310333 with a patch close to the provided
  patch for HTML UTF-8 serialization
* result/HTML/script2.html: this changed the output of that test
Daniel
</pre>
</div>
</content>
</entry>
<entry>
<title>applied UTF-8 script parsing bug #310229 fix from Jiri Netolicky added the</title>
<updated>2005-07-13T16:37:38+00:00</updated>
<author>
<name>Daniel Veillard</name>
<email>veillard@src.gnome.org</email>
</author>
<published>2005-07-13T16:37:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_libxml2/commit/?id=358fef4b1e6721fc9fb6c48a25fbac85cd222d34'/>
<id>358fef4b1e6721fc9fb6c48a25fbac85cd222d34</id>
<content type='text'>
* HTMLparser.c: applied UTF-8 script parsing bug #310229 fix from
  Jiri Netolicky
* result/HTML/script2.html* test/HTML/script2.html: added the test
  case from the regression suite
Daniel
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* HTMLparser.c: applied UTF-8 script parsing bug #310229 fix from
  Jiri Netolicky
* result/HTML/script2.html* test/HTML/script2.html: added the test
  case from the regression suite
Daniel
</pre>
</div>
</content>
</entry>
</feed>
