On 11.07.2025 12:19 by Hussein Shafie:

... snip ...
Now when you indent manually as follows your saved XHTML5 file to workaround this XXE "deficiency":

   <body>
     <p>Foo</p>
     <p>Bar</p>
   </body>

XXE not finding any xml:space=preserve, considers xml:space=default.

I forgot to react to this.

We can agree that XXE consider xml:space=default as long as the whitespace in the source code is concerned.

But like I indicated in my first message, XXE’s *WYSIWYG editing interface* does **not** behave as if xml:space=default !

The WYSIWYG editing interface behaves as if the space characters in the following code example are signficant!

<body><space><p>Lorem.</p><space><Ipsum></p><space></body>

Or else it would not have displayed those space characters as an empty lines – empty paragraphs – over, between or after the <p> elements. It simply makes no sense. And the only reason you do not want to fix this issue, is because, in practise, you apparently have not experienced this happening to yourself.

Anyway. I shall try to not fuzz more about this – but instead try to make use of the XSD solution you devised.

Leif Halvard Silli


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

Reply via email to