In document view import (unlike system view import) property type information is not explicitly recorded. As a result, the implementation must determine a suitable property type for each incoming property. The determination of the property type for a particular incoming property must be done according to the following principles:
If the property type is determinable from the node type assigned to its node (regardless of how this node type is itself determined; see 7.3.4 Determining Node Types) then that property type is used.
If the property type is not determinable from the node type assigned to its node then the determination of the property is left up to the implementation. The most common possibility is to default to the type STRING, though this is not required. Some implementations may choose, for example, to attempt “guess” the type according to an analysis of the content. This specification does not attempt to define or restrict how an implementation handles this case.