mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-628: Doctrine 2: precission and scale not allowed by XML schema #776
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Jun 9, 2010).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user frantisek.troster:
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:
http://www.doctrine-project.org/projects/orm/2.0/docs/reference/annotations-reference/en#reference:@column
Is scale and precision allowed in Doctrine 2? Thank you
@doctrinebot commented on GitHub (Jun 13, 2010):
Comment created by @beberlei:
Fixed
@doctrinebot commented on GitHub (Jun 13, 2010):
Issue was closed with resolution "Fixed"