Hi Sean,
We are preparing an alpha kit with the new features like:
1. Possibility of inspecting the FOP output.
2. Possibility to set the memory available to FOP.
The file you sent to me generated a 11MB FO output. The FOP failed to
transform this file to PDF due to insufficient memory. We tried with
430MB and it succeeded.
I'll notify you when the kit is available.
Cheers,
Dan
Sean Wheller wrote:
>Great hope it helps.
>
>I don't get OOME. Running on SuSE 8.2 with j2re1.4.2
>
>Let me know soon as you have a fix. I need to
>transforms so I can release a draft of that document.
>
>BTW. I look forward to seeing version 3.
>If you can get the password working. I would give you
>back comment.
>
>Thanks.
>
>Sean Wheller
>
>--- Dan Caprioara <dan(a)oxygenxml.com> wrote:
>
>
>>I tried the transformation, but the file is too long
>>to be handled in a
>>reasonable memory space. I get OutOfMemoryError.
>>We'll need to make
>>some optimisations in the editor.
>>
>>Thank your for reporting this.
>>
>>Dan
>>
>>Sean Wheller wrote:
>>
>>
>>
>>>Any idea why I get corrupt pdf for that long file?
>>>
>>>Sean Wheller
>>>
>>>--- Dan Caprioara <dan(a)oxygenxml.com> wrote:
>>>
>>>
>>>
>>>
>>>>I have compiled a new version of the editor, that
>>>>can turn on the FOP
>>>>output, so you can see the error messages in the
>>>>results panel.
>>>>
>>>>The jar is located here:
>>>>
>>>>
>>>>
>>>http://www.oxygenxml.com/update/oxygenFOPOutput.jar
>>>
>>>
>>>>Please download it into the lib directory of your
>>>>installation, backup
>>>>your oxygen.jar, then rename the new jar as
>>>>oxygen.jar.
>>>>
>>>>To activate the new feature, select the
>>>>Options/Preferences/FO
>>>>processor/ Enable built-in FOP output checkbox.
>>>>
>>>>Note that this version has a changed licensing
>>>>mechanism. I will send
>>>>you a new license through the email.
>>>>
>>>>Let me know what is the output of the FOP. (or at
>>>>least the last lines)
>>>>
>>>>Regards,
>>>>Dan
>>>>
>>>>Sean Wheller wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>Hello, when I transform a Docbook XML document to
>>>>>
>>>>>
>>>>>
>>>>>
>>>>PDF
>>>>
>>>>
>>>>
>>>>
>>>>>I cannot open it as it seems to be corrupt.
>>>>>
>>>>>The document is well-formed and valid.
>>>>>Transformations using (saxon and xalan) > apache
>>>>>
>>>>>
>>>>>
>>>>>
>>>>fop
>>>>
>>>>
>>>>
>>>>
>>>>>both output a PDF file, but both are corrupt.
>>>>>
>>>>>Any ideas how I may id what is going wrong.
>>>>>
>>>>>The only things special about the document are:
>>>>>
>>>>>it uses background textobjects
>>>>><programlisting>
>>>>><textobject>
>>>>><textdata fileref="path/to/file.asp"/>
>>>>></textobject>
>>>>></programlisting>
>>>>>
>>>>>it uses inside programlisting
>>>>><![CDATA[
>>>>>Some xml representation.
>>>>>]]>
>>>>>
>>>>>The document is 115262 lines.
>>>>>
>>>>>Sean Wheller
>>>>>
>>>>>__________________________________
>>>>>Do you Yahoo!?
>>>>>The New Yahoo! Shopping - with improved product
>>>>>
>>>>>
>>>>>
>>>>>
>>>>search
>>>>
>>>>
>>>>
>>>>
>>>>>http://shopping.yahoo.com
>>>>>_______________________________________________
>>>>>oXygen-user mailing list
>>>>>oXygen-user(a)oxygenxml.com
>>>>>
>>>>>
>>>>>
>>>>>
>>>http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>>>
>>>
>>>>
>>>>
>>>>
>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>_______________________________________________
>>>>oXygen-user mailing list
>>>>oXygen-user(a)oxygenxml.com
>>>>
>>>>
>>>>
>>>>
>>>>
>>http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>>
>>
>>>__________________________________
>>>Do you Yahoo!?
>>>The New Yahoo! Shopping - with improved product
>>>
>>>
>>search
>>
>>
>>>http://shopping.yahoo.com
>>>
>>>
>>>
>>>
>>_______________________________________________
>>oXygen-user mailing list
>>oXygen-user(a)oxygenxml.com
>>
>>
>>
>http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
>
>__________________________________
>Do you Yahoo!?
>The New Yahoo! Shopping - with improved product search
>http://shopping.yahoo.com
>
>
Hi,
I am tryinjg to convert a valid docbook xml file to html in oXygen running
on Windows and I keep getting a message saying "out of memory". Any
suggestions?
thanks
----- Original Message -----
From: "Sam Pullara" <sam(a)sampullara.com>
To: <seanwhe(a)yahoo.com>
Sent: Sunday, October 19, 2003 7:46 AM
Subject: Conversion from XML docs or DTD to Schema
> Hi,
>
> I was reading the feature list and it says:
>
> - Conversions from DTD, Relax NG schema or a set of
documents to XML
> Schema, DTD or Relax NG schema
>
> I read your doc and you show how to convert an XML
document(s) to a DTD
> but I don't see how to convert a DTD or a set of
documents to an XML
> Schema. Thats basically why I am trying to use the
software but I
> can't see how it can be done.
>
> Thanks,
> Sam
>
Hello Sam,
Thanks for your question.
In Oxygen you can learn the structure of an XML
Document and save to a DTD.
If you then want to convert the DTD to an XSD, the
trang plugin, bundled
with Oxygen, can then be used to convert to XSD or
Relax NG.
The general procedure would be as follows:
1. Open you XML document.
2. Learn the structure by clicking the "learn
structure" button located on
the editor toolbar.
3. Save to a DTD by clicking the "save structure"
button. You now have a
DTD.
4. To convert it. From the main menu select Plugins >
Trang Wrapper.
5. Set the input and output, the click Convert.
The DTD will be transformed to the selected output.
I hope this helps. I have also posted your question to
oxygen-users.
Sean Wheller
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
I tried the transformation, but the file is too long to be handled in a
reasonable memory space. I get OutOfMemoryError. We'll need to make
some optimisations in the editor.
Thank your for reporting this.
Dan
Sean Wheller wrote:
>Any idea why I get corrupt pdf for that long file?
>
>Sean Wheller
>
>--- Dan Caprioara <dan(a)oxygenxml.com> wrote:
>
>
>>I have compiled a new version of the editor, that
>>can turn on the FOP
>>output, so you can see the error messages in the
>>results panel.
>>
>>The jar is located here:
>>
>>http://www.oxygenxml.com/update/oxygenFOPOutput.jar
>>
>>Please download it into the lib directory of your
>>installation, backup
>>your oxygen.jar, then rename the new jar as
>>oxygen.jar.
>>
>>To activate the new feature, select the
>>Options/Preferences/FO
>>processor/ Enable built-in FOP output checkbox.
>>
>>Note that this version has a changed licensing
>>mechanism. I will send
>>you a new license through the email.
>>
>>Let me know what is the output of the FOP. (or at
>>least the last lines)
>>
>>Regards,
>>Dan
>>
>>Sean Wheller wrote:
>>
>>
>>
>>>Hello, when I transform a Docbook XML document to
>>>
>>>
>>PDF
>>
>>
>>>I cannot open it as it seems to be corrupt.
>>>
>>>The document is well-formed and valid.
>>>Transformations using (saxon and xalan) > apache
>>>
>>>
>>fop
>>
>>
>>>both output a PDF file, but both are corrupt.
>>>
>>>Any ideas how I may id what is going wrong.
>>>
>>>The only things special about the document are:
>>>
>>>it uses background textobjects
>>><programlisting>
>>><textobject>
>>> <textdata fileref="path/to/file.asp"/>
>>></textobject>
>>></programlisting>
>>>
>>>it uses inside programlisting
>>><![CDATA[
>>>Some xml representation.
>>>]]>
>>>
>>>The document is 115262 lines.
>>>
>>>Sean Wheller
>>>
>>>__________________________________
>>>Do you Yahoo!?
>>>The New Yahoo! Shopping - with improved product
>>>
>>>
>>search
>>
>>
>>>http://shopping.yahoo.com
>>>_______________________________________________
>>>oXygen-user mailing list
>>>oXygen-user(a)oxygenxml.com
>>>
>>>
>>http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>>
>>
>>>
>>>
>>>
>>>
>>_______________________________________________
>>oXygen-user mailing list
>>oXygen-user(a)oxygenxml.com
>>
>>
>>
>http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
>
>__________________________________
>Do you Yahoo!?
>The New Yahoo! Shopping - with improved product search
>http://shopping.yahoo.com
>
>
When tranforming textdata remains blank.
<programlisting>
<textobject>
<textdata fileref="path/to/file.xml"
format="linespecific"/>
</textobject>
</programlisting>
Any ideas?
Sean
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
Hello, when I transform a Docbook XML document to PDF
I cannot open it as it seems to be corrupt.
The document is well-formed and valid.
Transformations using (saxon and xalan) > apache fop
both output a PDF file, but both are corrupt.
Any ideas how I may id what is going wrong.
The only things special about the document are:
it uses background textobjects
<programlisting>
<textobject>
<textdata fileref="path/to/file.asp"/>
</textobject>
</programlisting>
it uses inside programlisting
<![CDATA[
Some xml representation.
]]>
The document is 115262 lines.
Sean Wheller
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
When validating the following XSL Customization layer
I get the following error.
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import href="xsl/fo/docbook.xsl"/>
<!-- Parameters -->
<xsl:param name="paper.size" select="A4"/>
<xsl:param name="admon.graphics" select="1"/>
<xsl:param name="admon.textlabel" select="0"/>
<xsl:param name="admon.graphics.path"
select="xsl/images/"/>
<xsl:param name="shade.verbatim" select="1"/>
<xsl:param name="insert.xref.page.numbers"
select="1"/>
</xsl:stylesheet>
ERROR: F A location step was expected following the
'/' or '//' token.
Yet as far as I know xsl/images/ is the correct
syntax.
Sean Wheller
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
Hi,
Thought it may be useful to add the ability to store
xsl parameters in an external file and to be able to
export an existing parameter list to a file.
This will enable the same parameter file to be used
across documents in an easy manner. It will also make
management of xsl parameters easier.
Taking this one step further. It would be nice if the
exported file is a customization layer.
Sean Wheller
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
----- Original Message -----
From: "Bob Stayton" <bobs(a)sco.com>
To: "David Tolpin" <dvd(a)davidashen.net>
Cc: <docbook-apps(a)lists.oasis-open.org>
Sent: Wednesday, October 22, 2003 11:55 PM
Subject: Re: [docbook-apps] Section Numbering in
Preface Arabic instead of
Roman
> On Tue, Oct 21, 2003 at 09:45:20PM +0500, David
Tolpin wrote:
> > > On Tue, Oct 21, 2003 at 05:11:08AM -0700, Sean
Wheller wrote:
> > > > Hi,
> > > >
> > > > Docbook XML 4.2
> > > > Docbook XSL 1.60.1
> > > > Xerces J 2.5.0
> > > > Xalan J 2.5.1
> > > > Apache FOP
> > > > SuSE 8.2
> > > >
> > > > When I transform to PDF the TOC shows page
numbers,
> > > > for each section, in Arabic as apposed to
Roman, while
> > > > the page numbers within the sections are
Roman.
> > > >
> > > > Is this standard or can I force Roman in this
part of
> > > > the TOC.
> > >
> > > I'm not sure I'm understanding the question
here.
> > > Are you asking how to number the pages in a
Preface
> > > with arabic instead of roman numerals?
> > >
> >
> > If I remember correctly, FOP has or had a bug,
due to
> > that page-number-citation didn't
> > use format specified for the corresponding
page-number.
> > Thus even for pages numbered
> > in Roman numerals, Arabic numerals will be shown
in the TOC.
>
> It seems fop 0.20.5 no longer exhibits this bug in
the TOC.
>
> --
>
> Bob Stayton 400
Encinal Street
> Publications Architect Santa
Cruz, CA 95060
> Technical Publications voice:
(831) 427-7796
> The SCO Group fax:
(831) 429-1887
> email:
bobs(a)sco.com
>
> To unsubscribe from this list, send a post to
docbook-apps-unsubscribe(a)lists.oasis-open.org, or
visit
http://www.oasis-open.org/mlmanage/.
>
Hi,
Quite often I am wondering what version is a certain component that comes
with oXygen. By component I mean DocBook stylesheets, Xalan, Saxon or FOP.
Is there a place where all this is documented?
I am using oXygen 2.0.4 and I would like to know what version of Xalan is
used.
Thanks,
Marius
http://www.oxygenxml.com/forum/viewtopic.php?t=206
Marius Scurtescu
Tel: 604-222-3900x937
Fax: 604-222-3901
http://www.digitalpt.com