From:             [EMAIL PROTECTED]
Operating system: Linux Redhat 7.0
PHP version:      4.0.4pl1
PHP Bug Type:     Sablotron XSL
Bug description:  Invalid XML declaration generated, missing '?' before the closing 
'>'

This bug was found with Sablotron 0.60. When a stylesheet is using:

...
<xsl:output method="xml" version="1.0" encoding="UTF-8" omit-xml-declaration="no" />
...

The resulting XML will have the following declaration:

<?xml version="1.0" encoding="UTF-8">
...

Notice that according to XML 1.0 the declaration should end with '?>', not just '>'. 
So the '?' is missing, hence the resulting XML document is not well-formed.

Thanks.


-- 
Edit Bug report at: http://bugs.php.net/?id=11910&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to