[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] error when parse a html file whose name includes a '%' character
- From: Daniel Veillard <veillard redhat com>
- To: 趙黎明 <cho88903 casio co jp>
- Cc: xml gnome org
- Subject: Re: [xml] error when parse a html file whose name includes a '%' character
- Date: Wed, 8 Jun 2005 04:57:06 -0400
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]