metafacture-core icon indicating copy to clipboard operation
metafacture-core copied to clipboard

Refactor xinclude-handling in Metamorph schema

Open cboehme opened this issue 10 years ago • 1 comments

The xinclude-handling in the Metamorph schema seems to have some issues. For instance, Metamorph requires that the macros element is specified before the first rules element. However, it is possible to use the macros element in xinclude statement. Xinclude statements may be mixed with rules tags. As a consequence, macros elements might by included in the middle of the script where they are not expected.

The same issue may occur with var elements.

cboehme avatar Apr 20 '15 14:04 cboehme

Hi Christoph,

so far I used a little bit the include mechanism for my own purposes https://github.com/guenterh/mfDocProc/blob/master/src/main/resources/transformation/searchDocs/transform2SearchDoc.xml but without macros and vars. My limited use case seems to work.

Günter

guenterh avatar Nov 17 '15 21:11 guenterh