W3C home > Mailing lists > Public > www-validator@w3.org > February 2007

Re: "character data is not allowed here" problem with Unicode Chinese

From: Allan Dyer <adyer@yuikee.com.hk>
Date: Wed, 07 Feb 2007 13:29:19 +0800
To: olivier Thereaux <ot@w3.org>, www-validator@w3.org
Message-ID: <45C9D42F.15641.944301@adyer.yuikee.com.hk>

On 6 Feb 2007 at 14:20, olivier Thereaux wrote:
> The error is actually coming from your usage of the XHTML-style  
> construct /> to close the <meta>, when you are using HTML 4.01. Use
> <meta .... >

Thanks. fixed it now.

> There is indeed a (old, which was fixed a couple of years ago and  
> broke again recently - not sure yet why) bug making the validator  
> highlight the wrong position in the source display, but there is no  
> problem in the validator's recognition of the utf-8 string.

It might be coincidence, but the byte count to the position where the 
highlighted character is is the same as the character count to the '>'. Perhaps 
the highlighting routine doesn't know how to count Unicode characters?

Allan Dyer

 Allan Dyer, CISSP, MHKCS, MIAP | adyer@yuikee.com.hk
 Chief Consultant                | http://www.yuikee.com.hk/
 Yui Kee Computing Ltd.         | +852 28708555
Received on Wednesday, 7 February 2007 05:29:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:51 UTC