Dear M. Shafie,

We have a small XXE addon to let our users edits partially the content of some specific XML files. The problem we face is the following:

+ We have a valid XML schema for this type of XML files, but for historical reasons, there is no reference to any XML namespace in our XML instances (xmlns is missing).

Our XXE addon detects correctly the appropriate configuration based on top element. Then, it correctly points to the correct XML schema, CSS styles, etc etc/

All this works great, providing that we manually add the missing XML namespace attribute to our XML instances, e.g.: *xmlns="http://www.cggveritas.com/geovation/module/g2"*

Is there a way to "fake" this declaration and make XXE believes that the XML instances contain a properly formed xmlns attribute ? Or is there any other way around ? (for backward-compatibility issues, we simply cannot modify the XML instances and add this attribute....).

many thanks for your help,
Best regards.


 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to