fixed setPrefix

This commit is contained in:
jez_higgins 2005-10-15 22:46:10 +00:00
parent 16537e03dc
commit f9d4da5bb8

View file

@ -79,7 +79,7 @@ class ElementNSImpl : public ElementImpl<stringT, string_adaptorT>
checkPrefixAndNamespace<stringT, string_adaptorT>(true, prefix, true, namespaceURI_, DOM::Node<stringT>::ELEMENT_NODE);
string_adaptorT::append(ElementImplT::tagName_, prefix);
ElementImplT::tagName_ = prefix;
string_adaptorT::append(ElementImplT::tagName_, string_adaptorT::construct_from_utf8(":"));
string_adaptorT::append(ElementImplT::tagName_, localName_);
} // setPrefix