Re: [xslt] Resolving SGML catalogs

On Mon, Sep 17, 2001 at 10:27:20PM +0200, ben wrote:
> Hello,
> I want to use the catalog support from the libxml2-2.4.3 library, and if
> the first line of the catalog is empty (it contains only a \n) it
> complains. Is it the expected behaviour (if so it's not really robust
> ;-)?

   Right, it's not robust. The same top level API is used indifferently
to parse XML Catalogs or SGML catalogs. The detection is weak and in that
case seems to be defeated, I can try to improve it. You could also switch
to XML Catalogs [1] which are IMHO a quite better specification for today's
needs (generally speaking),



Daniel Veillard      | Red Hat Network  | libxml Gnome XML XSLT toolkit | Rpmfind RPM search engine

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