<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=HTML_Page2</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/16570" />
      <rdf:li rdf:resource="http://pear.php.net/bug/12769" />
      <rdf:li rdf:resource="http://pear.php.net/bug/3204" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/16570">
      <title>HTML_Page2: Bug 16570 [Verified] Doctype System Identifier should be 'w3' not 'w3c'.</title>
      <link>http://pear.php.net/bugs/16570</link>
      <content:encoded><![CDATA[<pre>HTML_Page2 Bug
Reported by samwilson
2009-09-05T02:36:04+00:00
PHP: Irrelevant OS: Any Package Version: 0.6.0beta

Description:
------------
From the W3 Validator:

&quot;This document uses an inconsistent DOCTYPE declaration. The Public Identifier -//W3C//DTD XHTML 1.0 Strict//EN declares the XHTML 1.0 Strict document type, but the associated System Identifier http://www.w3c.org/TR/xhtml1/DTD/xhtml1-strict.dtd does not match this document type.

&quot;The recommended System Identifier for XHTML 1.0 Strict is http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd.&quot;

That is to say, it should read 'w3' and not 'w3c'.

Thank you!

Test script:
---------------
&lt;?php
$page = new HTML_Page2();
$page-&gt;display();
?&gt;

Expected result:
----------------
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;!DOCTYPE html
    PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;
    &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot;&gt;
	&lt;head&gt;
		&lt;meta name=&quot;Generator&quot; content=&quot;PEAR HTML_Page&quot; /&gt;
		&lt;title&gt;New XHTML 1.0 Transitional Compliant Page&lt;/title&gt;
	&lt;/head&gt;
	&lt;body&gt;
	&lt;/body&gt;

&lt;/html&gt;

Actual result:
--------------
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;!DOCTYPE html
    PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;
    &quot;http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot;&gt;
	&lt;head&gt;
		&lt;meta name=&quot;Generator&quot; content=&quot;PEAR HTML_Page&quot; /&gt;
		&lt;title&gt;New XHTML 1.0 Transitional Compliant Page&lt;/title&gt;
	&lt;/head&gt;
	&lt;body&gt;
	&lt;/body&gt;

&lt;/html&gt;</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTML_Page2 Bug
Reported by samwilson
2009-09-05T02:36:04+00:00
PHP: Irrelevant OS: Any Package Version: 0.6.0beta

Description:
------------
From the W3 Validator:

&quot;This document uses an inconsistent DOCTYPE declaration. The Public Identifier -//W3C//DTD XHTML 1.0 Strict//EN declares the XHTML 1.0 Strict document type, but the associated System Identifier http://www.w3c.org/TR/xhtml1/DTD/xhtml1-strict.dtd does not match this document type.

&quot;The recommended System Identifier for XHTML 1.0 Strict is http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd.&quot;

That is to say, it should read 'w3' and not 'w3c'.

Thank you!

Test script:
---------------
&lt;?php
$page = new HTML_Page2();
$page-&gt;display();
?&gt;

Expected result:
----------------
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;!DOCTYPE html
    PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;
    &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot;&gt;
	&lt;head&gt;
		&lt;meta name=&quot;Generator&quot; content=&quot;PEAR HTML_Page&quot; /&gt;
		&lt;title&gt;New XHTML 1.0 Transitional Compliant Page&lt;/title&gt;
	&lt;/head&gt;
	&lt;body&gt;
	&lt;/body&gt;

&lt;/html&gt;

Actual result:
--------------
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;!DOCTYPE html
    PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;
    &quot;http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot;&gt;
	&lt;head&gt;
		&lt;meta name=&quot;Generator&quot; content=&quot;PEAR HTML_Page&quot; /&gt;
		&lt;title&gt;New XHTML 1.0 Transitional Compliant Page&lt;/title&gt;
	&lt;/head&gt;
	&lt;body&gt;
	&lt;/body&gt;

&lt;/html&gt;</pre>]]></description>
      <dc:date>2009-09-14T14:04:29+00:00</dc:date>
      <dc:creator>sam &amp;#x61;&amp;#116; archives &amp;#x64;&amp;#111;&amp;#x74; org &amp;#x64;&amp;#111;&amp;#x74; au</dc:creator>
      <dc:subject>HTML_Page2 Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/12769">
      <title>HTML_Page2: Bug 12769 [Verified] Omit CDATA for inline styles containing @import-rule</title>
      <link>http://pear.php.net/bugs/12769</link>
      <content:encoded><![CDATA[<pre>HTML_Page2 Bug
Reported by immemosol
2007-12-24T03:50:56+00:00
PHP: Irrelevant OS:  Package Version: 

Description:
------------
Omit CDATA for inline styles containing @import-rule.

If CDATA is added before @import then the @import will not be parsed.


I have created a script, but it's not perfect yet.
People can start some other css-code after the @import-rule and with this script those further lines will not get &lt;![CDATA[ around them.

Test script:
---------------
/*  #Options I put in $options for new HTML_Page2()
$doctype       =  'XHTML 1.0 Strict';
$mimeEncoding  =  'application/xhtml+xml';
$prolog        =  TRUE;
*/
$page = new HTML_Page2($options);
$page-&gt;addStyleDeclaration('@import url(&quot;/css/real.css&quot;);');
echo $page-&gt;toHTML();

Expected result:
----------------
I expect this:
	&lt;style type=&quot;text/css&quot;&gt;
			&lt;![CDATA[
@import url(&quot;/css/real.css&quot;);
		]]&gt;
	&lt;/style&gt;

I now changed it to this:
	&lt;style type=&quot;text/css&quot;&gt;
@import url(&quot;/css/real.css&quot;);
	&lt;/style&gt;

It should probably be like this:
	&lt;style type=&quot;text/css&quot;&gt;
@import url(&quot;/css/real.css&quot;);
/*Maybe other @... rules as well?*/
		&lt;![CDATA[
html , body{margin:0;padding:0;}
/*And other css*/
		]]&gt;
	&lt;/style&gt;

Actual result:
--------------
	&lt;style type=&quot;text/css&quot;&gt;
			&lt;![CDATA[
@import url(&quot;/css/real.css&quot;);
		]]&gt;
	&lt;/style&gt;</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTML_Page2 Bug
Reported by immemosol
2007-12-24T03:50:56+00:00
PHP: Irrelevant OS:  Package Version: 

Description:
------------
Omit CDATA for inline styles containing @import-rule.

If CDATA is added before @import then the @import will not be parsed.


I have created a script, but it's not perfect yet.
People can start some other css-code after the @import-rule and with this script those further lines will not get &lt;![CDATA[ around them.

Test script:
---------------
/*  #Options I put in $options for new HTML_Page2()
$doctype       =  'XHTML 1.0 Strict';
$mimeEncoding  =  'application/xhtml+xml';
$prolog        =  TRUE;
*/
$page = new HTML_Page2($options);
$page-&gt;addStyleDeclaration('@import url(&quot;/css/real.css&quot;);');
echo $page-&gt;toHTML();

Expected result:
----------------
I expect this:
	&lt;style type=&quot;text/css&quot;&gt;
			&lt;![CDATA[
@import url(&quot;/css/real.css&quot;);
		]]&gt;
	&lt;/style&gt;

I now changed it to this:
	&lt;style type=&quot;text/css&quot;&gt;
@import url(&quot;/css/real.css&quot;);
	&lt;/style&gt;

It should probably be like this:
	&lt;style type=&quot;text/css&quot;&gt;
@import url(&quot;/css/real.css&quot;);
/*Maybe other @... rules as well?*/
		&lt;![CDATA[
html , body{margin:0;padding:0;}
/*And other css*/
		]]&gt;
	&lt;/style&gt;

Actual result:
--------------
	&lt;style type=&quot;text/css&quot;&gt;
			&lt;![CDATA[
@import url(&quot;/css/real.css&quot;);
		]]&gt;
	&lt;/style&gt;</pre>]]></description>
      <dc:date>2008-12-27T02:16:32+00:00</dc:date>
      <dc:creator>pear_dev &amp;#x61;&amp;#116; willfris &amp;#x64;&amp;#111;&amp;#x74; nl</dc:creator>
      <dc:subject>HTML_Page2 Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/3204">
      <title>HTML_Page2: Feature/Change Request 3204 [Assigned] Adding Raw entries to the Header</title>
      <link>http://pear.php.net/bugs/3204</link>
      <content:encoded><![CDATA[<pre>HTML_Page2 Feature/Change Request
Reported by david@...
2005-01-14T14:20:24+00:00
PHP: 4.3.10 OS: N/A Package Version: 

Description:
------------
Hi,
Can you extend Page2 - with a mechanism to allow the addition of raw entries within the HEAD tag?

I've modded my version thus:
$pageObject-&gt;_rawHeadString = 
&quot;&lt;!-- compliance patch for microsoft browsers --&gt;\n&quot;.
&quot;&lt;!--[if lt IE 7]&gt;\n&quot;.
&quot;&lt;script src='js/ie7-standard.js' type='text/javascript'&gt;\n&quot;.
&quot;&lt;/script&gt;\n&quot;.
&quot;&lt;![endif]--&gt;\n&quot;;</pre>]]></content:encoded>
      <description><![CDATA[<pre>HTML_Page2 Feature/Change Request
Reported by david@...
2005-01-14T14:20:24+00:00
PHP: 4.3.10 OS: N/A Package Version: 

Description:
------------
Hi,
Can you extend Page2 - with a mechanism to allow the addition of raw entries within the HEAD tag?

I've modded my version thus:
$pageObject-&gt;_rawHeadString = 
&quot;&lt;!-- compliance patch for microsoft browsers --&gt;\n&quot;.
&quot;&lt;!--[if lt IE 7]&gt;\n&quot;.
&quot;&lt;script src='js/ie7-standard.js' type='text/javascript'&gt;\n&quot;.
&quot;&lt;/script&gt;\n&quot;.
&quot;&lt;![endif]--&gt;\n&quot;;</pre>]]></description>
      <dc:date>2006-10-31T20:53:47+00:00</dc:date>
      <dc:creator>david &amp;#x61;&amp;#116; inspiredthinking &amp;#x64;&amp;#111;&amp;#x74; co &amp;#x64;&amp;#111;&amp;#x74; uk</dc:creator>
      <dc:subject>HTML_Page2 Feature/Change Request</dc:subject>
    </item>
</rdf:RDF>
