sourceforge downloads requested by Oxygen 8.1
Oxygen general issues.
-
- Posts: 63
- Joined: Sat Jan 24, 2004 12:10 am
- Location: Oaxaca, Mexico
- Contact:
sourceforge downloads requested by Oxygen 8.1
MacOS 10.3.9, Docbook 4.5, Saxon 6.5.5, XSL style sheets 1.70.1, XEP 4.9, using Oxygen 8.1
Very occasionally I get messages like these during a transformation:
(sequence-master [master-name blank-draft]
[warning] Could not retrieve image from 'http://docbook.sourceforge.net/release/images/draft.png': java.net.ConnectException: Operation timed out)
(sequence-master [master-name front-odd-draft]
[warning] Could not retrieve image from 'http://docbook.sourceforge.net/release/images/draft.png': java.net.ConnectException: Connection refused)
(sequence-master [master-name back-first-draft]
[warning] Cannot reconnect to "http://docbook.sourceforge.net/release/images/draft.png": java.net.ConnectException: Operation timed out. A previously cached copy will be used.)
(sequence-master [master-name titlepage-first-draft]
[warning] Could not retrieve image from 'http://docbook.sourceforge.net/release/images/draft.png': java.net.SocketException: Connection reset)
These always cause long delays in FO transformations, but eventually they complete OK. Clearly this is when sourceforge is down for whatever reason, but I would like to avoid having to download anything during an FO transformation. How can I keep a local copy of whatever is needed and instruct use of local copies (in a catalog perhaps.) (Oxygen has local copies of DTD and XSL files of course.)
Could this be included in a future release of Oxygen?
Ron
Very occasionally I get messages like these during a transformation:
(sequence-master [master-name blank-draft]
[warning] Could not retrieve image from 'http://docbook.sourceforge.net/release/images/draft.png': java.net.ConnectException: Operation timed out)
(sequence-master [master-name front-odd-draft]
[warning] Could not retrieve image from 'http://docbook.sourceforge.net/release/images/draft.png': java.net.ConnectException: Connection refused)
(sequence-master [master-name back-first-draft]
[warning] Cannot reconnect to "http://docbook.sourceforge.net/release/images/draft.png": java.net.ConnectException: Operation timed out. A previously cached copy will be used.)
(sequence-master [master-name titlepage-first-draft]
[warning] Could not retrieve image from 'http://docbook.sourceforge.net/release/images/draft.png': java.net.SocketException: Connection reset)
These always cause long delays in FO transformations, but eventually they complete OK. Clearly this is when sourceforge is down for whatever reason, but I would like to avoid having to download anything during an FO transformation. How can I keep a local copy of whatever is needed and instruct use of local copies (in a catalog perhaps.) (Oxygen has local copies of DTD and XSL files of course.)
Could this be included in a future release of Oxygen?
Ron
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
A possible solution is to disable requesting the draft.png image as this image does not appear in the PDF output. You can do that by setting the draft.mode parameter of the Docbook XSLT stylesheet to the value 'no'.
Regards,
Sorin
A possible solution is to disable requesting the draft.png image as this image does not appear in the PDF output. You can do that by setting the draft.mode parameter of the Docbook XSLT stylesheet to the value 'no'.
Regards,
Sorin
-
- Posts: 63
- Joined: Sat Jan 24, 2004 12:10 am
- Location: Oaxaca, Mexico
- Contact:
Sorin
Many thanks. I also set a local URl for draft.png. Bob Stayton says this is the only external URl in the Docbook XSL stylesheet.
<xsl:parameter name="draft.watermark.image" select="'/Library/WebServer/Documents/_XML/_DocBook/draft.png'"/>
<xsl:parameter name="draft.mode parameter" select="'no'"/>
Ron
Many thanks. I also set a local URl for draft.png. Bob Stayton says this is the only external URl in the Docbook XSL stylesheet.
<xsl:parameter name="draft.watermark.image" select="'/Library/WebServer/Documents/_XML/_DocBook/draft.png'"/>
<xsl:parameter name="draft.mode parameter" select="'no'"/>
Ron
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
In case you choose to disable the request for the draft watermark image the correct setting that you should use in your stylesheet iscatterall wrote:<xsl:parameter name="draft.mode parameter" select="'no'"/>
Code: Select all
<xsl:parameter name="draft.mode" select="'no'"/>
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service