List Info

Thread: Parsing bugs in JSON.st




Parsing bugs in JSON.st
country flaguser name
United States
2007-10-07 16:58:25
Issue status update for 
http://smalltalk.gnu
.org/node/94
Post a follow up: 
http
://smalltalk.gnu.org/project/comments/add/94

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Bindings (other)
 Category:     bug reports
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  elmex
 Updated by:   elmex
 Status:       patch

I've discovered that strings with whitespace are
not read correctly with JSON.st. The parser calls
the next method which gets the next token and not
the next character from the stream.

Here is a patch that will parse from the stream
directly than from self in nextJSONNumber and
nextJSONString:

http://www.ta-sa.org/files/txt/ce61efc9a954ec
e8f4d5ff1256e38a1c.txt




_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk

Parsing bugs in JSON.st
country flaguser name
United States
2007-10-08 01:10:05
Issue status update for 
http://smal
ltalk.gnu.org/project/issue/94
Post a follow up: 
http
://smalltalk.gnu.org/project/comments/add/94

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Bindings (other)
 Category:     bug reports
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  elmex
 Updated by:   bonzinip
-Status:       patch
+Status:       fixed

Fixed, thanks.




_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk

Parsing bugs in JSON.st
country flaguser name
United States
2007-10-08 01:10:48
Issue status update for 
http://smal
ltalk.gnu.org/project/issue/94
Post a follow up: 
http
://smalltalk.gnu.org/project/comments/add/94

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Bindings (other)
 Category:     bug reports
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  elmex
 Updated by:   bonzinip
 Status:       fixed

Fixed, thanks.




_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )