Unable to parse WADL string due to incorrect XML namespace
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wadllib |
New
|
Undecided
|
Unassigned |
Bug Description
I attempted to use wadllib to parse the following example WADL file:
http://
However, I got the following error:
```
Traceback (most recent call last):
File "/home/
wadl = Application("http://
File "/home/
self.
AttributeError: 'NoneType' object has no attribute 'attrib'
```
So after some investigation, I noticed that wadllib searches for tags using the "http://
http://
Meanwhile, the WADL specification states that "http://
http://
So my question is, am I using wadllib incorrectly? The XML namespace seems to be hardcoded and I don't see any way of setting an "XML namespace" parameter in the Application class constructor. Or is this a bug?
Thanks in advance!
I'm seeing the same issue when trying to parse the Confluence Questions API WADL file from https:/ /docs.atlassian .com/confluence -questions/ rest/applicatio n.wadl .
I know this issue is five years old, but I'm guessing that means nobody is paying attention to this project any more.