Re: Issue: Unwanted xmlns declarations
Leif H Silli <[email protected]> Wed, 09 Apr 2025 23:20:44 +0200
| Newsgroups | gmane.editors.xxe.general |
|---|---|
| Organization | Lenk.no/Silli |
| Message-ID | <[email protected]> |
I have some new info: I assumed that the namespace declaration only got inserted into XHTML files without the HTML doctype declaration. However, it turns out that the declarations get inserted even in regular XHTML files __with__ the HTML doctype declaration. Further more, when I enable the option to immediately save new documents, I recognized that in the immediately saved file, there are no xmlns declarations. Only when I subsequently write something, and __then__ save the file, do the xmlns attributes get inserted. 2025-04-09 11:58 Hussein Shafie: [ snip ] >> Anyway, I just wondered if this is due to some XXE setting that I >> might have edited? > > I don't see which setting this could be. Then what is it ...? >> Or if it is an XXE bug? > > Even if all these namespace declarations are not useful, they are > pretty harmless. Probably. Unless this is sign of some further misbehavior by XXE. I noticed that in one document, some "<" that should been kept as is, were converted to <. Another issue is that the built in validator/error checker does not detect these namespace declarations: It should reported them as errors. But instead it simply ignores them - it is as if they do not exist. Leif -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support