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:
3c21c88
)
Note visible usage of prefix on xsi:* attributes.
author
Scott Cantor
<cantor.2@osu.edu>
Tue, 19 Jan 2010 17:55:25 +0000
(17:55 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Tue, 19 Jan 2010 17:55:25 +0000
(17:55 +0000)
xmltooling/io/AbstractXMLObjectUnmarshaller.cpp
patch
|
blob
|
history
diff --git
a/xmltooling/io/AbstractXMLObjectUnmarshaller.cpp
b/xmltooling/io/AbstractXMLObjectUnmarshaller.cpp
index
4d0f8cc
..
cf58a54
100644
(file)
--- a/
xmltooling/io/AbstractXMLObjectUnmarshaller.cpp
+++ b/
xmltooling/io/AbstractXMLObjectUnmarshaller.cpp
@@
-146,6
+146,8
@@
void AbstractXMLObjectUnmarshaller::unmarshallAttributes(const DOMElement* domEl
setNil(attribute->getValue());
continue;
}
+ // Note that the prefix is visibly used.
+ addNamespace(Namespace(nsuri, attribute->getPrefix()));
}
else if (nsuri && !XMLString::equals(nsuri,XML_NS)) {
m_log.debug("found namespace-qualified attribute, adding prefix to the list of namespaces on the XMLObject");