OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: make xalan use local xml catalog file


i'm trying to make my xalan use the locally installed xml catalog with
the appropriate docbook dtd's.

What works so far:

- xmlcatalog can resovle 
    - "-//OASIS//DTD DocBook XML V4.2//EN"
    - "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"

- xalan finds
   - resolver.jar
   - CatalogManager.properties

But when I run:
org.apache.xalan.xslt.Process -ENTITYRESOLVER org.apache.xml.resolver.tools.CatalogResolver -URIRESOLVER org.apache.xml.resolver.tools.CatalogResolver -in ${file-in} -xsl xsl-print.xsl -out out/${file-in}.fo

xalan complains, that he has no internet:
     [java] java.net.SocketException: errno: 101, error: Network is unreachable for fd: 6

xalan processes all local xsl files:
     [java] resolveURI(../db-xsl-1.60.1/fo/docbook.xsl)
     [java] Resolved URI: ../db-xsl-1.60.1/fo/docbook.xsl
     [java]     file:/home/jens/projects/docbook/db-xsl-1.60.1/fo/docbook.xsl

and finally complains about the internet connection:
     [java] resolvePublic(-//OASIS//DTD DocBook XML V4.2//EN,http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd)

     [java] (Location of error unknown)XSLT Error
            (javax.xml.transform.TransformerException): java.net.SocketException: errno:
            101, error: Network is unreachable for fd: 8

I have no idea how to track this down any more...

------------------  CatalogManager.properties      ---------------------
------------------  CatalogManager.properties      ---------------------

I think the /etc/xml/catalog should be enough (as it contains all the other
stuff _and_ xmlcatalog can deal with the file).


Jens Skripczynski
E-Mail: skripczynski(at)mail2003(dot)skripczynski(dot)de

* life is real - unless declared integer *

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]