M4 versus M6 problem

Can anyone tell me why the code below works in M4 but throws this
error in M6 - Element DSN is undefined in INSTANCE

<cfcomponent name="BaseGateway" output="false" autowire="true"
cache="true">

  <cfproperty name="dsn" type="coldbox:datasource:dsn"
scope="instance">

  <cffunction name="init" access="public" returntype="any"
output="false">

    <cfreturn this>
  </cffunction>

  <cffunction name="getDsn" access="public" returntype="any"
output="false">

    <cfreturn instance.dsn>
  </cffunction>

</cfcomponent>

the type attribute has been deprecated in favour of inject for property injection.

http://wiki.coldbox.org/wiki/WhatsNew:3.0.0.cfm#Dependency_DSL_Metadata