String baseUrl = buildSchemaURL(req.getBaseUrl(), "wfs/1.0.0/WFS-transaction.xsd");
writer.write(baseUrl);
writer.write("\">");
InsertResultsType insertResults = response.getInsertResults();
//JD: make sure we group insert results by handle, this is wfs 1.0 cite
// thing that conflicts with wfs 1.1 cite, i am pretty sure its just a
// problem with the 1.0 tests
String lastHandle = null;
boolean first = true;
if (insertResults != null) {
for (Iterator i = insertResults.getFeature().iterator(); i.hasNext();) {
InsertedFeatureType insertedFeature = (InsertedFeatureType) i.next();
String handle = insertedFeature.getHandle();
if (first || ((lastHandle == null) && (handle != null))
|| ((lastHandle != null) && (handle != null) && handle.equals(lastHandle))) {