add XML namespace based on the Tag URI scheme (RFC 4151): xmlns="tag:globalcode.info,2018:relpipe" v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Sat, 05 Jan 2019 18:38:14 +0100
branchv_0
changeset 12 b8274181b061
parent 11 261754581b2d
child 13 816094aa1fff
add XML namespace based on the Tag URI scheme (RFC 4151): xmlns="tag:globalcode.info,2018:relpipe"
src/XmlHandler.h
--- a/src/XmlHandler.h	Thu Dec 20 00:26:00 2018 +0100
+++ b/src/XmlHandler.h	Sat Jan 05 18:38:14 2019 +0100
@@ -87,7 +87,7 @@
 
 		if (relationCount == 0) {
 			output << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" << std::endl;
-			output << "<pipe>" << std::endl;
+			output << "<pipe xmlns=\"tag:globalcode.info,2018:relpipe\">" << std::endl;
 			// TODO: xmlns
 		} else {
 			output << INDENT << INDENT << "</record>" << std::endl;