Deploying process as InputStream doesnt deploy correctly as bpmn resource file

think i spotted it eventually, though i saw no errors it wasnt correctly naming the namespace refs - so looked at manual file off web, and my generated file and i hadnt quite typed the names correct for default namepsave and the DI didnt resolve, after some digging i corrected and i now generate this - which appears to parse and reslove names. now when i send the inputStream to the method and a name string the artifacts appear to deploy.

so i think i have the boilerplating right - now go finish rounding out the groovy builder

<?xml version="1.0" encoding="UTF-8"?> 
<definitions name="myProcessDefinition" id="def_1" 
	targetNamespace="com.softwood"
	xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
	xmlns:flowable="http://flowable.org/bpmn"
	xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
	xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
	xmlns:di="http://www.omg.org/spec/BPMN/20100524/DI"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	typeLanguage="http://www.w3.org/2001/XMLSchema">

	
	<!-- process definition -->
	<process id="27" name="myProcess">
		<startEvent id="1" name="start" >
			<extensionElements>
				<flowable:formProperty id="frm1" name="propName" type="string" />
			</extensionElements>
		</startEvent>
		<sequenceFlow id="10" name="fistStep" sourceRef="1" targetRef="scr1" />
		<scriptTask id="scr1" name="doScript" scriptType="text/x-groovy">
			<script>
		out:println 'hello'
		</script>
		</scriptTask>
		<userTask id="ut1" name="openDoor" >
			<documentation>
		some notes
		</documentation>
			<potentialOwner>
				<resourceAssignmentExpression>
					<formalExpression>will</formalExpression>
				</resourceAssignmentExpression>
			</potentialOwner
		</userTask>
		<sequenceFlow id="f_2" name="fistStep" sourceRef="scr1" targetRef="100" />
		<endEvent id="100" name="terminate" />
	</process>
</definitions>