Révision 3576

TXM/trunk/org.txm.conllu.core/groovy/org/txm/scripts/importer/conllu/CoNLLUImporter.groovy (revision 3576)
241 241
				writer.writeCharacters("\n")
242 242
				
243 243
				for (def comment : comments) {
244
					writer.writeComment(comment.replace("--", ""))
244
					writer.writeComment(comment.replace("--", "−−"))
245 245
					writer.writeCharacters("\n")
246 246
				}
247 247
				
TXM/trunk/org.txm.treetagger.core/src/org/txm/importer/xmltxm/AnnotationInjectionFromTTOutput.groovy (revision 3576)
132 132
					writer.writeCharacters(headerparser.getText());
133 133
			} else if (event == XMLStreamConstants.COMMENT) {
134 134
				if (start)
135
					writer.writeComment(headerparser.getText().replace("--", ""));
135
					writer.writeComment(headerparser.getText().replace("--", "−−"));
136 136
			}
137 137
		}
138 138
		headerparser.close();
TXM/trunk/org.txm.core/src/java/org/txm/scripts/importer/SplitBy.groovy (revision 3576)
164 164
		}
165 165
		else if (event == XMLStreamConstants.COMMENT)
166 166
		{
167
			writer.writeComment(parser.getText().replace("--", ""));
167
			writer.writeComment(parser.getText().replace("--", "−−"));
168 168
		}
169 169
	}
170 170
	
TXM/trunk/org.txm.core/src/java/org/txm/importer/StaxIdentityParser.java (revision 3576)
476 476
	}
477 477
	
478 478
	protected void processComment() throws XMLStreamException {
479
		writer.writeComment(parser.getText().replace("--", ""));
479
		writer.writeComment(parser.getText().replace("--", "−−"));
480 480
	}
481 481
	
482 482
	protected void processEndElement() throws XMLStreamException {
TXM/trunk/org.txm.core/src/java/org/txm/importer/scripts/xmltxm/AnnotationInjectionFromTTOutput.groovy (revision 3576)
132 132
					writer.writeCharacters(headerparser.getText());
133 133
			} else if (event == XMLStreamConstants.COMMENT) {
134 134
				if (start)
135
					writer.writeComment(headerparser.getText().replace("--", ""));
135
					writer.writeComment(headerparser.getText().replace("--", "−−"));
136 136
			}
137 137
		}
138 138
		headerparser.close();
TXM/trunk/org.txm.core/src/java/org/txm/importer/scripts/xmltxm/AnnotationInjection.groovy (revision 3576)
149 149
					writer.writeCharacters(headerparser.getText());
150 150
			} else if (event == XMLStreamConstants.COMMENT) {
151 151
				if (start)
152
					writer.writeComment(headerparser.getText().replace("--", ""));
152
					writer.writeComment(headerparser.getText().replace("--", "−−"));
153 153
			}
154 154
		}
155 155
		headerparser.close();

Formats disponibles : Unified diff