Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-BETA1
-
Fix Version/s: 2.0-BETA2
-
Component/s: Mapping Drivers, ORM
-
Security Level: All
-
Labels:None
Description
Hi,
I've found the scale and precision column/field attributes are not allowed by XML schema at http://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd:
<xs:complexType name="field">
<xs:attribute name="name" type="xs:NMTOKEN" use="required" />
<xs:attribute name="type" type="xs:NMTOKEN" default="string" />
<xs:attribute name="column" type="xs:NMTOKEN" />
<xs:attribute name="length" type="xs:NMTOKEN" />
<xs:attribute name="unique" type="xs:boolean" default="false" />
<xs:attribute name="nullable" type="xs:boolean" default="false" />
<xs:attribute name="version" type="xs:boolean" />
<xs:attribute name="column-definition" type="xs:string" />
</xs:complexType>
but these attributes are referred in the documentation:
Is scale and precision allowed in Doctrine 2? Thank you
Fixed