Hello,

I have 2 XXE configurations (say, A and B), with different "detect"
elements, using the same standard XInclude inclusionScheme. I load 2
documents in XXE, say a.xml which is detected by config A and b.xml detected
by B. Both documents contain the same xi:include element with the same
attributes. XXE displays a.xml with xincluded data, but it displays b.xml
with the xi:include element unincluded. I can select the xi:include element
in b.xml and do Edit, Reference, Retransclude to see the xincluded data.
Saving b.xml then doesn't make any difference: next time I re-open b.xml,
xinclude's are unincluded again.

What can I have done wrong in configuration B, so that xinclusions are not
active immediately on document load?

Both configs use:

   - <cfg:inclusionScheme name="XInclude">
       <cfg:class>com.xmlmind.xml.xinclude.XIncludeScheme</cfg:class>
     </cfg:inclusionScheme>
   - and the same CSS to style the xi:include element and also its parent
   element

They notably differ in that config A and a.xml have a DTD defined while
config B and b.xml don't have any schema defined.

Thank you for any help.
Benoit


-- 
Benoit Maisonny
Director & Consultant          http://synclude.com
Synclude
 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to