Format Document changes the include Path

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
Posts: 40

Format Document changes the include Path

Sat Apr 04, 2015 7:07 am

Hi all,

i hava a DocBook Customization Layer written in Relax NG (compact syntax). It starts with an include of the Original DocBook Grammar. I am working with Catalog Files. My customization layer starts like this:

Code: Select all

include "" {

My Catalog File maps the virtual URI given above to a real one in my Filesystem. Trial and Error shows that two Entries are neccessary (without the rewriteSystem, validation of the Relax NG File does work, but Format Document does not).

Code: Select all


The only problem is, that Format Document will change the value of the included URI. The URI will be replaced by an relative Path to the File in my Filesystem. The include will look like this after Format Document:

Code: Select all

include "../../../../../../Program%20Files%20(x86)/Oxygen%20XML%20Editor%2016/frameworks/docbook/5.0/rng/docbookxi.rnc"

I think that this is not intended.

Posts: 2336

Re: Format Document changes the include Path

Mon Apr 06, 2015 12:22 pm


Thank you for reporting this "Format and Indent" bug. I was able to reproduce the problem and have logged it on our issue tracking tool to be resolved in a future version. Note that this problem is only triggered when you resolve the systemID of the RNC, which is actually not necessary for RNC (only the URI must be resolved).

On another note, I'm not sure if it's intentional, but the URI you're using in the include seems incorrect:
The correct URI is:
If you use the correct URI, you will notice that it is already resolved by Oxygen's default XML catalogs (from the DocBook framework), so you won't need your custom XML catalog in the first place.

Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
Posts: 5217

Re: Format Document changes the include Path

Mon Oct 02, 2017 3:50 pm


Just to update this thread, the Oxygen 19.1 we made a couple of days ago should have a fix for this reported issue.

Radu Coravu
<oXygen/> XML Editor

Return to “Common Problems”

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 2 guests