You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by mb...@apache.org on 2007/07/10 20:03:02 UTC

svn commit: r555022 - /incubator/uima/sandbox/trunk/CasEditor/src/main/java/org/apache/uima/caseditor/core/model/dotcorpus/DotCorpusSerializer.java

Author: mbaessler
Date: Tue Jul 10 11:03:01 2007
New Revision: 555022

URL: http://svn.apache.org/viewvc?view=rev&rev=555022
Log:
UIMA-493

applied patch uima-493.patch

JIRA ticket https://issues.apache.org/jira/browse/UIMA-493

Modified:
    incubator/uima/sandbox/trunk/CasEditor/src/main/java/org/apache/uima/caseditor/core/model/dotcorpus/DotCorpusSerializer.java

Modified: incubator/uima/sandbox/trunk/CasEditor/src/main/java/org/apache/uima/caseditor/core/model/dotcorpus/DotCorpusSerializer.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/CasEditor/src/main/java/org/apache/uima/caseditor/core/model/dotcorpus/DotCorpusSerializer.java?view=diff&rev=555022&r1=555021&r2=555022
==============================================================================
--- incubator/uima/sandbox/trunk/CasEditor/src/main/java/org/apache/uima/caseditor/core/model/dotcorpus/DotCorpusSerializer.java (original)
+++ incubator/uima/sandbox/trunk/CasEditor/src/main/java/org/apache/uima/caseditor/core/model/dotcorpus/DotCorpusSerializer.java Tue Jul 10 11:03:01 2007
@@ -189,7 +189,7 @@
     
     try {
       xmlSerHandler.startDocument();
-      xmlSerHandler.startElement("", CONFIG_ELEMENT, CONFIG_ELEMENT, null);
+      xmlSerHandler.startElement("", CONFIG_ELEMENT, CONFIG_ELEMENT, new AttributesImpl());
 
       for (String corpusFolder : dotCorpus.getCorpusFolderNameList()) {
         AttributesImpl corpusFolderAttributes = new AttributesImpl();