
Hi Sean, I tried with this but I disabled the extensions <xsl:param name="use.extensions" select="0"/> as I do not have them on this computer and it worked ok, no errors and two files created in the oxygen directory: index.html and ar01.html. Are you sure you are using the stylesheets that came with oXygen ? I extracted them from the kit here: http://www.oxygenxml.com/InstData/All/tmp/oxydoc.tar.gz These are the ones I used for tests right now. Best Regards, George ------------------------------------------------------- George Cristian Bina mailto:george@oxygenxml.com <oXygen/> XML Editor - http://www.oxygenxml.com/ ----- Original Message ----- From: "Sean Wheller" <sean@enbaya.co.za> To: "George Cristian Bina" <george@oxygenxml.com>; <oxygen-user@oxygenxml.com> Sent: Sunday, January 18, 2004 7:58 PM Subject: custom layers
Hi George,
Attached are my custom layers -- Sean Wheller

Hi, Yes I am using the stylesheets provided with the Linux Distribution. Sean Wheller On Sunday 18 January 2004 20:27, George Cristian Bina wrote:
Hi Sean,
I tried with this but I disabled the extensions <xsl:param name="use.extensions" select="0"/> as I do not have them on this computer and it worked ok, no errors and two files created in the oxygen directory: index.html and ar01.html.
Are you sure you are using the stylesheets that came with oXygen ? I extracted them from the kit here: http://www.oxygenxml.com/InstData/All/tmp/oxydoc.tar.gz These are the ones I used for tests right now.
Best Regards, George ------------------------------------------------------- George Cristian Bina mailto:george@oxygenxml.com <oXygen/> XML Editor - http://www.oxygenxml.com/
----- Original Message ----- From: "Sean Wheller" <sean@enbaya.co.za> To: "George Cristian Bina" <george@oxygenxml.com>; <oxygen-user@oxygenxml.com> Sent: Sunday, January 18, 2004 7:58 PM Subject: custom layers
Hi George,
Attached are my custom layers -- Sean Wheller
-- Sean Wheller

Hi George, I found the problem. This is a strange one. In a previous session on the week-end I was toying with website-2.5.0 and I had added the catalog.xml to Oxygens XML Catalog list. When trying to transform I was confused by the errors as they were not docbook. Thinking about the problem it suddenly dawned on me that the errors were from WebSite. So I removed the catalog entry, closed and restarted Oxygen, then did a validation of the HTML customization layer. Guess what .... the document is valid and transformations work as expected. This explains why xsltproc was able to do the transform. xsltproc was not aware of the WebSite catalog and the xsl's were valid all along. The problem seems to be replicated by adding the WebSite catalog.xml to my list of XML Catalogs. This catalog does not know where the docbook components are, because I have not set it up to do so, yet. The WebSite catalog was third in the list after the docbook and tei catalog entries. Is there a search order used by oxygen. Should it have found the entry in the oxygen catalog? Sean Wheller On Monday 19 January 2004 07:47, Sean Wheller wrote:
Hi,
Yes I am using the stylesheets provided with the Linux Distribution.
Sean Wheller
On Sunday 18 January 2004 20:27, George Cristian Bina wrote:
Hi Sean,
I tried with this but I disabled the extensions <xsl:param name="use.extensions" select="0"/> as I do not have them on this computer and it worked ok, no errors and two files created in the oxygen directory: index.html and ar01.html.
Are you sure you are using the stylesheets that came with oXygen ? I extracted them from the kit here: http://www.oxygenxml.com/InstData/All/tmp/oxydoc.tar.gz These are the ones I used for tests right now.
Best Regards, George ------------------------------------------------------- George Cristian Bina mailto:george@oxygenxml.com <oXygen/> XML Editor - http://www.oxygenxml.com/
----- Original Message ----- From: "Sean Wheller" <sean@enbaya.co.za> To: "George Cristian Bina" <george@oxygenxml.com>; <oxygen-user@oxygenxml.com> Sent: Sunday, January 18, 2004 7:58 PM Subject: custom layers
Hi George,
Attached are my custom layers -- Sean Wheller
-- Sean Wheller

Hi Sean, It seems that the website catalog defines the that any reference to chunk-common.xsl will be resolved to the corresponding Website stylesheet: <uri name="chunk-common.xsl" uri="chunk-common.xsl"/> There is no conflict with the Docbook catalog. You can try a new stylesheet and add an import of chunk-common.xsl and on validate you will get an error: F org.apache.xml.utils.WrappedRuntimeException: Could not find variable with the name of collect.xref.targets The interference with Docbook comes from the fact that the chunk.xsl contains an import of chunk-common.xsl which will be resolved to the one from Website. One solution is to edit the Website catalog to remove this mapping. Best Regards, George ------------------------------------------------------------- George Cristian Bina mailto:george@oxygenxml.com <oXygen/> XML Editor - http://www.oxygenxml.com/ ----- Original Message ----- From: "Sean Wheller" <sean@enbaya.co.za> To: "George Cristian Bina" <george@oxygenxml.com>; <oxygen-user@oxygenxml.com> Sent: Monday, January 19, 2004 9:15 PM Subject: Re: [oXygen-user] Re: custom layers
Hi George,
I found the problem. This is a strange one.
In a previous session on the week-end I was toying with website-2.5.0 and I had added the catalog.xml to Oxygens XML Catalog list. When trying to transform I was confused by the errors as they were not docbook. Thinking about the problem it suddenly dawned on me that the errors were from WebSite.
So I removed the catalog entry, closed and restarted Oxygen, then did a validation of the HTML customization layer. Guess what .... the document is valid and transformations work as expected.
This explains why xsltproc was able to do the transform. xsltproc was not aware of the WebSite catalog and the xsl's were valid all along.
The problem seems to be replicated by adding the WebSite catalog.xml to my list of XML Catalogs. This catalog does not know where the docbook components are, because I have not set it up to do so, yet.
The WebSite catalog was third in the list after the docbook and tei catalog entries. Is there a search order used by oxygen. Should it have found the entry in the oxygen catalog?
Sean Wheller
participants (2)
-
George Cristian Bina
-
Sean Wheller