Date: 07/05/01
- Next message: Adam Wright: "[PHP-DEV] Expat XML problem"
- Previous message: CVS Account Request: "[PHP-DEV] CVS Account Request"
- Next in thread: Adam Wright: "[PHP-DEV] Expat XML problem"
- Reply: Adam Wright: "[PHP-DEV] Expat XML problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: vvo <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: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Adam Wright: "[PHP-DEV] Expat XML problem"
- Previous message: CVS Account Request: "[PHP-DEV] CVS Account Request"
- Next in thread: Adam Wright: "[PHP-DEV] Expat XML problem"
- Reply: Adam Wright: "[PHP-DEV] Expat XML problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

