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

[1] http://www.oasis-open.org/committees/entity/spec-2001-08-06.html

-- 
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]