Issue1375
Created on 2009-06-14.18:46:05 by lheuer, last changed 2009-06-16.16:49:49 by lheuer.
| File name |
Uploaded |
Description |
Edit |
Remove |
|
test_sax.py
|
lheuer,
2009-06-14.18:46:04
|
Test which shows the NPE (under Jy, but not under Py) |
|
|
|
drv_javasax.py
|
lheuer,
2009-06-14.19:16:00
|
Fixes the NPE |
|
|
| msg4811 (view) |
Author: Lars Heuer (lheuer) |
Date: 2009-06-14.18:46:03 |
|
In CPython a user accesses the attributes with attrs.get((None, 'attr'))
if the namespace uri should be None. This does not work with Jython, the
SAX parsers expect attrs.get(('', 'attr')) for 'no namespace'
|
| msg4812 (view) |
Author: Lars Heuer (lheuer) |
Date: 2009-06-14.19:16:00 |
|
The attached file fixes the NPE.
attrs.get(('', 'attr')) is still different from Python: Python would not
find the attribute while Jython returns the attribute value. See
test_sax.py for the differences
|
|
| Date |
User |
Action |
Args |
| 2009-06-16 16:49:49 | lheuer | set | versions:
+ 25rc4 |
| 2009-06-14 19:16:01 | lheuer | set | files:
+ drv_javasax.py messages:
+ msg4812 |
| 2009-06-14 18:46:05 | lheuer | create | |
|