[xml] libxml2 add <p> tag



Hi,

I've found the following problem with libxml2 2.4.16

[manu xx yy]$ cat /tmp/test.html 
<gsweb name="UploadFile">Upload</gsweb>/<gsweb name="ProcessFile">Processing</gsweb>

[manu xx yy]$ xmllint  /tmp/test.html  --html
/tmp/test.html:1: error: Tag gsweb invalid
<gsweb name="UploadFile">Upload</gsweb>/<gsweb name="ProcessFile">Processing</g
                       ^
/tmp/test.html:1: error: Tag gsweb invalid
<gsweb name="UploadFile">Upload</gsweb>/<gsweb name="ProcessFile">Processing</g
                                                                ^
<?xml version="1.0" standalone="yes"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd";>
<html><body><gsweb name="UploadFile">Upload</gsweb><p>/<gsweb 
name="ProcessFile">Processing</gsweb></p></body></html>
                                                    ^
____________________________________________________|


I get the same thing with a file containing:
<?xml version="1.0" standalone="yes"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd";>
<html><body><a name="UploadFile">Upload</a>/<a name="ProcessFile">Processing</a></body></html>


I've found nothing about this problem in the list. Is it a fixed bug or how can I avoid this <p> addition ?

Thank you.

Manuel

--
______________________________________________________________________
Support - OXYMIUM <support oxymium net>
14 rue Jean-Baptiste Clement  -  93200 Saint-Denis  -  France
Tel: +33 1 4940 0999  -  Fax: +33 1 4940 0998




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