Dave <[EMAIL PROTECTED]> writes:
> I have solved the problem I was having thanks to the info here. All I had
> to do was pass is_cdata as an arg to the handler and only print if it was
> false.
The downside of this approach is that the content of elements is
not printed. But this tag is anywa
Bjoern Hoehrmann <[EMAIL PROTECTED]> writes:
> "Although the STYLE and SCRIPT elements use CDATA for their data
> model, for these elements, CDATA must be handled differently by user
> agents. Markup and entities must be treated as raw text and passed to
> the application as is. The first occurre
"Sean M. Burke" <[EMAIL PROTECTED]> writes:
> At 11:21 PM 2001-01-11 +0100, Bjoern Hoehrmann wrote:
> >At 15:28 11.01.01 -0500, you wrote:
> >>It seems that the parser is not properly detecting multi-line HTML
> >>comments. I was trying to print out the dtext of a html document and
> >>noticed t
I have solved the problem I was having thanks to the info here. All I had
to do was pass is_cdata as an arg to the handler and only print if it was
false. Thanks very much.
dave
On Fri, 12 Jan 2001, Sean M. Burke wrote:
> At 11:21 PM 2001-01-11 +0100, Bjoern Hoehrmann wrote
At 00:35 12.01.01 -0700, you wrote:
> >>
> >
> >Well, the content model of the style element is CDATA, your "comments"
> >may look like comments but they are no comments in HTML and SGML
> >terms. That's not a bug.
>
>I don't see what's wrong with that comment.
See HTML 4.01 section 6.2 on CDATA:
At 11:21 PM 2001-01-11 +0100, Bjoern Hoehrmann wrote:
>At 15:28 11.01.01 -0500, you wrote:
>>It seems that the parser is not properly detecting multi-line HTML
>>comments. I was trying to print out the dtext of a html document and
>>noticed that comments kept showing up in the output. Upon furth
At 15:28 11.01.01 -0500, you wrote:
>It seems that the parser is not properly detecting multi-line HTML
>comments. I was trying to print out the dtext of a html document and
>noticed that comments kept showing up in the output. Upon further
>examination, the single line comments were being ignor
It seems that the parser is not properly detecting multi-line HTML
comments. I was trying to print out the dtext of a html document and
noticed that comments kept showing up in the output. Upon further
examination, the single line comments were being ignored but ones like
this:
were appearin