Re[2]: [xml] libxml2 2.4.22 & SGML-style catalog



Hello, Daniel!
Wednesday, June 19, 2002, 10:39:46 AM, you wrote:

  I have SGML-style catalog, and xsltproc complains about it:
===============================================================================
file:///usr/local/share/xml/catalog:1: error: Start tag expected, '<' not found
CATALOG "dtd/catalog"
^
===============================================================================

How could I use this catalog with libxml2? Page
http://www.xmlsoft.org/catalog.html says, yhar libxml2 supports old
catalog format...
DV>   How did you point libxml2 to /usr/local/share/xml/catalog ?
  Simple. FreeBSD port contains patch to change default from
  `/etc/xml/catalog' to `/usr/local/share/xml/catalog', and from
  `/etc/sgml/catalog' to `/usr/local/share/sgml/catalog' because
  libxml2 and any XML/SGML stuff is not in base system, and FreeBSD never,
  ever install something ``third-party'' outside of /usr/local...

  Hmm... So, we (FreeBSD users) have xml/catalog in old format... It
  is not so good... I'll send bug report to FreeBSD team.

  But may be it is possible to do autodetection of file type in
  catalog loader?

               Lev Serebryakov
/-----------------------------------------------\
| FIDONet: 2:5030/661.0                         |
| E-Mail:  lev serebryakov spb ru               |
| Page:    http://lev.serebryakov.spb.ru/       |
| ICQ UIN: 3670018                              |
| Phone:   You know, if you have world nodelist |
\===============================================/




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