projects
/
shibboleth
/
cpp-xmltooling.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cad69d
)
ID attribute processing bug.
author
Scott Cantor
<cantor.2@osu.edu>
Wed, 10 May 2006 18:03:52 +0000
(18:03 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Wed, 10 May 2006 18:03:52 +0000
(18:03 +0000)
xmltooling/base.h
patch
|
blob
|
history
diff --git
a/xmltooling/base.h
b/xmltooling/base.h
index
c471dc2
..
7398e0c
100644
(file)
--- a/
xmltooling/base.h
+++ b/
xmltooling/base.h
@@
-573,7
+573,7
@@
#define PROC_ID_ATTRIB(proper,ucase,namespaceURI) \
if (xmltooling::XMLHelper::isNodeNamed(attribute, namespaceURI, ucase##_ATTRIB_NAME)) { \
set##proper(attribute->getValue()); \
-
static_cast<DOMElement*>(attribute->getParentNode()
)->setIdAttributeNode(attribute); \
+
attribute->getOwnerElement(
)->setIdAttributeNode(attribute); \
return; \
}