Format Document changes the include Path
Posted: 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:
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).
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:
I think that this is not intended.
Sincerely,
Frank
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 "http://docbook.org/5.0/rng/docbookxi.rnc" {
Code: Select all
<rewriteURI
uriStartString="http://docbook.org/"
rewritePrefix="file:///C:/Program%20Files%20(x86)/Oxygen%20XML%20Editor%2016/frameworks/docbook/"/>
<rewriteSystem
systemIdStartString="http://docbook.org/"
rewritePrefix="file:///C:/Program%20Files%20(x86)/Oxygen%20XML%20Editor%2016/frameworks/docbook/"/>
Code: Select all
include "../../../../../../Program%20Files%20(x86)/Oxygen%20XML%20Editor%2016/frameworks/docbook/5.0/rng/docbookxi.rnc"
Sincerely,
Frank