|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37792 not valide XHTML with xsltprocessor
Submitted: 2006-06-13 07:54 UTC Modified: 2006-06-13 09:39 UTC
From: eleseint at libertysurf dot fr Assigned:
Status: Not a bug Package: XSLT related
PHP Version: 5.1.4 OS: Widows 2003 Server
Private report: No CVE-ID: None
 [2006-06-13 07:54 UTC] eleseint at libertysurf dot fr
When I parse XML and XSL with output method="xml", tags are not in xhtml but in html

Reproduce code:
// line output

  <xsl:output method="xml" version="1.0" encoding="utf-8" standalone="no" omit-xml-declaration="no" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="" indent="no" />


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-13 08:47 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2006-06-13 08:48 UTC]
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.

Sorry. wrong quickfix choosen :)
 [2006-06-13 09:27 UTC] eleseint at libertysurf dot fr
sorry, it's not bug, it's my fault, I was a include xsl file with ? html declaration in output tag
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Apr 23 07:01:23 2021 UTC