Re: entities and Nautilus help



On Wed, Oct 25, 2000 at 02:31:45PM -0700, Mathieu Lacage wrote:
> 
> Well, if you enable debugging, you get those errors from libxml and they
> show that libxml is choking on the first use of any SYSTEM entity.
> 
> Even though the above error does not seem to have any effect on the
> html generation process, it is not acceptable to ship production code
> with errors which show up like this. We have at least to understand
> where those errors come from, why, and then we can decide to forget 
> them if they are really harmless. 
> 

OK, I've tested this. Here's what is going on, which is pretty much
exactly what Ali said.

The xml parser is firing off an error message every time it finds
a non-xml-compliant element. Each and every error I have been able to
generate is associated with a tag or element or entity that is valid
sgml but not valid xml. (Except the mdash and hellips, for which a
separate bug has been filed.)

I tested using valid DocBook xml. The errors do not occur. We're
getting valid html out of this thing. I do not know the libxml code,
so I can't say anthing about accepting these errors. I can only speak
to the finished product, which is acceptable html, so from that
respect, I'm comfortable with this.

Update to bug report filed.
Cheers,
-- 
John Fleck
jfleck inkstain net (h)
jfleck abqjournal com (w)
http://www.inkstain.net/fleck/
http://www.abqjournal.com/scitech/




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