Node tagnames are case-insensitive during the first visit, but were case-sensitive while revisiting causing NullPointerException. They should be case-insensitive always.
On 2010/07/19 09:34:21, gagan.goku wrote: > Looks good. > Question: should we do the same ...
15 years, 8 months ago
(2010-07-19 09:36:21 UTC)
#2
On 2010/07/19 09:34:21, gagan.goku wrote:
> Looks good.
> Question: should we do the same for the attribute name ?
The parser should ideally do that while creating the DOM from the html. It does
not happen currently and should be fixed separately.
On 2010/07/19 09:36:21, Kuntal Loya wrote: > On 2010/07/19 09:34:21, gagan.goku wrote: > > Looks ...
15 years, 8 months ago
(2010-07-19 09:38:11 UTC)
#3
On 2010/07/19 09:36:21, Kuntal Loya wrote:
> On 2010/07/19 09:34:21, gagan.goku wrote:
> > Looks good.
> > Question: should we do the same for the attribute name ?
>
> The parser should ideally do that while creating the DOM from the html. It
does
> not happen currently and should be fixed separately.
This is not fully true, because javascript might be referring to the attribute
which is not lowercased.
No need to do anything more in this cl. But please add a todo in this cl so we
remember to fix it later.
On Mon, Jul 19, 2010 at 3:08 PM, <gagan.goku@gmail.com> wrote: > On 2010/07/19 09:36:21, Kuntal ...
15 years, 8 months ago
(2010-07-19 10:06:30 UTC)
#4
On Mon, Jul 19, 2010 at 3:08 PM, <gagan.goku@gmail.com> wrote:
> On 2010/07/19 09:36:21, Kuntal Loya wrote:
>
>> On 2010/07/19 09:34:21, gagan.goku wrote:
>> > Looks good.
>> > Question: should we do the same for the attribute name ?
>>
>
> The parser should ideally do that while creating the DOM from the
>>
> html. It does
>
>> not happen currently and should be fixed separately.
>>
>
> This is not fully true, because javascript might be referring to the
> attribute which is not lowercased.
>
Node attributes in JavaScript are case insensitive.
> No need to do anything more in this cl. But please add a todo in this cl
> so we remember to fix it later.
>
>
> http://codereview.appspot.com/1696053/show
>
--
Kuntal
Nice to know :) On Mon, Jul 19, 2010 at 3:36 PM, Kuntal Loya <kuntal@google.com> ...
15 years, 8 months ago
(2010-07-19 10:11:48 UTC)
#5
Nice to know :)
On Mon, Jul 19, 2010 at 3:36 PM, Kuntal Loya <kuntal@google.com> wrote:
>
>
> On Mon, Jul 19, 2010 at 3:08 PM, <gagan.goku@gmail.com> wrote:
>
>> On 2010/07/19 09:36:21, Kuntal Loya wrote:
>>
>>> On 2010/07/19 09:34:21, gagan.goku wrote:
>>> > Looks good.
>>> > Question: should we do the same for the attribute name ?
>>>
>>
>> The parser should ideally do that while creating the DOM from the
>>>
>> html. It does
>>
>>> not happen currently and should be fixed separately.
>>>
>>
>> This is not fully true, because javascript might be referring to the
>> attribute which is not lowercased.
>>
>
> Node attributes in JavaScript are case insensitive.
>
>
>
>> No need to do anything more in this cl. But please add a todo in this cl
>> so we remember to fix it later.
>>
>>
>> http://codereview.appspot.com/1696053/show
>>
>
>
>
> --
> Kuntal
>
Node tagnames are case-insensitive during the first visit, but were case-sensitive while revisiting causing NullPointerException. ...
15 years, 8 months ago
(2010-07-19 12:19:32 UTC)
#7
Node tagnames are case-insensitive during the first visit, but were
case-sensitive while revisiting causing NullPointerException. They should be
case-insensitive always.
LGTM, submitted. Thanks! On 2010/07/19 12:19:32, Kuntal Loya wrote: > Node tagnames are case-insensitive during ...
15 years, 8 months ago
(2010-07-19 17:00:17 UTC)
#8
LGTM, submitted. Thanks!
On 2010/07/19 12:19:32, Kuntal Loya wrote:
> Node tagnames are case-insensitive during the first visit, but were
> case-sensitive while revisiting causing NullPointerException. They should be
> case-insensitive always.
Issue 1696053: Node tagnames should be case-insensitive
(Closed)
Created 15 years, 8 months ago by Kuntal Loya
Modified 15 years, 8 months ago
Reviewers: johnfargo, zhoresh, shindig.remailer_gmail.com, dev-remailer_shindig.apache.org
Base URL: http://svn.apache.org/repos/asf/shindig/trunk/
Comments: 0