Re: [xml] Using xml catalogs

  Well, you don't use the local catalog, it's not that libxml2
doesn't handle it, it's that you make no use of it apparently.
xmlCatalogDump() dumps the global catalog, not the one which may
be used for the specific document. And without any DOCTYPE in your
instance I can't see how you expect the local catalog to have any

If it is in the local catalog, how I can get the pointer on it? 
For xmlACatalogDump() I need some xmlCatalogPtr as a parameter.
I see to docs and the one methods to get it is xmlLoadACatalog(),
but it need the name of the file with the xml catalog.

I have no DOCTYPE in my document, because I'm using RelaxNG for
the validation.


  I noticed that xmlCatalogDump and xmlDumpACatalog documentation were wrong
so I fixed them.


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine
xml mailing list, project page
xml gnome org


Petr Novak, Liberouter Project (
E-mail: novak merlot ics muni cz

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