From 8d58c6f91da4abf2d6bb794aba06c4e9b23a23cf Mon Sep 17 00:00:00 2001
From: Adam Radziszewski <adam.radziszewski@pwr.wroc.pl>
Date: Mon, 17 Sep 2012 11:28:39 +0200
Subject: [PATCH] another fix in ccl format: DOCTYPE should declare root
 element of xml, that is, chunkList

---
 libcorpus2/io/cclwriter.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libcorpus2/io/cclwriter.cpp b/libcorpus2/io/cclwriter.cpp
index f1299bb..8d89a05 100644
--- a/libcorpus2/io/cclwriter.cpp
+++ b/libcorpus2/io/cclwriter.cpp
@@ -106,7 +106,7 @@ void CclWriter::write_chunk(const Chunk &c)
 void CclWriter::do_header()
 {
 	XmlWriter::do_header();
-	os() << "<!DOCTYPE cesAna SYSTEM \"ccl.dtd\">\n";
+	os() << "<!DOCTYPE chunkList SYSTEM \"ccl.dtd\">\n";
 	os() << "<chunkList";
 	//os() << " xmlns:xlink=\"http://www.w3.org/1999/xlink\"";
 	os() << ">\n";
-- 
GitLab