Show xi:include content in WYSIWYG view mode
-
- Posts: 206
- Joined: Thu Dec 01, 2011 4:22 pm
- Location: Hamburg, Germany
Show xi:include content in WYSIWYG view mode
Hello,
I am currently using the lastest 16.1 Eclipse verison of the oXygen XML editor.
And I want to include a file by using xi:include like this:
Unfortunately instead of seeing the Java code I get this in WYSIWYG view mode of the editor.

Am I doing something wrong. Does the xi:include have to look different or do I have to change the settings or is this feature simply not implemented?
Best regards,
Simon
I am currently using the lastest 16.1 Eclipse verison of the oXygen XML editor.
And I want to include a file by using xi:include like this:
Code: Select all
<para>This may look like that:</para>
<para>
<programlisting language="java">
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="./examples/LabeledTextWidget.java"/>
</programlisting>
</para>

Am I doing something wrong. Does the xi:include have to look different or do I have to change the settings or is this feature simply not implemented?
Best regards,
Simon
Simon Scholz
vogella GmbH
http://www.vogella.com
vogella GmbH
http://www.vogella.com
-
- Posts: 206
- Joined: Thu Dec 01, 2011 4:22 pm
- Location: Hamburg, Germany
Re: Show xi:include content in WYSIWYG view mode
Hello,
I just figured out that it works in case I add the Doctype declaration:
It seems that the document type association already recognizes that it is DocBook, even without the Doctype declaration, but the xi:includes do not work.
Could you deliver a patch for this, because sadly I cannot guarantee that the Doctype is set properly in those XML documents, which are opened.
But when the document type association is able to find out that this is DocBook it should be easy to implement the default xi:include functionality for those documents too, isn't it?
Best regards,
Simon
I just figured out that it works in case I add the Doctype declaration:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://docbook.org/xml/4.5/docbookx.dtd">
Could you deliver a patch for this, because sadly I cannot guarantee that the Doctype is set properly in those XML documents, which are opened.
But when the document type association is able to find out that this is DocBook it should be easy to implement the default xi:include functionality for those documents too, isn't it?
Best regards,
Simon
Simon Scholz
vogella GmbH
http://www.vogella.com
vogella GmbH
http://www.vogella.com
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Show xi:include content in WYSIWYG view mode
Hi Simon,
I managed to reproduce this on my side with a simple document like:
I'm not yet sure why this happens but I will look into this. Ideally you would specify the Docbook 4 document type on all Docbook 4 XML documents.
I will update this forum post when I have a fix for this.
Oxygen 17 is scheduled in April-May this year, do you need this fixed sooner?
Regards,
Radu
I managed to reproduce this on my side with a simple document like:
Code: Select all
<chapter>
<title>Chapter Template Title</title>
<para>Text</para>
<para>
<programlisting language="java">
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="./examples/LabeledTextWidget.java"/>
</programlisting>
</para>
</chapter>
I will update this forum post when I have a fix for this.
Oxygen 17 is scheduled in April-May this year, do you need this fixed sooner?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 206
- Joined: Thu Dec 01, 2011 4:22 pm
- Location: Hamburg, Germany
Re: Show xi:include content in WYSIWYG view mode
Hi Radu,
Thank you for your fast reply.
We do not need this earlier and look forward to the next oXygen release.
Best regards,
Simon
Thank you for your fast reply.
We do not need this earlier and look forward to the next oXygen release.
Best regards,
Simon
Simon Scholz
vogella GmbH
http://www.vogella.com
vogella GmbH
http://www.vogella.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