question regarding dtd in xxe-file and declaration for # within xml-file
"Madlik, Monika (LNG-VIE)" <[email protected]> Tue, 28 Jun 2022 09:50:45 +0000
| Newsgroups | gmane.editors.xxe.general |
|---|---|
| Message-ID | <PH0PR08MB7553178575004F6C1FC3423BE4B89@PH0PR08MB7553.namprd08.prod.outlook.com> |
Hello Hussein, we are using XMLMind Professional Edition 9.5.1 and I have a problem with my DTD and an additional needed nbsp-declaration within my template. In my xxe-file I declared the DTD like this: <cfg:dtd systemId="dtd/artikel_intern.dtd"/> So, when I open a template with this xxe-file, it's automatically validated. BUT - in my template I have another declaration included: <!DOCTYPE artikel [<!ENTITY nbsp " ">]> So if a user opens a template, my expectation is, that the template is validated against the given DTD AND when I save the file, that the additional declaration (<cfg:dtd systemId="dtd/artikel_intern.dtd"/>) is included in the saved xml-file. BUT when I save my file, the additional declaration is not existent in the saved file anymore. In the old versions this wasn't a problem. Is there any possibility to do this in version 9.5.1 as well? I need the additional declaration (<!DOCTYPE artikel [<!ENTITY nbsp " ">]>) mandatory in my saved file. Otherwise I have a problem with further transformations ... Thanks a lot, Monika -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support