Skip to content

Commit

Permalink
Fixed XML parsing to accept SFCB-style embedded instance parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bart Whiteley committed Jun 2, 2009
1 parent fb52901 commit 5247b48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ pywbem-0.7.0 XXXX-XX-XX
(called from CMPI cleanup() functions). Support was recently added
to cmpi-bindings for this. (Bart Whiteley)

* Fixed XML parsing to accept SFCB-style embedded instance parameters.
(Mihai Ibanescu)

PACKAGING:

* Added LICENSE.txt file to release. (Tim Potter)
Expand Down
2 changes: 2 additions & 0 deletions tupletree.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ def dom_to_tupletree(node):
assert isinstance(child.nodeValue, types.StringTypes), \
"text node %s is not a string" % `child`
contents.append(child.nodeValue)
elif child.nodeType == child.CDATA_SECTION_NODE:
contents.append(child.nodeValue)
else:
raise RuntimeError("can't handle %s" % child)

Expand Down

0 comments on commit 5247b48

Please sign in to comment.