W3C home > Mailing lists > Public > www-xml-xinclude-comments@w3.org > July 2008

managed recursive inclusion

From: Mei▀ner, Christian <Christian.Meissner@medizin.uni-leipzig.de>
Date: Sun, 27 Jul 2008 23:45:33 +0200
Message-ID: <CA26DB84FBEC454FB28ADB7F19FF5D97010A111D@MRZS152229.medizin.uni-leipzig.de>
To: <www-xml-xinclude-comments@w3.org>

hallo guys,

during my work on a kind of type dictionary in xml format
some problems occured, that cannot be solved for know.

just imagine:

you specified an element id attribute or some global key in a xml schema defintion.
you have several documents (x,y,z) who include the same document (a) of the same type.
till now all things work and no duplicated ids / keys occure.

but what if we have another document (b) which includes all of them.
in the best case we get 4 duplicate ids, which means that document
was included multiple times.

the same problem is known in context of programming languages and there it is solved
in terms of defines or managed sources. it would be nice if an additional attribute of "include" would
prevent such multiple recursive includes.

something like: <xi:include multiplicity="singular" .... />

in case of "singular" a xml parser could just skip multiple inclusions.

it would be nice, if you consider a modification of the xinclude specification in terms of this aspect.

best regards,

Christian Mei▀ner
Innovation Center Computer Assisted Surgery (ICCAS)
Working Group: Scientific Methods / Surgical Workflow
Received on Monday, 28 July 2008 02:19:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:58:58 UTC