Bug #11910 Updated: Invalid XML declaration generated, missing '?' before the closing '>'

From: Date: Thu, 05 Jul 2001 16:46:31 +0000
Subject: Bug #11910 Updated: Invalid XML declaration generated, missing '?' before the closing '>'
Groups: php.dev 
Request: Send a blank email to php-dev+get-59007@lists.php.net to get a copy of this message
ID: 11910 Updated by: derick Reported By: vvo@geocities.com Old-Status: Open Status: Bogus Bug Type: Sablotron XSL Operating system: PHP Version: 4.0.4pl1 Assigned To: Comments: If it is Sablotron who is generating the wrong non-valid XML files, then this bugreport should go to the Sablotron team. Bogusfied Previous Comments: --------------------------------------------------------------------------- [2001-07-05 11:02:55] vvo@geocities.com 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. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11910&edit=2

« previous php.dev (#59007) next »