You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Hansjörg Meuschel <hj...@gmx.de> on 2005/11/24 14:47:19 UTC

WARN ReducedHTMLParser:558 - Invalid tag found: unexpected input while looking for attr name or '/>' at line 6091

Hi,
since I updated to the last nightly built, i get the following error on 
almost every page:

WARN ReducedHTMLParser:558 - Invalid tag found: unexpected input while 
looking for attr name or '/>' at line 6091

What's the reason for this?? Is there a problem with the last built?

see you guys!
Hans

Re: WARN ReducedHTMLParser:558 - Invalid tag found: unexpected input while looking for attr name or '/>' at line 6091

Posted by Hansjörg Meuschel <hj...@gmx.de>.
Hello Simon,
I'll try tomorrow and will post results!
Thanks for your reply!
Hans


Simon Kitching wrote:

> Hi,
>
> Hansjörg Meuschel wrote:
>
>> Hi,
>> since I updated to the last nightly built, i get the following error 
>> on almost every page:
>>
>> WARN ReducedHTMLParser:558 - Invalid tag found: unexpected input 
>> while looking for attr name or '/>' at line 6091
>>
>> What's the reason for this?? Is there a problem with the last built?
>>
>
> There's no known bugs in ReducedHTMLParser.
>
> Please view the source of the resulting HTML page from line 6091 
> onwards and look for any malformed data. Note that the problem is at 
> line 6091 *before* any <script> or <link> tags were inserted into the 
> head section of the HMTL, so the actual problem line may now be a 
> little later in the file.
>
> Something like:
>   <foo ####/>
> would trigger this warning. ReducedHTMLParser clearly thinks it has 
> seen a tag start, eg "<foo", and is then looking for an attribute 
> definition, ">" or "/>" but found something that is not valid as an 
> attribute name.
>
> I'll try to find time to make the warning message output a little more 
> context information to make it easier to locate the problem line.
>
> Of course there is always the *possibility* that ReducedHTMLParser has 
> a bug, but there is no way to track that down unless someone can 
> provide example input that triggers the problem, so either way it's 
> unfortunately up to you to figure out the cause!
>
> Regards,
>
> Simon
>
>


-- 
Mit freundlichen Grüßen,

------------------------------
 Hansjörg Meuschel
 Martin-Treu-Str. 40
 90403 Nürnberg
 Tel.   +49 (0)911 274 278 1
 mobil: +49 (1)60 725 3479
 mail:  hjmeu@gmx.de
 http://www.meuschel.net


Re: WARN ReducedHTMLParser:558 - Invalid tag found: unexpected input while looking for attr name or '/>' at line 6091

Posted by Simon Kitching <sk...@obsidium.com>.
Hi,

Hansjörg Meuschel wrote:
> Hi,
> since I updated to the last nightly built, i get the following error on 
> almost every page:
> 
> WARN ReducedHTMLParser:558 - Invalid tag found: unexpected input while 
> looking for attr name or '/>' at line 6091
> 
> What's the reason for this?? Is there a problem with the last built?
> 

There's no known bugs in ReducedHTMLParser.

Please view the source of the resulting HTML page from line 6091 onwards 
and look for any malformed data. Note that the problem is at line 6091 
*before* any <script> or <link> tags were inserted into the head section 
of the HMTL, so the actual problem line may now be a little later in the 
file.

Something like:
   <foo ####/>
would trigger this warning. ReducedHTMLParser clearly thinks it has seen 
a tag start, eg "<foo", and is then looking for an attribute definition, 
">" or "/>" but found something that is not valid as an attribute name.

I'll try to find time to make the warning message output a little more 
context information to make it easier to locate the problem line.

Of course there is always the *possibility* that ReducedHTMLParser has a 
bug, but there is no way to track that down unless someone can provide 
example input that triggers the problem, so either way it's 
unfortunately up to you to figure out the cause!

Regards,

Simon