The sanitizer tests seem to be broken with simplejson:

[EMAIL PROTECTED]:~/html5/html5lib/trunk/python/tests$ python test_sanitizer.py
Traceback (most recent call last):
   File "test_sanitizer.py", line 91, in <module>
     main()
   File "test_sanitizer.py", line 87, in main
     buildTestSuite()
   File "test_sanitizer.py", line 81, in buildTestSuite
     for test in simplejson.load(file(filename)):
   File "/home/james/html5/html5lib/trunk/python/src/__init__.py", line 241, in 
load

   File "/home/james/html5/html5lib/trunk/python/src/__init__.py", line 262, in 
loads

   File 
"/usr/lib/python2.5/site-packages/simplejson-1.7.1-py2.5.egg/simplejson/decoder.py",
 
line 251, in decode
   File 
"/usr/lib/python2.5/site-packages/simplejson-1.7.1-py2.5.egg/simplejson/decoder.py",
 
line 268, in raw_decode
   File 
"/usr/lib/python2.5/site-packages/simplejson-1.7.1-py2.5.egg/simplejson/scanner.py",
 
line 50, in iterscan
   File 
"/usr/lib/python2.5/site-packages/simplejson-1.7.1-py2.5.egg/simplejson/decoder.py",
 
line 171, in JSONArray
   File 
"/usr/lib/python2.5/site-packages/simplejson-1.7.1-py2.5.egg/simplejson/scanner.py",
 
line 50, in iterscan
   File 
"/usr/lib/python2.5/site-packages/simplejson-1.7.1-py2.5.egg/simplejson/decoder.py",
 
line 138, in JSONObject
   File 
"/usr/lib/python2.5/site-packages/simplejson-1.7.1-py2.5.egg/simplejson/scanner.py",
 
line 50, in iterscan
   File 
"/usr/lib/python2.5/site-packages/simplejson-1.7.1-py2.5.egg/simplejson/decoder.py",
 
line 113, in JSONString
   File 
"/usr/lib/python2.5/site-packages/simplejson-1.7.1-py2.5.egg/simplejson/decoder.py",
 
line 97, in scanstring
ValueError: Invalid \escape: 'a': line 38 column 46 (char 1019)

also, hsivonen's latest checkin seems to have introduced more failing 
comment-related tests.

Sadly, I don't have any time to fix these issues today.

-- 
"Eternity's a terrible thought. I mean, where's it all going to end?"
  -- Tom Stoppard, Rosencrantz and Guildenstern are Dead

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"html5lib-discuss" group.
 To post to this group, send email to [email protected]
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.com/group/html5lib-discuss?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

Reply via email to