This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [docbook-apps] REPOST: problem installing xml catalogs


I was referring to the DOCTYPE declaration on the catalog file itself.  If
you have one, it will look like:

<!DOCTYPE catalog
   PUBLIC "-//OASIS/DTD Entity Resolution XML Catalog V1.0//EN"
   "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd";>

You should probably check both your catalog and the one included with
DocBook.

> -----Original Message-----
> From: Jens Skripczynski [mailto:skripi-lists at myrealbox dot com]
> Sent: Tuesday, April 08, 2003 2:39 PM
> To: Jeff Beal
> Cc: docbook-apps at lists dot oasis-open dot org
> Subject: Re: [docbook-apps] REPOST: problem installing xml catalogs
> 
> 
> Jeff Beal:
> > The example catalog in Bob's tutorial refers to a DTD located at
> > http://www.oasis-open.org.  Are you using the DOCTYPE declaration?  
> yes:
> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
>                       
> "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"; [
>  <!-- with some entity declaration --> ]>
> 
> or
> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
> "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"; [
>  <!-- with some entity declaration --> ]> ] >
> 
> > What happens if you remove it?
> All the 'gobal' entities (copy, amp,...) break... 
> adding those... changin the stylesheet to fo/docbook.xsl
> setting CatalogManager.properties.verbosity = 100
> 
> - xmllint can't validate the source any more
> - I still get the network exception:
> -----------
>      [echo] SAXON -- creating Formating Objects (FO) file 
> dark-sun.fo from book.xml --
>      [java] Parse catalog: /usr/share/sgml/docbook/xmlcatalog
>      [java] Loading catalog: /etc/xml/catalog
>      [java] Default BASE: file:/etc/xml/catalog
>      [java] java.net.SocketException: errno: 101, error: 
> Network is unreachable for fd: 5
>      [stacktrace ommited]
> -----------
> 
> The debug messages do not even tell, for which URL / Server 
> it is looking.
> 
> 
> Has anyone some working rpm (linux RH 7.0) / tar.gz with 
> - docbook-xml-4.2 (maybe 4.1.2)
> - oasis entities
> - /etc/xml/catalog
>   ?
> 
> I have no idea, if some file refered in the catalogs is 
> missing, if this is a
> xerces error or... I just want to be able to use my docbook 
> stylesheets
> _off_-line.
> 
> 
> 
> 
> Ciao
> 
> Jens Skripczynski
> -- 
> E-Mail: skripi-lists(at)myrealbox(dot)com
> 
> There are three ways to get something done:
> (1) Do it yourself.
> (2) Hire someone to do it for you.
> (3) Forbid your kids to do it.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
> For additional commands, e-mail: 
> docbook-apps-help at lists dot oasis-open dot org
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]