Mixed content in outline view
Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
-
- Posts: 240
- Joined: Wed Jun 17, 2015 12:46 pm
Mixed content in outline view
Hello,
I have a question about the outline view in Author Web.
In the case of a tag containing mixed content, only the first text node is displayed in the outline view, the other text nodes do not appear. This can give the impression of an inconsistency when reading the Outline view.
Example:
will be displayed like this :
- para First part
- abb element 1
- abb element 2
So we lost "second part" and "last part" text nodes.
Wouldn't it be possible to display all text nodes, especially in the case of mixed content?
Thanks,
Johann
I have a question about the outline view in Author Web.
In the case of a tag containing mixed content, only the first text node is displayed in the outline view, the other text nodes do not appear. This can give the impression of an inconsistency when reading the Outline view.
Example:
Code: Select all
<para>First part<abb>element 1</abb>second part<abb>element 2</abb> last part</para>
- para First part
- abb element 1
- abb element 2
So we lost "second part" and "last part" text nodes.
Wouldn't it be possible to display all text nodes, especially in the case of mixed content?
Thanks,
Johann
-
- Posts: 515
- Joined: Wed May 20, 2009 2:40 pm
Re: Mixed content in outline view
Hello,
I tried to reproduce the problem you reported using a Docbook sample and all the text from the paragraph is presented in the "Structure" view of the Outline. Here is the sample that I used (the Web Author is a sample server, the last version, hosted on our website):
https://www.oxygenxml.com/oxygen-xml-we ... n%22%7D%5D
So, in order to reproduce your problem please give us more details:
- What is the version of your Web Author server?
- What is the document type that you use?
- Do you use a custom Outline configuration?
If you need to provide some sample files or custom configuration or document type files, you can use our email address support@oxygenxml.com or our Technical Support Form (that allows you to attach files): https://www.oxygenxml.com/techSupport.html .
I tried to reproduce the problem you reported using a Docbook sample and all the text from the paragraph is presented in the "Structure" view of the Outline. Here is the sample that I used (the Web Author is a sample server, the last version, hosted on our website):
https://www.oxygenxml.com/oxygen-xml-we ... n%22%7D%5D
So, in order to reproduce your problem please give us more details:
- What is the version of your Web Author server?
- What is the document type that you use?
- Do you use a custom Outline configuration?
If you need to provide some sample files or custom configuration or document type files, you can use our email address support@oxygenxml.com or our Technical Support Form (that allows you to attach files): https://www.oxygenxml.com/techSupport.html .
Mihaela Calotescu
http://www.oxygenxml.com
http://www.oxygenxml.com
-
- Posts: 515
- Joined: Wed May 20, 2009 2:40 pm
Re: Mixed content in outline view
Hi,
Thank you for the sample file, we managed to reproduce the problem. The document is a simple xml file, with no CSS associated.
The Outline renders the text that is encountered inside an element, until a block child node is encountered. In your sample, a CSS is not specified and this means that, by default, the Web Author server considers that "abb" elements have block display (even if they are rendered as inline). To fix this, you must associate a CSS with your document and specify that the "abb" elements (or, by default, all elements) have inline display. In this way the Outline will present the entire text from the para element.
Please let us know if this solution works for you.
Best regards,
Mihaela
Thank you for the sample file, we managed to reproduce the problem. The document is a simple xml file, with no CSS associated.
The Outline renders the text that is encountered inside an element, until a block child node is encountered. In your sample, a CSS is not specified and this means that, by default, the Web Author server considers that "abb" elements have block display (even if they are rendered as inline). To fix this, you must associate a CSS with your document and specify that the "abb" elements (or, by default, all elements) have inline display. In this way the Outline will present the entire text from the para element.
Please let us know if this solution works for you.
Best regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
http://www.oxygenxml.com
-
- Posts: 240
- Joined: Wed Jun 17, 2015 12:46 pm
Re: Mixed content in outline view
Hello,
Indeed, it corrects the issue. Thank you!
Johann
Indeed, it corrects the issue. Thank you!
Why is there a difference between the interpretation (block) and the rendering (inline) ?By default, the Web Author server considers that "abb" elements have block display (even if they are rendered as inline)
Johann
-
- Posts: 515
- Joined: Wed May 20, 2009 2:40 pm
Re: Mixed content in outline view
Hi,
We are glad that your problem is solved.
The difference between the interpretation and the rendering is not intended. We added an issue in our internal issue tracker for this and we will update this thread when we will release a version that contains the fix.
Best Regards,
Mihaela
We are glad that your problem is solved.
The difference between the interpretation and the rendering is not intended. We added an issue in our internal issue tracker for this and we will update this thread when we will release a version that contains the fix.
Best Regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
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