English 中文(简体)
Doxyclean Error
原标题:
  • 时间:2010-01-14 15:46:32
  •  标签:
  • doxygen

I m trying to run doxyclean but can t get it to work, any help would be appreciated...

I m running from terminal :

./doxyclean.py --input=./xml/ --output=./clean/ --name="MyProject" --phone -v

I have my doxygen xml in the folder xml, in the same directory as doxyclean.py

The result is :

Checking arguments
Cleaning XML files:
Traceback (most recent call last):
  File "./doxyclean.py", line 1220, in <module>
    sys.exit(main())
  File "./doxyclean.py", line 1171, in main
    cleanXML(filePath, xmlOutputDirectory)
  File "./doxyclean.py", line 93, in cleanXML
    if not fileIsDocumented(filePath):
  File "./doxyclean.py", line 62, in fileIsDocumented
    originaldoc = minidom.parse(filePath)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/dom/minidom.py", line 1918, in parse
    return expatbuilder.parse(file)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/dom/expatbuilder.py", line 924, in parse
    result = builder.parseFile(fp)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/dom/expatbuilder.py", line 207, in parseFile
    parser.Parse(buffer, 0)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 17, column 155

thanks

问题回答

did you try other ways, my suggestions

  1. use different version of doxyclean
  2. change the arguments to different style, maybe give full paths to the folders. ./doxyclean.py -i Users/xxx/doxyclean/xml/ -o ./clean/ -p
  3. regenerate xml from doxygen

doxyclean works fine. I got this error too and I tried my suggestion 2 and it worked.





相关问题
Is there a standard for documenting GET/POST parameters?

In a PHP project, even when front controller logic is used for the main application, there can be many stand-alone scripts, ajax snippets and so on. Is there a standardized way - either PHPDoc or ...

How to use eclox, the doxygen plugin for Eclipse

How do I get eclox working in Eclipse 3.5? I m using Ubuntu 9.04. I installed Doxygen from ubuntu repositories(version 1.5.8). Then I installed eclox on eclipse through the update site. Despite this,...

Doxyclean Error

I m trying to run doxyclean but can t get it to work, any help would be appreciated... I m running from terminal : ./doxyclean.py --input=./xml/ --output=./clean/ --name="MyProject" --phone -v I ...

Doxygen and Objective-C categories

Although the latest releases of Doxygen claim better handling of Objective-C categories, it still seems to choke on categories in my source code. I m wondering if someone has gotten it to document ...

Algorithm to parse a config file in php (Doxygen file)

I have a conf file like this: http://pastie.org/768582 and my goal is to get in an array the comments and the key/value of each keys. array( array( comment => "The PROJECT_NAME tag is a ...

热门标签