
On Tue, July 17, 2007 16:13, George Cristian Bina wrote:
Dear Timothy,
oXygen has an option "Enable XInclude processing" that I believe is enabled by default. When that is enables the validation against XML Schema is performed after XInclude processing, that means the XML Schema should not care about defining the xi:include element but it should take into account that the included fragment will have an xml:base attribute pointing to the location it was included from and probably also an xml:lang. So for instance if you want to have scope elements inside scopes and you plan to include scope elements from other documents using XInclude then you should define xml:base (and xml:lang) to be allowed in the scope element.
When the XInclude processing is not enabled then oXygen will validate the document as it is against the specified XML Schema. In that case you need to refer to the xi:include element inside the schema, as in your sample. The problem in your case is the wrong namespace that you used in import, the correct nemespace is http://www.w3.org/2001/XInclude, that is not with 2003.
Best Regards, George
Do you have a sample document that shows this working correctly?