Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

XML & CSS - 100% CPU Use?

0 views
Skip to first unread message

John McClure

unread,
Oct 18, 2002, 3:34:18 PM10/18/02
to
Hello,
When the below code is displayed by IE 6, I am seeing 100%
CPU usage, which won't go away. When I remove the PI for
the stylesheet, CPU usage drops back to zero once the
document rendered, but of course that means I have no CSS
styling. What's going on? It appears that a thread is
running wild.

This may have been answered before, and I missed the reply
to my earlier note. I can't seem to retrieve msgs for the
newsgroup that are older than a few days. If so, pardon me
for asking again.

Thanks,
John McClure

<?xml version="1.0"?>
<?xml-stylesheet type="text/css"?>
<root xmlns:html="http://www.w3.org/1999/xhtml">
<html:style>x {color:red}</html:style>
<x>some text</x>
</root>


John McClure

unread,
Oct 20, 2002, 4:08:02 PM10/20/02
to
I wish it were that simple! This wild thread -- which
absolutely predictably uses 100% of the CPU -- occurs
whether href is there or not on the stylesheet PI. Anyway,
IE still renders it either way, so specifying it is only
important when multiple stylesheets are inside the root
element of the file.

Any other ideas? This is really bugging me!
Thanks,
John
>-----Original Message-----
>"John McClure" <jmcc...@hypergrove.com> wrote in message
>news:720801c276dd$59ae99a0$3bef2ecf@TKMSFTNGXA10...
>: Hello,


>: When the below code is displayed by IE 6, I am seeing
100%
>: CPU usage, which won't go away. When I remove the PI for
>: the stylesheet, CPU usage drops back to zero once the
>: document rendered, but of course that means I have no
CSS
>: styling. What's going on? It appears that a thread is
>: running wild.
>:
>: This may have been answered before, and I missed the
reply
>: to my earlier note. I can't seem to retrieve msgs for
the
>: newsgroup that are older than a few days. If so, pardon
me
>: for asking again.
>:
>: Thanks,
>: John McClure
>:
>: <?xml version="1.0"?>
>: <?xml-stylesheet type="text/css"?>
>

>I think you've left out the href for the stylesheet but I
could be wrong -
>I'm still learning this whole xsl thing.
>
>: <root xmlns:html="http://www.w3.org/1999/xhtml">


>: <html:style>x {color:red}</html:style>
>: <x>some text</x>
>: </root>
>

>RM.
>
>
>.
>

Richard Mahoney

unread,
Oct 20, 2002, 6:33:17 PM10/20/02
to
"John McClure" <jmcc...@hypergrove.com> wrote in message
news:873701c27874$653421d0$35ef2ecf@TKMSFTNGXA11...
: I wish it were that simple! This wild thread -- which

: absolutely predictably uses 100% of the CPU -- occurs
: whether href is there or not on the stylesheet PI. Anyway,
: IE still renders it either way, so specifying it is only
: important when multiple stylesheets are inside the root
: element of the file.

It makes no sense to me.
I can't see anything wrong with your code other than putting spaces after
":"
It's what I've always done, you know, like "color: red" instead of
"color:red".
If it is this, then IE is more stupid than I thought.
Doubt it though....
It might be worth posting to microsoft.public.xml to see if they can sort
it.
RM.


0 new messages