Fixed an exception that was thrown when the namespace in the external link is a web address.

This commit is contained in:
胡剑波 2020-08-12 16:36:30 +08:00
parent 8d2a8e161b
commit 4da7183b1c

View File

@ -32,7 +32,7 @@ xlnt::uri roundtrip(xml::parser &p, xml::serializer &s)
}
for (auto &ele : attribs)
{
s.attribute(ele.first.string(), ele.second.value);
s.attribute(ele.first, ele.second.value);
}
break;
}