ID: 24044
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Closed
+Status: Bogus
Bug Type: DOM XML related
Operating System: Linux
PHP Version: 4.3.2
New Comment:
still not php bug..
Previous Comments:
------------------------------------------------------------------------
[2003-06-06 05:53:01] [EMAIL PROTECTED]
Moving bugreport to libXML - Closing
------------------------------------------------------------------------
[2003-06-06 00:50:17] [EMAIL PROTECTED]
libxml bug. Report it to them..
------------------------------------------------------------------------
[2003-06-05 11:56:49] [EMAIL PROTECTED]
Argls.. Wrong paste ;)
<!-- script statements, which may include CDATA sections -->
<!ELEMENT script (#PCDATA)>
<!ATTLIST script
id ID #IMPLIED
charset %Charset; #IMPLIED
type %ContentType; #REQUIRED
language CDATA #IMPLIED
src %URI; #IMPLIED
defer (defer) #IMPLIED
xml:space (preserve) #FIXED 'preserve'
>
------------------------------------------------------------------------
[2003-06-05 11:56:11] [EMAIL PROTECTED]
Just cross-checked with the DTD for XHTML 1.0 Trans:
<!-- style info, which may include CDATA sections -->
<!ELEMENT style (#PCDATA)>
<!ATTLIST style
%i18n;
id ID #IMPLIED
type %ContentType; #REQUIRED
media %MediaDesc; #IMPLIED
title %Text; #IMPLIED
xml:space (preserve) #FIXED 'preserve'
>
The <script> MAY have a CDATA but it's not required to. Thus the
automatic addtion is a bug. ( imho )
------------------------------------------------------------------------
[2003-06-05 11:29:08] [EMAIL PROTECTED]
Forgot to mention what is actually 'wrong' :>
The // in the script block gets wrapped - <![CDATA[//]]> - which is not
an expected (automated) behavior and wrong.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/24044
--
Edit this bug report at http://bugs.php.net/?id=24044&edit=1