Re: [xml] php5 breaks html parser



On Mon, May 04, 2009 at 09:01:39PM +0200, Bernhard zwischenbrugger wrote:
Hi all

First of all, I tried to report this bug at the PHP Bug reporting system.
see:
http://bugs.php.net/bug.php?id=48148
http://bugs.php.net/bug.php?id=47666

People at PHP don't feel responsible for that. So maybe it's a libxml  
problem.

I don't see why:

paphio:~/XML -> ./xmllint --html --xmlout http://www.w3.org/ > res
[some warnings ...]
paphio:~/XML ->

I don't see any duplicated namespace in the res result

<?xml version="1.0" encoding="utf-8"?><html
xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en-US" lang="en-US"><head
profile="http://www.w3.org/2000/08/w3c-synd/#";>

But the DOCTYPE is misplaced before the XMLDecl ...

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]