Thread: [Htmlparser-user] Parsing STYLE tag
Brought to you by:
derrickoswald
From: <dha...@or...> - 2002-09-28 09:08:42
Attachments:
BDY.RTF
|
The following tag : <STYLE type=3D"text/css"> <!-- {somethign....something} --> </STLYE> =A0 when parsed through the HTML parser and printed once again using toHTML() results in the following <STYLE> <!-- {something...something} --> </STYLE> =A0 As seen the type attribute is disappearing. I think some change on that front is required. Regards,=20 Dhaval Udani=20 Senior Analyst=20 M-Line, QPEG=20 OrbiTech Solutions Ltd.=20 +91-22-8290019 Extn. 1457=20 =A0 -----Original Message----- From: Udani, Dhaval H.=20 Sent: Wednesday, September 18, 2002 1:25 PM To: htmlparser-user Cc: Udani, Dhaval H. Subject: RE: [Htmlparser-user] Parsing 'Base' tag .... =20 =20 Hi Somik, =A0 Just to update=A0the below-mentioned=A0list with a=A0bug I had reporte= d earlier : =A0 If there are some special characters(we found a problem with <) within HTML comments then all lines upto that line(on which the charcter is present) gets deleted when you reprint the tag(using toHTML()). I have been using Node.toHTML() and I am assuming that the tag will get parsed as a HTMLRemarkNode and its toHTML() will get called. Whatever the case the output is distinctly different from the input. Even the starting HTML comments i.e. <!--=A0 get deleted. Regards,=20 Dhaval Udani=20 Senior Analyst=20 M-Line, QPEG=20 OrbiTech Solutions Ltd.=20 +91-22-8290019 Extn. 1457=20 =A0 -----Original Message----- From: somik [mailto:so...@ya...] Sent: Wednesday, September 18, 2002 11:55 AM To: htmlparser-user Cc: somik Subject: Re: [Htmlparser-user] Parsing 'Base' tag .... =20 =20 =20 Hi Joe, =A0=A0=A0 Thanks for bringing this up - its been on my mind for a w= hile. We should handle this before making the production release. As of now, we have a couple of issues to sort out : [1] Ensure all testcases pass on Linux [2] Look into Dhaval's reports of modification of representation of tags [3] Handle Base Tags as a special case of the link tag [4] Add functionality to the feedback API=20 =A0 I might be able to spend some time on these from next week. But any help in any of these is highly appreciated.=20 =A0 Regards, Somik =20 |
From: Somik R. <so...@ya...> - 2002-09-30 09:02:00
|
Hi Dhaval, This is fixed now. Will be in the next integration release. Bytway, do put in bug reports on the site. Regards, Somik ----- Original Message ----- From: <dha...@or...> To: <htm...@li...> Sent: Saturday, September 28, 2002 2:38 PM Subject: [Htmlparser-user] Parsing STYLE tag The following tag : <STYLE type="text/css"> <!-- {somethign....something} --> </STLYE> when parsed through the HTML parser and printed once again using toHTML() results in the following <STYLE> <!-- {something...something} --> </STYLE> As seen the type attribute is disappearing. I think some change on that front is required. Regards, Dhaval Udani Senior Analyst M-Line, QPEG OrbiTech Solutions Ltd. +91-22-8290019 Extn. 1457 -----Original Message----- From: Udani, Dhaval H. Sent: Wednesday, September 18, 2002 1:25 PM To: htmlparser-user Cc: Udani, Dhaval H. Subject: RE: [Htmlparser-user] Parsing 'Base' tag .... Hi Somik, Just to update the below-mentioned list with a bug I had reported earlier : If there are some special characters(we found a problem with <) within HTML comments then all lines upto that line(on which the charcter is present) gets deleted when you reprint the tag(using toHTML()). I have been using Node.toHTML() and I am assuming that the tag will get parsed as a HTMLRemarkNode and its toHTML() will get called. Whatever the case the output is distinctly different from the input. Even the starting HTML comments i.e. <!-- get deleted. Regards, Dhaval Udani Senior Analyst M-Line, QPEG OrbiTech Solutions Ltd. +91-22-8290019 Extn. 1457 -----Original Message----- From: somik [mailto:so...@ya...] Sent: Wednesday, September 18, 2002 11:55 AM To: htmlparser-user Cc: somik Subject: Re: [Htmlparser-user] Parsing 'Base' tag .... Hi Joe, Thanks for bringing this up - its been on my mind for a while. We should handle this before making the production release. As of now, we have a couple of issues to sort out : [1] Ensure all testcases pass on Linux [2] Look into Dhaval's reports of modification of representation of tags [3] Handle Base Tags as a special case of the link tag [4] Add functionality to the feedback API I might be able to spend some time on these from next week. But any help in any of these is highly appreciated. Regards, Somik |