Re: [xml] error when parse a html file whose name includes a '%' character



On Wed, Jun 08, 2005 at 11:25:47AM +0900, èéæ wrote:
Hello everyone:

I got an error when I try to parse html file using htmlSAXParseFile
function.
The file's name includes a '%'ãcharacter.
for example aaa%bbb.htm.

how can i do to resolve this proplem without renaming the file..

 Works for me, your report is incomplete:

paphio:~/XML -> cat a%b.html
<html>
<body>
<p>foo</p>
</body>
</html>
paphio:~/XML -> xmllint --html a%b.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd";>
<html><body><p>foo</p></body></html>
paphio:~/XML ->

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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