Project

General

Profile

« Previous | Next » 

Revision 8b8d0e2f

Added by Andreas Müller about 11 years ago

merging trunk to pesiimport3

View differences:

cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/markup/MarkupKeyImport.java
128 128
			if (isMyEndingElement(next, parentEvent)) {
129 129
				completeCouplet(state, parentEvent, parentNode, num, childList);
130 130
				return;
131
			} else if (next.isCharacters()){
132
				handleNotYetImplementedElement(next);
133
				String mainQuestion = next.asCharacters().getData();
134
				mainQuestion = mainQuestion.replaceAll("\\s+", " ").trim();
135
				KeyStatement question = KeyStatement.NewInstance(mainQuestion);
136
				if (parentNode != null){ parentNode.setStatement(question);}  //work in progress
131 137
			} else if (isStartingElement(next, QUESTION)) {
132 138
				handleQuestion(state, reader, next, childList);
133 139
			} else if (isStartingElement(next, KEYNOTES)) {
......
256 262
		}
257 263
		return;
258 264
	}
259
	
260
	
261
	/**
265

  
266
		/**
262 267
	 * Returns the taxon text of the toTaxon element and handles all annotations as ';'-concatenated modifying text.
263 268
	 * Footnote refs are not yet handled.
264 269
	 * @param state

Also available in: Unified diff