Re: [xml] A possible problem with libxml2



On Fri, Jun 01, 2001 at 08:00:00AM +0800, Steve Underwood wrote:
Now, I don't know whether it is legal to have gb2312 encoded text within
an HTML tag, but it is commonplace. Its hard to specify font names,
unless you do this, since Chinese fonts usually only have Chinese names.
Specifying a font name in the current encoding of an HTML page works OK
with current browsers. libxml coughs when it sees a Chinese font name,
encoded in gb2312, within a gb2312 encoded page.

  Sorry I can't guess what the problem is.

So what should happen? Whether or not the gb2312 font name is legal is
largely irrelevant in the messy world of HTML. Right now, libxml is
failing to handle a large number of real world Asian pages. Now I have
found the source of the trouble I have tried some other Chinese HTML
documents containing font selections, and they all give problems.

  provide an example, the problem and how it should be handled instead,
this way I can do something to fix it. Currently your bug report is clearly
insufficient to even guess where the problem is.

  thanks,

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
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]