GNOME Bugzilla – Bug 752657
XML not documenting a class in python
Last modified: 2015-12-30 10:20:07 UTC
Hi, I'm trying to document the python package https://github.com/simplejson/simplejson, and looking on the xml output. It does document many classes/functions, but misses key elements, like: 1) class JSONEncoder https://github.com/simplejson/simplejson/blob/master/simplejson/encoder.py#L89 2) class JSONDecoder https://github.com/simplejson/simplejson/blob/master/simplejson/decoder.py#L272 Tried in v1.8.9, didn't work, updated today to the latest git and still bug occurs. If you need any more info regarding this issue I'll be happy to provide. Thanks.
Update: 1) These classes and their methods don't appear in the HTML output as well. 2) I've found a lead on where the bug is - if you remove the following lines of codes - https://github.com/simplejson/simplejson/blob/master/simplejson/encoder.py#L19-33 and rerun doxygen, it does correctly output "class JSONEncoder" and its methods. Hope it helps. Again, if there's any more info or tests I can do to help, please let me know. Thanks.
Problem looks like to be the double quote in a single quoted string, in this case in the definition of ESCAPE. I've just pushed a proposed patch to github (pull request 372)
Thanks, I've merged the pull request
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.11. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant (preferably in the form of a self-contained example).