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
use.

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.

-petrn

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

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml

-- 

Petr Novak, Liberouter Project (www.liberouter.org)
E-mail: novak merlot ics muni cz




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