#3504: CKPackager creates invalid JavaScript
-------------------------------------+--------------------------------------
 Reporter:  highjinx_53              |       Owner:  wwalc         
     Type:  Bug                      |      Status:  new           
 Priority:  Normal                   |   Milestone:  CKEditor 3.0  
Component:  Project : FCKpackager    |     Version:  SVN (CKEditor)
 Keywords:  Confirmed 3.0RC Review?  |  
-------------------------------------+--------------------------------------
Changes (by wwalc):

  * keywords:  Confirmed 3.0RC => Confirmed 3.0RC Review?


Comment:

 In the Ecma-262 specs (7.8.3 Numeric Literals), we have the following:

 {{{
 NumericLiteral ::
 DecimalLiteral
 HexIntegerLiteral
 }}}
 and later on:
 {{{
 DecimalLiteral ::
 DecimalIntegerLiteral...
 (...)
 }}}

 {{{
 DecimalIntegerLiteral ::
 0
 NonZeroDigit DecimalDigitsopt
 }}}

 ..so only 0 and numbers starting with 1-9 are ok. Because numbers starting
 with 0 are treated as octal numbers (Annex B, B.1.1), I think all we need
 to do is to modify regular expression in CKPackager and put numbers in
 single quotes if they start with '0'.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3504#comment:2>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
FCKeditor-Trac mailing list
FCKeditor-Trac@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to