DocBook 5 to Webhelp: problem with external entities
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 6
- Joined: Fri Dec 16, 2011 2:04 pm
DocBook 5 to Webhelp: problem with external entities
Hi,
I am experiencing problems exporting a DocBook 5 book to webhelp, when that book include external entities as chapters. The first run of the ant converter seems to create a valid webhelp, but Oxygen automatically runs several times the converter, and the final webhelp only contains the last external entity (not the whole book). I have try with both DTD entities and XInclude.
The problem seems to disappear when I execute de ant converter from the command line, since the converter runs only once.
Thanks in advance,
Fran Pena
I am experiencing problems exporting a DocBook 5 book to webhelp, when that book include external entities as chapters. The first run of the ant converter seems to create a valid webhelp, but Oxygen automatically runs several times the converter, and the final webhelp only contains the last external entity (not the whole book). I have try with both DTD entities and XInclude.
The problem seems to disappear when I execute de ant converter from the command line, since the converter runs only once.
Thanks in advance,
Fran Pena
-
- Posts: 515
- Joined: Wed May 20, 2009 2:40 pm
Re: DocBook 5 to Webhelp: problem with external entities
Hello,
Do you use the Docbook WebHelp predefined transformation scenario when transforming the book?
Could you please send us a small book sample that reproduces your problem and the content of the ANT transformation tab?
You can contact us directly on the support@oxygenxml.com email address.
Thanks,
Mihaela
Do you use the Docbook WebHelp predefined transformation scenario when transforming the book?
Could you please send us a small book sample that reproduces your problem and the content of the ANT transformation tab?
You can contact us directly on the support@oxygenxml.com email address.
Thanks,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
http://www.oxygenxml.com
-
- Posts: 515
- Joined: Wed May 20, 2009 2:40 pm
Re: DocBook 5 to Webhelp: problem with external entities
Hello,
Thank you for the samples send on the support email address.
The book sample has no title specified, and it seems that this is what generates the problem.
I have registered this issue in our internal issue tracker and we will try to fix it.
What you can do is to specify a title element in your book. Please let us known if the you experience further problems.
Best regards,
Mihaela
Thank you for the samples send on the support email address.
The book sample has no title specified, and it seems that this is what generates the problem.
I have registered this issue in our internal issue tracker and we will try to fix it.
What you can do is to specify a title element in your book. Please let us known if the you experience further problems.
Best regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
http://www.oxygenxml.com
-
- Posts: 6
- Joined: Fri Dec 16, 2011 2:04 pm
Re: DocBook 5 to Webhelp: problem with external entities
Thank you for your help, it worked!. For anyone who might be interested, I reproduce a valid example of a DocBook 5 book calling external entities with XInclude. I have successfully transformed this example into webhelp with Oxygen, using the DocBook 5 predefined scenario "Docbook Webhelp". This is the main file, main.xml:
This is one of the external entity intro.xml (the other one, intro2.xml, can be equal to this):
Sincerely,
Fran Pena
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
<book xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0">
<title>kjehkuedheiu</title>
<part>
<title>First Part</title>
<subtitle>Subtitle of First Part</subtitle>
<xi:include href="intro.xml"/>
</part>
<part>
<title>First ddPart</title>
<subtitle>Subtitddle of First Part</subtitle>
<xi:include href="intro2.xml"/>
</part>
</book>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
<chapter xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0">
<title>Chapter Title</title>
<subtitle>Subtitle of Chapter</subtitle>
<sect1>
<title>Section1 Title</title>
<subtitle>Subtitle of Section 1</subtitle>
<para>Text</para>
</sect1>
</chapter>
Fran Pena
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: DocBook 5 to Webhelp: problem with external entities
Hi Fran,
In Oxygen 13.2 which was just released you will be able to produce Docbook WebHelp even if the title is missing from the Docbook XMLs.
Regards,
Radu
In Oxygen 13.2 which was just released you will be able to produce Docbook WebHelp even if the title is missing from the Docbook XMLs.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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