[Home] [By Thread] [By Date] [Recent Entries]
Thank you very much, all of you, for your replies!
You were right, the source of the problem is not the parsing of the XSD. I removed "xsi:noNamespaceSchemaLocation=...", and it didn't resolve the problem. Then I also removed "xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'", and it still didn't resolve the problem. It should have occurred to me to try that, sorry. Anyway, then I looked at the console of Chrome and found out that the problem is not in fact one of speed of performance: The loading of the file takes around 200 ms in either case. But when no DTD is specified, I see the screen turn white for a fraction of a second, which made me believe that the issue was speed. Knowing these things, I realized that the problem is actually a known bug of Chrome. In certain cases, Chrome produces a "white flash" (as it apparently came to be called) before loading a page. Here is one description of it: https://superuser.com/questions/717343/how-can-i-make-chromes-white-flash-when-a-new-tab-is-opened-be-black So the situation is that, when a DTD is specified, no white flash occurs, but when an XSD is specified or nothing is specified, it does occur. I still have not figured out why that is. In one description of the bug, I read that the white flash occurs when a page "of a new domain" is loaded. Maybe, when a DTD is specified, Chrome takes the pages to be of the same domain, and otherwise not. That does not really make sense to me, but it is the only possible explanation that I have found so far. Anyway, I now know the cause of the problem and should be able to find a solution. So, thanks again! As for Firefox, you were right, Martin. Firefox does not execute my stylesheet because it is in the parent folder. If I put the stylesheet into the same folder as the file, Firefox does execute it (provided that the security setting pointed out by Michele is deactivated). And Firefox does not produce a white flash. So, if I can't resolve the problem with Chrome, I might consider moving the stylesheet and switching to Firefox. Many thanks, Wolfhart On 21-02-21 08:37, Martin Honnen martin.honnen@xxxxxx wrote: Am 21.02.2021 um 04:57 schrieb Wolfhart Totschnig wolfhart.totschnig@xxxxxxxxxxx:Thank you, Kurt, Liam, and Michele, for the prompt replies!
|

Cart



